This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17199] New: GCC aborts at ra-build:1767 during compilation
- From: "aanchalk at noida dot hcltech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2004 10:49:31 -0000
- Subject: [Bug c/17199] New: GCC aborts at ra-build:1767 during compilation
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC aborts when the given testcase is compiled with -O2 -fnew-ra option. The
description is given below:
Testcase that fails:
void fails()
{
long * a ;
long b, ab;
ab= *a+ab;
b = *a / ab ;
if (b)
abc(b);
*a = b / ab ;
}
int main()
{
fails();
return 0;
}
aanchalk@oasis:~> ~/build-new-ra/install/bin/x86_64-unknown-linux-gnu-gcc -fnew-
ra -O2 -c fail.i
fail.i: In function `fails':
fail.i:10: internal compiler error: in compare_and_free_webs, at ra-build.c:1767
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
GCC is configured as
/home/aanchalk/build-new-ra/install/bin/../lib/gcc/x86_64-unknown-linux-
gnu/3.4/specs
Configured with: /home/aanchalk/srcs-new-ra/configure --
prefix=/home/aanchalk/build-new-ra/install/ --enable-languages=c
Thread model: posix
gcc version 3.4 20031009 (experimental) (new RA)
--
Summary: GCC aborts at ra-build:1767 during compilation
Product: gcc
Version: new-ra
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aanchalk at noida dot hcltech dot com
CC: gcc-bugs at gcc dot gnu dot org,naveens at noida dot
hcltech dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17199