public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug java/18682] New: gcj doesnt reject invalid code @ 2004-11-26 17:12 konqueror at gmx dot de 2004-11-26 17:13 ` [Bug java/18682] " konqueror at gmx dot de ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: konqueror at gmx dot de @ 2004-11-26 17:12 UTC (permalink / raw) To: gcc-bugs GCJ does not reject the following invalid code: public class NullTest { public static void main (String[] args) { int index = 1; if (index == null) index++; } } -- Summary: gcj doesnt reject invalid code Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: konqueror at gmx dot de 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=18682 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/18682] gcj doesnt reject invalid code 2004-11-26 17:12 [Bug java/18682] New: gcj doesnt reject invalid code konqueror at gmx dot de @ 2004-11-26 17:13 ` konqueror at gmx dot de 2004-11-26 17:46 ` pinskia at gcc dot gnu dot org 2005-02-02 13:08 ` rmathew at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: konqueror at gmx dot de @ 2004-11-26 17:13 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail| |3.3.4 3.4.2 4.0.0 Last reconfirmed|0000-00-00 00:00:00 |2004-11-26 17:13:31 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18682 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/18682] gcj doesnt reject invalid code 2004-11-26 17:12 [Bug java/18682] New: gcj doesnt reject invalid code konqueror at gmx dot de 2004-11-26 17:13 ` [Bug java/18682] " konqueror at gmx dot de @ 2004-11-26 17:46 ` pinskia at gcc dot gnu dot org 2005-02-02 13:08 ` rmathew at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-11-26 17:46 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-26 17:46 ------- Hmm interesting we even produce valid bytecode with the source, maybe we are converting into the correct type which is why this is accepted. -- What |Removed |Added ---------------------------------------------------------------------------- Known to fail|3.3.4 3.4.2 4.0.0 |3.3.4 3.4.2 4.0.0 3.0.4 | |3.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18682 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/18682] gcj doesnt reject invalid code 2004-11-26 17:12 [Bug java/18682] New: gcj doesnt reject invalid code konqueror at gmx dot de 2004-11-26 17:13 ` [Bug java/18682] " konqueror at gmx dot de 2004-11-26 17:46 ` pinskia at gcc dot gnu dot org @ 2005-02-02 13:08 ` rmathew at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: rmathew at gcc dot gnu dot org @ 2005-02-02 13:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From rmathew at gcc dot gnu dot org 2005-02-02 13:08 ------- Fixed by my patch for PR java/19070 -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18682 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-02 13:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-11-26 17:12 [Bug java/18682] New: gcj doesnt reject invalid code konqueror at gmx dot de 2004-11-26 17:13 ` [Bug java/18682] " konqueror at gmx dot de 2004-11-26 17:46 ` pinskia at gcc dot gnu dot org 2005-02-02 13:08 ` rmathew 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).