[Bug bootstrap/64256] [5.0 Regression] Pointer Bounds Checker builtins enum overflows stabstring length

zoltan at hidvegi dot com gcc-bugzilla@gcc.gnu.org
Sat Jan 31 18:59:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64256

Zoltan Hidvegi <zoltan at hidvegi dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zoltan at hidvegi dot com

--- Comment #5 from Zoltan Hidvegi <zoltan at hidvegi dot com> ---
I've also encountered this bug in a user source code, note on AIX for 32-bit
XCOFF32 objects, the stabstring length is limited to 64k, because length is
stored in a 2-byte field. Compiling with -maix64 works for these sources:
http://www-01.ibm.com/support/knowledgecenter/api/content/nl/en-us/ssw_aix_53/com.ibm.aix.files/doc/aixfiles/XCOFF.htm#x83wh24fshar



More information about the Gcc-bugs mailing list