[Bug tree-optimization/17716] New: ICE in tree-ssa-dom
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 28 17:42:00 GMT 2004
/* { dg-do compile } */
/* { dg-options "-O2" } */
long x;
void
f3 (int i, ...)
{
__builtin_va_list aps[10];
__builtin_va_start(aps[4],i);
x = __builtin_va_arg(aps[4],long);
__builtin_va_end(aps[4]);
}
ICEs e.g. on powerpc (and on s390* I think as well, maybe others) in dom pass.
The problem seems that cprop propagates:
D.1144_7 = &aps[4];
...
addr.0_15 = D.1144_7->overflow_arg_area;
into:
addr.0_15 = (&aps[4])->overflow_arg_area;
(cprop_operand/propagate_value), but nothing verifies the result is really
gimple.
--
Summary: ICE in tree-ssa-dom
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
org
GCC target triplet: powerpc-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17716
More information about the Gcc-bugs
mailing list