summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-11 17:33:52 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-11 17:33:52 +0000
commit562c4977605909a56bf27528ce157697ba171c11 (patch)
tree60aac894f25ecedfc4ef80b5c9f5380ced0653ea
parent232c9ac708e2f44320f0dfe19235493c3d0de553 (diff)
downloadppe42-gcc-562c4977605909a56bf27528ce157697ba171c11.tar.gz
ppe42-gcc-562c4977605909a56bf27528ce157697ba171c11.zip
Fix incorrectly applied patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168667 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr45721_0.c4
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr45721_1.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/pr45721_0.c b/gcc/testsuite/gcc.dg/lto/pr45721_0.c
index 0af1620e849..8c5c052049a 100644
--- a/gcc/testsuite/gcc.dg/lto/pr45721_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr45721_0.c
@@ -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; }
diff --git a/gcc/testsuite/gcc.dg/lto/pr45721_1.c b/gcc/testsuite/gcc.dg/lto/pr45721_1.c
index 63cbfeff9fc..05d854f9f26 100644
--- a/gcc/testsuite/gcc.dg/lto/pr45721_1.c
+++ b/gcc/testsuite/gcc.dg/lto/pr45721_1.c
@@ -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;
OpenPOWER on IntegriCloud