http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49135
Summary: ICE in gcc.c-torture/execute/920302-1.c on arm Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: ja...@gcc.gnu.org Test gcc.c-torture/execute/920302-1.c gets an internal compiler error on arm-none-linux-gnueabi, which began with this patch: r172954 | rguenth | 2011-04-26 09:21:44 +0000 (Tue, 26 Apr 2011) | 12 lines 2011-04-26 Richard Guenther <rguent...@suse.de> PR middle-end/48694 * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. * gcc.dg/torture/pr48694-1.c: New testcase. * gcc.dg/torture/pr48694-2.c: Likewise Here's the compiler output: /scratch/janisjo/arm-linux-fsf/src/gcc-mainline/gcc/testsuite/gcc.c-torture/execute/920302-1.c: In function 'execute': /scratch/janisjo/arm-linux-fsf/src/gcc-mainline/gcc/testsuite/gcc.c-torture/execute/920302-1.c:27:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12107 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.