diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 13:16:55 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 13:16:55 +0000 |
commit | 1852c1a4d9758d3dc7e90e692c891ee62013a47a (patch) | |
tree | 11a5be817c6fe01676442d5c61b6b0e65deb627f /gcc/profile.c | |
parent | 554660f9394aeb787c52966e0c33dea966999783 (diff) | |
download | gcc-1852c1a4d9758d3dc7e90e692c891ee62013a47a.tar.gz |
2010-11-29 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167237
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index ffcd802375f..b8a43de3463 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -940,7 +940,8 @@ branch_prob (void) for (gsi = gsi_last_bb (bb); !gsi_end_p (gsi); gsi_prev (&gsi)) { last = gsi_stmt (gsi); - if (gimple_has_location (last)) + if (!is_gimple_debug (last) + && gimple_has_location (last)) break; } |