[Bug c/64714] New: [5.0 regression] __builtin_object_size (..., 1) fails to locate subobject
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 16:52:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64714
Bug ID: 64714
Summary: [5.0 regression] __builtin_object_size (..., 1) fails
to locate subobject
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: schwab@linux-m68k.org
Created attachment 34520
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34520&action=edit
Testcase
>From the glibc testsuite.
$ gcc-4.9 -O2 fortify.i && ./a.out && echo $?
*** buffer overflow detected ***: ./a.out terminated
[...]
$ gcc-5 -O2 fortify.i && ./a.out && echo $?
0
More information about the Gcc-bugs
mailing list