This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/3611: gcc version 3.1 20010707 (experimental): ICE in genrtl_compound_stmt
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3611: gcc version 3.1 20010707 (experimental): ICE in genrtl_compound_stmt
- From: harinath at cs dot umn dot edu
- Date: 9 Jul 2001 00:27:31 -0000
- Reply-To: harinath at cs dot umn dot edu
>Number: 3611
>Category: c++
>Synopsis: gcc version 3.1 20010707 (experimental): ICE in genrtl_compound_stmt
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sun Jul 08 17:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: harinath@cs.umn.edu
>Release: gcc version 3.1 20010707 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
Compiling the attached program fails with an ICE.
$ c++ -c -O2 test.cc
test.cc: In function `void f()':
test.cc:16: Internal compiler error in genrtl_compound_stmt, at c-semantics.c: 686
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
---------------------------------------------------
$ c++ -v
Reading specs from /home/grad04/harinath/linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../../configure --prefix=/home/grad04/harinath --exec-prefix=/home/grad04/harinath/linux --enable-threads=posix --enable-shared --enable-languages=c,c++,f77,objc --enable-java-awt=xlib
Thread model: posix
gcc version 3.1 20010707 (experimental)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cc"
Ly8gQnVpbGQgZG9uJ3QgbGluazoKCnRlbXBsYXRlPGNsYXNzIFQ+IApzdHJ1Y3QgQSB7CiAgfkEo
KTsKfTsKCnZvaWQgZigpCnsKICBBPHZvaWQ+IGExOwogIGZvciAoOzspIHsKICAgIHN3aXRjaCAo
MCkgewogICAgZGVmYXVsdDoKICAgICAgYnJlYWs7CiAgICB9CiAgICBBPHZvaWQ+IGEyOwogIH0K
fQoK