[Bug target/46655] invalid '.line 0' directive emitted with -g
michael.haubenwallner at salomon dot at
gcc-bugzilla@gcc.gnu.org
Mon Dec 13 12:46:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46655
--- Comment #14 from Michael Haubenwallner <michael.haubenwallner at salomon dot at> 2010-12-13 12:46:25 UTC ---
(In reply to comment #9)
> Is the 64K limit really new? Is this really a change in AIX as or did
> something else change and start generating files referencing line numbers
> larger than 64K?
>
> I believe the line number field in XCOFF is defined in /usr/include/linenum.h.
> According to that file, in 32 bit mode, line numbers are represented by an
> unsigned short, whose maximum value is 65535. In 64 bit mode, line numbers are
> represented by unsigned int.
>
> I have not seen this error while bootstrapping GCC on AIX. The error looks
> correct. What else changed?
Update from IBM customer support:
Pseudo operation '.line' "works as designed".
However, the bounds checking was introduced in "AIX 6.1 TL04 SP07" and similar
SP's for other TL's.
More information about the Gcc-bugs
mailing list