https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99877
Bug ID: 99877
Summary: Crash in GIMPLE pass:sanopt in huge function using
OpenMP
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: carl.nettelblad at it dot uu.se
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at
gcc dot gnu.org
Target Milestone: ---
Created attachment 50499
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50499&action=edit
Command line and output
This code has worked (seemingly) just fine until the new function
computecandcliques was added, with a heap corruption bug (in my own code).
When trying to track this bug down, I tried to compile the thing with address
sanitizer, but I kept getting crashes even when successively reducing
optimization settings and trying a few other things. I know this is certainly
not a minimal test case, but I hope it is reproducible for you with these
files. I did confirm crashes with very similar error output on optimization
levels 3 to 1 and on various versions of GCC 9.x and 10.x. I don't have ready
access to 10.2.1, though.