Fix incorrectly applied patch.
authorJan Hubicka <hubicka@gcc.gnu.org>
Tue, 11 Jan 2011 17:33:52 +0000 (17:33 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 11 Jan 2011 17:33:52 +0000 (17:33 +0000)
From-SVN: r168667

gcc/testsuite/gcc.dg/lto/pr45721_0.c
gcc/testsuite/gcc.dg/lto/pr45721_1.c

index 0af1620e84976cc9c49c3cef05c033b1c96ef7c6..8c5c052049a6e84076a4cd7a4b7789dbfb6647a7 100644 (file)
@@ -2,7 +2,3 @@
 void baz(void) {}
 void *y = (void *)baz;
 int main () { return 0; }
-/* { dg-lto-do assemble }  */
-void baz(void) {}
-void *y = (void *)baz;
-int main () { return 0; }
index 63cbfeff9fc8b0e4b7ff2b9c0b2d5763adb38d20..05d854f9f26db816391e7ed6ed140153ee233fc5 100644 (file)
@@ -1,4 +1,2 @@
 static void bar(void) __attribute__ ((weakref("baz")));
 void *x = (void *)bar;
-static void bar(void) __attribute__ ((weakref("baz")));
-void *x = (void *)bar;