https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85526
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Known to work| |6.4.0, 7.3.0 Keywords| |ice-on-valid-code Last reconfirmed| |2018-04-25 Ever confirmed|0 |1 Summary|[6.4 regression] calling a |[6/7/8/9 regression] ICE |(pure) function from inside |when calling a (pure) |another pure function may |function from inside |cause segmentation fault |another pure function |during compilation | Known to fail| |6.4.1, 7.3.1, 8.0.1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The code compiles with 6.4.0 and 7.3.0, but not with 6.4.1, 7.3.1, 8.0.1 and trunk (9.0). This is likely r258347 for gcc8, r258367 for gcc7, and r258368 for gcc6.