Bug 17199 - [new-ra] GCC aborts at ra-build:1767 during compilation
Summary: [new-ra] GCC aborts at ra-build:1767 during compilation
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: new-ra
: P1 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
: 17198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-26 10:49 UTC by aanchal
Modified: 2005-01-17 15:23 UTC (History)
2 users (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2005-01-03 12:03:49


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aanchal 2004-08-26 10:49:16 UTC
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)
Comment 1 aanchal 2004-08-26 10:50:38 UTC
*** Bug 17198 has been marked as a duplicate of this bug. ***
Comment 2 Steven Bosscher 2005-01-03 12:03:49 UTC
Marking as new...
Comment 3 Steven Bosscher 2005-01-03 12:04:12 UTC
...so I can SUSPEND this new-ra bug.
Comment 4 Andrew Pinski 2005-01-17 15:23:36 UTC
Closing as wiill not fix as new-ra was removed from the mainline.