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/17380] New: Regression ICE on valid code...


]$ gcj -g -Wall  -O3 -I/home/test35/bin/../include -Wno-redundant-modifiers
--encoding=ISO-8859-1 --classpath src  -c src/c/ProblemIsHere.java
src/c/ProblemIsHere.java: In class `c.ProblemIsHere$IA':
src/c/ProblemIsHere.java: In method `c.ProblemIsHere$IA.render(f.AW)':
src/c/ProblemIsHere.java:106: error: Can't access protected method
`g.BP.isSelected' from `c.ProblemIsHere$IA'.
               if(m_p.isSelected(this)) {
                     ^
src/c/ProblemIsHere.java: In class `c.ProblemIsHere':
src/c/ProblemIsHere.java: In method `<clinit>()':
src/c/ProblemIsHere.java:15: error: final field `hourName' may not have been
initialized
src/c/ProblemIsHere.java:178: error: final field `labelWidth' may not have been
initialized
src/c/ProblemIsHere.java:1: 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.


The first error is bogus as Sun's javac, eclipse 3.0 and GCJ 3.3.1 all compile
it with no complaints.

This works with GCJ-3.3.1

Testcase to follow.

-- 
           Summary: Regression ICE on valid code...
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, diagnostic
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17380


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