This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/13237] New: ICE on Math.sqrt(2.0)


$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]