]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Mon, 10 Jun 2002 22:12:08 +0000 (22:12 +0000)
committerNo Author <no-author@gcc.gnu.org>
Mon, 10 Jun 2002 22:12:08 +0000 (22:12 +0000)
'gcc-3_1-branch'.

From-SVN: r54470

gcc/testsuite/g++.dg/opt/cse1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/opt/cse1.C b/gcc/testsuite/g++.dg/opt/cse1.C
new file mode 100644 (file)
index 0000000..be1ad5a
--- /dev/null
@@ -0,0 +1,12 @@
+// PR optimization/6759
+// This testcase ICEd on SPARC because folded REG_EQUAL
+// note was note stored back and fold_rtx left invalid rtx
+// in it.
+// { dg-do compile }
+// { dg-options "-O2" }
+
+struct A
+{
+  long long a;
+  A (unsigned short d) : a (d) {}
+} x (65535);