[3.3/3.4 regression] ICE with certain expressions as 3rd clause of for loop
>Submitter-Id: net
>Originator: Matt Zimmerman <mdz@debian.org>
>Organization: The Debian Project
>Confidential: no
>Synopsis:
>Severity: serious
>Priority: medium
>Category: java
>Class: ice-on-legal-code
>Description:
[ Reported to the Debian BTS as report #189545.
Please CC 189545@bugs.debian.org on replies.
Log of report can be found at http://bugs.debian.org/189545 ]
Rechecked with 3.3 20030415 and 3.4 20030418
there:[/tmp] gcj-3.3 -C ICE.java
ICE.java:4: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1 gcj-3.3 -C ICE.java
-----------------------
public class ICE {
public void aMethod() {
for (; ;someclass.othermethod().someothermethod());
}
}
-----------------------
Matt adds:
I tried my tests on a woody system (gcj 3.0.4-5). It is able to compile the
original source file, and correctly throws an error on my contrived test
case, so this is a regression.
>How-To-Repeat:
>Fix:
Reply to: