------- Comment #3 from zsojka at seznam dot cz 2010-09-20 18:00 ------- Created an attachment (id=21849) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21849&action=view) another testcase that doesn't need many flags to reproduce
$ gcc -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops -march=amdfam10 -O3 pr45352-5.c pr45352-5.c: In function 'foo': pr45352-5.c:22:1: internal compiler error: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7077 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. The failing assert is: gcc_assert (cost < 0); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45352