public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19711] New: gcj segfaults instead of reporting the ambiguous expression
@ 2005-01-30 13:34 debian-gcc at lists dot debian dot org
  2005-01-30 14:25 ` [Bug java/19711] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-01-30 13:34 UTC (permalink / raw)
  To: java-prs

[forwarded from http://bugs.debian.org/286715]

seen with 3.3, 3,4, 4.0

import java.util.*;
public class Main {
    public static void main(String[] args) {
        boolean test = ((args == null) || (args.length == 0));
        System.out.println("There are " +
      test ? "not" : "some" +
      " arguments");
    }
}

$ gcj-3.4 -C Main.java 
Main.java: In class `Main':
Main.java: In method `Main.main(java.lang.String[])':
Main.java:7: 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

(javac is from Blackdown's 1.4.2 packages)

$ javac Main.java 
Main.java:6: incompatible types
found   : java.lang.String
required: boolean
        System.out.println("There are " +  
                                        ^
1 error

-- 
           Summary: gcj segfaults instead of reporting the ambiguous
                    expression
           Product: gcc
           Version: 3.3.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian 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=19711


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

* [Bug java/19711] gcj segfaults instead of reporting the ambiguous expression
  2005-01-30 13:34 [Bug java/19711] New: gcj segfaults instead of reporting the ambiguous expression debian-gcc at lists dot debian dot org
@ 2005-01-30 14:25 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-30 14:25 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-30 14:25 -------


*** This bug has been marked as a duplicate of 9157 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-01-30 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-30 13:34 [Bug java/19711] New: gcj segfaults instead of reporting the ambiguous expression debian-gcc at lists dot debian dot org
2005-01-30 14:25 ` [Bug java/19711] " pinskia 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).