public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20418] New: ICE if variable name is ommitted in an initialiser and a qualified type for the variable is used
@ 2005-03-14 16:56 rmathew at gcc dot gnu dot org
  2005-03-15 16:18 ` [Bug java/20418] " rmathew at gcc dot gnu dot org
  0 siblings, 1 reply; 3+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2005-03-14 16:56 UTC (permalink / raw)
  To: java-prs

This very simple testcase fails with an ICE on mainline:
---------------------------------- 8< ----------------------------------
~/src/tmp > $MYGCJ --version
gcj (GCC) 4.1.0 20050311 (experimental)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~/src/tmp > cat Snafu.java
public class Snafu
{
  public static void main( String[] args)
  {
    java.io.File = new java.io.File( "junk");
  }
}

~/src/tmp > $MYGCJ --syntax-only Snafu.java
Snafu.java: In class 'Snafu':
Snafu.java: In method 'Snafu.main(java.lang.String[])':
Snafu.java:5: internal compiler error: internal error in check-init: tree code n
ot implemented: type_decl
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
---------------------------------- 8< ----------------------------------

-- 
           Summary: ICE if variable name is ommitted in an initialiser and a
                    qualified type for the variable is used
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmathew at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug java/20418] ICE if variable name is ommitted in an initialiser and a qualified type for the variable is used
  2005-03-14 16:56 [Bug java/20418] New: ICE if variable name is ommitted in an initialiser and a qualified type for the variable is used rmathew at gcc dot gnu dot org
@ 2005-03-15 16:18 ` rmathew at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2005-03-15 16:18 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From rmathew at gcc dot gnu dot org  2005-03-11 09:16 -------
Of course it's true - you think I'd lie? ;-)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-11 09:16:36
               date|                            |


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug java/20418] ICE if variable name is ommitted in an initialiser and a qualified type for the variable is used
       [not found] <bug-20418-8271@http.gcc.gnu.org/bugzilla/>
@ 2006-05-11 17:54 ` daney at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: daney at gcc dot gnu dot org @ 2006-05-11 17:54 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from daney at gcc dot gnu dot org  2006-05-11 17:54 -------
Test case committed as:

        * testsuite/libjava.compile/PR20418.java: New.
        * testsuite/libjava.compile/PR20418.xfail: New.


-- 


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-11 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-14 16:56 [Bug java/20418] New: ICE if variable name is ommitted in an initialiser and a qualified type for the variable is used rmathew at gcc dot gnu dot org
2005-03-15 16:18 ` [Bug java/20418] " rmathew at gcc dot gnu dot org
     [not found] <bug-20418-8271@http.gcc.gnu.org/bugzilla/>
2006-05-11 17:54 ` daney at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).