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

            Bug ID: 83388
           Summary: reference statement index not found error with
                    -fsanitize=null
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi-gcc at firstfloor dot org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42844
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42844&action=edit
test case

With the attached test case

gcc8  -m32 -O2 -flto -fsanitize=null -c core.i
gcc8 -r -nostdlib core.o

gives

In function 'i':
lto1: fatal error: Reference statement index not found
compilation terminated.

Happens with gcc 7 and trunk

Reply via email to