[Bug java/13733] [tree-ssa] internal compiler error: in check_pointer_types_r, at gimplify.c:3460
jsturm at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 01:03:00 GMT 2004
------- Additional Comments From jsturm at gcc dot gnu dot org 2004-01-21 01:02 -------
Please disregard my last post. The gimplifier gets this right after all, and
the Java frontend is wrong, even on mainline.
This isn't really a tree-ssa bug, it's a latent gcj bug exposed by tree-ssa.
According to JLS 15.26, the result of an assignment operator is the LHS after
assignment, not the RHS.
The following class does not compile with javac or jikes, although it is
(incorrectly) compiled by all versions of gcj I tried:
class Bug2 {
String str;
Object obj;
void reveal(String arg) {
str = (obj = arg);
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13733
More information about the Gcc-bugs
mailing list