This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/64714] New: [5.0 regression] __builtin_object_size (..., 1) fails to locate subobject
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jan 2015 16:51:37 +0000
- Subject: [Bug c/64714] New: [5.0 regression] __builtin_object_size (..., 1) fails to locate subobject
- Auto-submitted: auto-generated
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