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

            Bug ID: 64715
           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: sch...@linux-m68k.org

Created attachment 34519
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34519&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

Reply via email to