* gcc.dg/tree-ssa/attr-alias.c: Remove duplicated contents.
authorAndreas Schwab <schwab@suse.de>
Wed, 5 Jun 2013 08:15:49 +0000 (08:15 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Wed, 5 Jun 2013 08:15:49 +0000 (08:15 +0000)
From-SVN: r199682

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/attr-alias.c

index 399d85eb7ddac1a3c17da404328a32b551ee9eb9..eadee85666fab7fd1aba140c7a68151f4c9535c1 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-05  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.dg/tree-ssa/attr-alias.c: Remove duplicated contents.
+
 2013-06-04  Jan Hubicka  <jh@suse.cz>
 
        * gcc.dg/tree-ssa/attr-alias.c: New testcase.
index a9b1d073d05b48e36295a83b3692284c79ef61b4..b2001821afd04648f7c7d96ee3a7184ee525c5c5 100644 (file)
@@ -26,33 +26,3 @@ main()
 /* { dg-final { scan-tree-dump-not "test1 (" "optimized" } } */
 /* { dg-final { scan-tree-dump-not "test2 (" "optimized" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */
-
-/* { dg-do compile } */
-/* { dg-require-alias "" } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
-void abort (void);
-__attribute__ ((weak))
-int test() 
-{
-   return 0;
-}
-static int test2() __attribute__ ((alias("test")));
-static int test3() __attribute__ ((weakref)) __attribute__ ((alias("test2")));
-static int test4() __attribute__ ((weakref)) __attribute__ ((alias("test")));
-main()
-{
-  test();
-  test2();
-  test3();
-  test4();
-}
-
-/* calls to test1 and test2 can be inlined and optmized away. Calls
-   to test and test4 are overwritable.  */
-
-/* { dg-final { scan-tree-dump-times "test (" 2 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "test4 (" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-not "test1 (" "optimized" } } */
-/* { dg-final { scan-tree-dump-not "test2 (" "optimized" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */
-