This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47427] New: ICE in process_constraint, at tree-ssa-structalias.c:2901
- From: "regehr at cs dot utah.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 04:10:59 +0000
- Subject: [Bug c/47427] New: ICE in process_constraint, at tree-ssa-structalias.c:2901
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47427
Summary: ICE in process_constraint, at
tree-ssa-structalias.c:2901
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: regehr@cs.utah.edu
CC: chenyang@cs.utah.edu
[regehr@gamow tmp443]$ current-gcc -c -O3 small.c
small.c: In function 'foo':
small.c:20:6: internal compiler error: in process_constraint, at
tree-ssa-structalias.c:2901
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[regehr@gamow tmp443]$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r169143-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r169143-install
--program-prefix=r169143- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20110123 (experimental) (GCC)
[regehr@gamow tmp443]$ cat small.c
long g_128;
int *g;
int func_73 (unsigned char p_74, const int p_75)
{
lbl_159:for (; g_128; g = (int *)g_128)
for (g = 0; g_128; g_128++)
{
int l_144 = 1;
if (g_128)
{
if (l_144)
goto lbl_159;
return p_75;
}
}
return p_74;
}
void foo (void)
{
if (func_73 (0, 1))
func_73 (1, 0);
}