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

            Bug ID: 83508
           Summary: [8 regression][arm] c-c++-common/Wrestrict.c fails
                    since r255836
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Hi,
I've noticed that c-c++-common/Wrestrict.c fails on arm targets. This appeared
between r255831 and r255842, and I suspect it's beacuse of r255836.

I noticed that when forcing "old" cpus to be targetted, for instance by putting
-march=armv5t in RUNTESTFLAGS.
Another possibility is to keep gcc's default --with-cpu configure option.

My gcc.log has:
Excess errors:
/gcc/testsuite/c-c++-common/Wrestrict.c:761:3: warning: '__builtin_memcpy'
writing 4 bytes into a region of size 0 overflows the destination
[-Wstringop-overflow=]

A clearer overview:
http://people.linaro.org/~christophe.lyon/cross-validation/gcc/trunk/255842/report-build-info.html

Reply via email to