[Bug c/82849] New: [8 Regression] ICE on valid code since r254379
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 5 17:31:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82849
Bug ID: 82849
Summary: [8 Regression] ICE on valid code since r254379
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: hubicka at gcc dot gnu.org
Target Milestone: ---
We divide by zero here:
1425 if (single_exit (loop)->count () > profile_count::zero ())
1426 trip_count = latch_edge->count ().to_gcov_type ()
1427 / single_exit (loop)->count ().to_gcov_type ();
$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/eoshift_5.f90 -O2
-fmodulo-sched
during RTL pass: sms
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/eoshift_5.f90:182:0:
end program main
internal compiler error: Floating point exception
0xc0fd1f crash_signal
../../gcc/toplev.c:324
0x143b536 sms_schedule
../../gcc/modulo-sched.c:1426
0x143cd6f execute
../../gcc/modulo-sched.c:3342
More information about the Gcc-bugs
mailing list