[Bug debug/19192] [4.0 Regression] Current development gcc generates incorrect line info for example code
fnf at specifixinc dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 13 20:56:00 GMT 2005
------- Additional Comments From fnf at specifixinc dot com 2005-01-13 20:56 -------
Subject: Re: [4.0 Regression] Current development gcc generates incorrect line info for example code
On Wednesday 12 January 2005 11:46, amacleod at redhat dot com wrote:
> Give this a try.
Unfortunately, for my original example, this seems to have made things worse.
The differences are:
$ diff -w ../old/z.m ../new/z.m
6,8c6,7
< Special opcode 234: advance Address by 16 to 0x80483c1 and Line by 5 to 13
< Advance PC by constant 17 to 0x80483d2
< Special opcode 34: advance Address by 2 to 0x80483d4 and Line by 1 to 14
---
> Advance PC by 35 to 80483d4
> Special opcode 11: advance Address by 0 to 0x80483d4 and Line by 6 to 14
20,23c19,22
< 13 80483c1: c7 04 24 c8 84 04 08 movl $0x80484c8,(%esp)
< 13 80483c8: 83 c0 02 add $0x2,%eax
< 13 80483cb: 89 44 24 04 mov %eax,0x4(%esp)
< 13 80483cf: e8 dc fe ff ff call 80482b0 <printf@plt>
---
> 8 80483c1: c7 04 24 c8 84 04 08 movl $0x80484c8,(%esp)
> 8 80483c8: 83 c0 02 add $0x2,%eax
> 8 80483cb: 89 44 24 04 mov %eax,0x4(%esp)
> 8 80483cf: e8 dc fe ff ff call 80482b0 <printf@plt>
I.E. gcc now associates the code to print the results with line 8 instead
of line 13.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19192
More information about the Gcc-bugs
mailing list