diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-29 06:42:31 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-29 06:42:31 +0000 |
commit | eeb1250755631311fde1c9c77a14c23e2b8dbc73 (patch) | |
tree | 96fb74aaefca16431f1fb6ad3c3ffb97ed225148 /gcc/profile.c | |
parent | f2fffff3b77359770f197d29ccbeb5bce04e1cb2 (diff) | |
download | gcc-eeb1250755631311fde1c9c77a14c23e2b8dbc73.tar.gz |
* profile.c (brnahc_prob): Pass correct value to output_location,
even when USE_MAPPED_LOCATION. Fixes bug from 09-11.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 2bad285e1d9..ff85544e595 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -1004,7 +1004,7 @@ branch_prob (void) { expanded_location s; NOTE_EXPANDED_LOCATION (s, insn); - output_location (s.file, NOTE_LINE_NUMBER (insn), &offset, bb); + output_location (s.file, s.line, &offset, bb); } } insn = NEXT_INSN (insn); |