From: Andrew Haley Date: Fri, 24 Sep 2004 13:55:42 +0000 (+0000) Subject: re PR java/16927 (assert statement fails at -O1 and above) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a41faf0222be325c15f502431641ebf435bbb2a;p=gcc.git re PR java/16927 (assert statement fails at -O1 and above) 2004-09-24 Andrew Haley PR java/16927 * testsuite/libjava.compile/AssertBug.java: New file. From-SVN: r88035 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 8580a9f5b10..db9463e609a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-09-24 Andrew Haley + + PR java/16927 + * testsuite/libjava.compile/AssertBug.java: New file. + 2004-09-24 Casey Marshall * java/util/PropertyPermissionCollection.java diff --git a/libjava/testsuite/libjava.compile/AssertBug.java b/libjava/testsuite/libjava.compile/AssertBug.java new file mode 100644 index 00000000000..3938b11da28 --- /dev/null +++ b/libjava/testsuite/libjava.compile/AssertBug.java @@ -0,0 +1,7 @@ +// PR java/16927 +public class AssertBug { + public void bug(Integer i) { + assert(false): + i.toString() + "!"; + } +}