aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2011-01-11 17:33:52 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2011-01-11 17:33:52 +0000
commit7bc62637562d77e9d57dbf9c9681411d62f708fe (patch)
tree60aac894f25ecedfc4ef80b5c9f5380ced0653ea
parent6e701822708dbcd9ec935a536830a522d24f8151 (diff)
downloadgcc-7bc62637562d77e9d57dbf9c9681411d62f708fe.zip
gcc-7bc62637562d77e9d57dbf9c9681411d62f708fe.tar.gz
gcc-7bc62637562d77e9d57dbf9c9681411d62f708fe.tar.bz2
Fix incorrectly applied patch.
From-SVN: r168667
-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 0af1620..8c5c052 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 63cbfef..05d854f 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;