https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83081
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-12-19 CC| |aldyh at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- I can't reproduce with a hacked up cross, so I may be missing something. Could the original reporter verify this is still an issue? For the record, this is how I am trying to reproduce: ~/src/gcc/configure --enable-languages=c,c++ --disable-bootstrap --disable-multilib --target=arm-none-linux-gnueabi "Preprocessed" source: tor:~/bld/t/gcc$ cat pr80218.c /* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */ /* { dg-require-effective-target c99_runtime } */ //#include <math.h> extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); void foo (float *); void f1 (float *x) { x[0] = sqrtf (x[0]); } void f2 (float *x) { sqrtf (x[0]); foo (x); } void f3 (float *x) { acosf (x[0]); foo (x); } /* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */ tor:~/bld/t/gcc$ ./cc1 pr80218.c -quiet -O2 -fdump-rtl-ira-details-blocks -I/tmp terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid during RTL pass: final pr80218.c: In function ‘f1’: pr80218.c:14:1: internal compiler error: Aborted I am ignoring the above ICE, as it's probably unrelated and happens past the IRA pass the test cares about: tor:~/bld/t/gcc$ grep Invalid.sum pr80218.c.275r.ira tor:~/bld/t/gcc$