This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49135] New: ICE in gcc.c-torture/execute/920302-1.c on arm
- From: "janis at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 May 2011 00:54:19 +0000
- Subject: [Bug tree-optimization/49135] New: ICE in gcc.c-torture/execute/920302-1.c on arm
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: janis@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 <rguenther@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.