This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
optimization/5184: ICE in redirect_edge_and_branch @ >= -O
- From: ritzert at t-online dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 24 Dec 2001 13:13:05 -0000
- Subject: optimization/5184: ICE in redirect_edge_and_branch @ >= -O
- Reply-to: ritzert at t-online dot de
>Number: 5184
>Category: optimization
>Synopsis: ICE in redirect_edge_and_branch @ >= -O
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Dec 24 05:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: ritzert@t-online.de
>Release: gcc version 3.1 20011224 (experimental)
>Organization:
>Environment:
Reading specs from /3/gcc/HEAD/install/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /3/gcc/HEAD/gcc/configure --enable-threads=posix --prefix=/3/gcc/HEAD/install
Thread model: posix
gcc version 3.1 20011224 (experimental)
>Description:
# c++ -c -O ICE.cpp
ICE.cpp: In function `void ICE()':
ICE.cpp:11: Internal compiler error in redirect_edge_and_branch, at cfgrtl.c:
867
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
compile the attached file with -O (only tested with i686)
>Fix:
do not use optimization to compile the file.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="ICE.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ICE.cpp"
ZXh0ZXJuIGludCBmb28oKTsKZXh0ZXJuIHZvaWQgYmFyKCk7Cgp2b2lkIElDRSgpCnsKICBpbnQg
aTsKCiAgZG8gewogICAgaWYgKCAxID09IChpPWZvbygpKSApIGJhcigpOwogIH0gd2hpbGUgKGkg
PT0gMSk7Cn0KCg==