This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] Add test case


This test case was randomly failing but I can't reproduce it anymore.
Adding to testsuite.


Diego.

 2008-09-12  Simon Baldwin  <simonb@google.com>

       * g++.dg/lto/20080912-1.C: New.


Index: testsuite/g++.dg/lto/20080912-1.C
===================================================================
--- testsuite/g++.dg/lto/20080912-1.C   (revision 0)
+++ testsuite/g++.dg/lto/20080912-1.C   (revision 0)
@@ -0,0 +1,3 @@
+// { dg-do assemble }
+struct Foo { double x[3]; };
+Foo func() { Foo f = { { 0, 0, 0 } }; return f; }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]