diff options
author | Per Bothner <per@bothner.com> | 2004-09-28 23:42:31 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2004-09-28 23:42:31 -0700 |
commit | 50fd1c970f533732a7c4e948adbe901f93965ee3 (patch) | |
tree | 96fb74aaefca16431f1fb6ad3c3ffb97ed225148 /gcc/profile.c | |
parent | 550f100c572c857db7f7cae4339143b195de6b5a (diff) | |
download | gcc-50fd1c970f533732a7c4e948adbe901f93965ee3.zip gcc-50fd1c970f533732a7c4e948adbe901f93965ee3.tar.gz gcc-50fd1c970f533732a7c4e948adbe901f93965ee3.tar.bz2 |
profile.c (brnahc_prob): Pass correct value to output_location, even when USE_MAPPED_LOCATION.
* profile.c (brnahc_prob): Pass correct value to output_location,
even when USE_MAPPED_LOCATION. Fixes bug from 09-11.
From-SVN: r88271
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 2bad285..ff85544 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); |