This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/83388] New: reference statement index not found error with -fsanitize=null
- From: "andi-gcc at firstfloor dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Dec 2017 06:45:36 +0000
- Subject: [Bug lto/83388] New: reference statement index not found error with -fsanitize=null
- Auto-submitted: auto-generated
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