[PATCH][LTO] Fix g++.dg/20090107-1.C, g++.dg/20090121-1.C failing w/o LTO

Richard Guenther rguenther@suse.de
Tue Sep 29 15:20:00 GMT 2009


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
  {



More information about the Gcc-patches mailing list