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

            Bug ID: 90132
           Summary: make bootstrap fails with -O3 (gcc9 snapshot 20190414)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jayrusman at hotmail dot com
  Target Milestone: ---

(I don't know what the correct 'component' is, please adjust as necessary.)

On x86_64 with gcc9 snapshot 20190414 while building c,c++ targets, I noticed
that -O2 works, but -O3 fails with:

checking for vsprintf... checking whether byte ordering is bigendian...
../../gcc-9-20190414/libdecnumber/decNumber.c: In function 'decNumberPower':
cc1: error: '__builtin_memcpy' reading 2 or more bytes from a region of size 0
[-Werror=stringop-overflow=]
yes

Reply via email to