From: Jan Hubicka Date: Tue, 11 Jan 2011 17:33:52 +0000 (+0000) Subject: Fix incorrectly applied patch. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bc62637562d77e9d57dbf9c9681411d62f708fe;p=gcc.git Fix incorrectly applied patch. From-SVN: r168667 --- 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;