This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/6683: Internal compiler error of GCC 3.1 with -O2
- From: olivier dot lauffenburger at wanadoo dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 16 May 2002 16:55:13 -0000
- Subject: c/6683: Internal compiler error of GCC 3.1 with -O2
- Reply-to: olivier dot lauffenburger at wanadoo dot fr
>Number: 6683
>Category: c
>Synopsis: Internal compiler error of GCC 3.1 with -O2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu May 16 09:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: olivier.lauffenburger@wanadoo.fr
>Release: 3.1 20020513 (prerelease)
>Organization:
>Environment:
Cygwin on Windows 2000 SP2, Pentium III
GCC configured with: ../gcc/configure --prefix=/usr/local/gcc-beta --bindir=/usr/bin
--program-suffix=-3.1 --enable-languages=ada,c,c++,f77 --disable-libgcj
Thread model: single
>Description:
When compiling the file test.c (from the GNU Scientific Library v1.1.1) with the optimization level 2 or 3, an internal compiler error occurs:
In file included from test.c:61:
test_complex_source.c: In function 'test_complex_float_trap':
test_complex_source.c:258: Internal compiler error in subst, at combine.c:3546
>How-To-Repeat:
The command line is:
gcc -DHAVE_CONFIG_H -I. -O2 -c test.c
>Fix:
With -O0 or -O1, the ICE does not occur.
>Release-Note:
>Audit-Trail:
>Unformatted: