This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188
- From: "anton at samba dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jun 2011 23:27:48 +0000
- Subject: [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49601
Summary: ICE at ipa-inline-analysis.c:1188
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: anton@samba.org
Target: powerpc64-linux-gnu-gnu
A recent powerpc64-linux build of gcc:
gcc version 4.7.0 20110630 (experimental) (GCC)
gets an ICE with the following testcase (originally from a kernel compile):
static inline __attribute__((always_inline)) void zot(unsigned a, unsigned b)
{
if (__builtin_constant_p(a > 4096 || b > 0))
asm volatile("":::"memory");
}
int foo(unsigned long a)
{
unsigned b = 4096 - a;
zot(a + b, 0);
return 1;
}
# gcc -O2 -c fs/buffer.i
fs/buffer.i:13:1: internal compiler error: tree check: expected ssa_name, have
integer_cst in set_cond_stmt_execution_predicate, at ipa-inline-analysis.c:1188
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.