This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13237] New: ICE on Math.sqrt(2.0)
- From: "jsturm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2003 22:40:26 -0000
- Subject: [Bug java/13237] New: ICE on Math.sqrt(2.0)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat Bug.java
class Bug {
double kappa = Math.sqrt(2.0);
}
$ ./jc1 -O Bug.java
class Bug class java.lang.Object [Bug. finit$()
] class java.lang.MathBug.java: In class `Bug':
Bug.java: In method `finit$()':
Bug.java:2: internal compiler error: tree check: expected class 'e', have 'c'
(real_cst) in java_complete_lhs, at java/parse.y:12067
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on Math.sqrt(2.0)
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsturm at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13237