http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46465
Summary: ICE: in calc_dfs_tree, at dominance.c:394 with -Os -fno-rerun-cse-after-loop -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 22384 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22384 reduced testcase (from gcc.c-torture/compile/20050510-1.c) This happens even after fixing PR46183. Compiler output: $ gcc -Os -fno-rerun-cse-after-loop -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce pr46465.c pr46465.c: In function 'foo': pr46465.c:7:1: internal compiler error: in calc_dfs_tree, at dominance.c:396 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r166703 - crash 4.5 r166509 - crash 4.4 r166509 - crash