This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][LTO] Fix g++.dg/20090107-1.C, g++.dg/20090121-1.C failing w/o LTO
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Diego Novillo <dnovillo at google dot com>
- Date: Tue, 29 Sep 2009 16:51:21 +0200 (CEST)
- Subject: [PATCH][LTO] Fix g++.dg/20090107-1.C, g++.dg/20090121-1.C failing w/o LTO
Committed.
Richard.
2009-09-29 Richard Guenther <rguenther@suse.de>
* g++.dg/20090107-1.C: Require LTO.
* g++.dg/20090121-1.C: Likewise.
Index: gcc/testsuite/g++.dg/20090107-1.C
===================================================================
*** gcc/testsuite/g++.dg/20090107-1.C (revision 152269)
--- gcc/testsuite/g++.dg/20090107-1.C (working copy)
***************
*** 1,4 ****
--- 1,5 ----
/* { dg-do compile } */
+ /* { dg-require-effective-target lto } */
/* { dg-options "-fwhopr -Wuninitialized -O1" } */
template <typename T> struct Q1 { typedef int x; };
Index: gcc/testsuite/g++.dg/20090121-1.C
===================================================================
*** gcc/testsuite/g++.dg/20090121-1.C (revision 152269)
--- gcc/testsuite/g++.dg/20090121-1.C (working copy)
***************
*** 1,4 ****
--- 1,5 ----
// { dg-do compile }
+ // { dg-require-effective-target lto }
// { dg-options "-fwhopr -Wuninitialized -O2" }
class A
{