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]

[PATCH] Fixup testcase for PR47278


I forgot to check for visibility support.  I've also copied the
testcases to trunk.

Richard.

2011-03-11  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/47278
	* gcc.dg/torture/pr47278-1.c: Require visibility support.
	* gcc.dg/torture/pr47278-2.c: Likewise.

Index: gcc/testsuite/gcc.dg/torture/pr47278-1.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/pr47278-1.c	(revision 170867)
+++ gcc/testsuite/gcc.dg/torture/pr47278-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-visibility "" } */
 /* { dg-additional-sources "pr47278-2.c" } */
 
 int foo (void) { return 1; }
Index: gcc/testsuite/gcc.dg/torture/pr47278-2.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/pr47278-2.c	(revision 170867)
+++ gcc/testsuite/gcc.dg/torture/pr47278-2.c	(working copy)
@@ -1,3 +1,5 @@
+/* { dg-require-visibility "" } */
+
 extern void abort (void);
 
 int __attribute__((weak,visibility("hidden"))) foo (void)


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