This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17529] New: [4.0 Regression] ICE in get_indirect_ref_operands
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2004 22:47:16 -0000
- Subject: [Bug tree-optimization/17529] New: [4.0 Regression] ICE in get_indirect_ref_operands
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ ./cc1 --version
GNU C version 4.0.0 20040916 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.0.0 20040916 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
$ cat t.c
static inline void
bar (const int * const x)
{
__asm__ __volatile__ ("paddd" " %0, %%" "mm0"::"m" (*x));
}
static const int y[];
void
foo (void)
{
bar (y);
}
$ ./cc1 -O2 -m32 t.c
bar
foo
Analyzing compilation unit
Performing intraprocedural optimizations
Assembling functions:
foo
t.c: In function 'foo':
t.c:11: internal compiler error: in get_indirect_ref_operands, at
tree-ssa-operands.c:1372
--
Summary: [4.0 Regression] ICE in get_indirect_ref_operands
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: amacleod at redhat dot com,gcc-bugs at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17529