]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/localalias.c: Fix broken commit.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Jun 2014 23:01:41 +0000 (23:01 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Jun 2014 23:01:41 +0000 (23:01 +0000)
* gcc.dg/globalalias.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211869 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/globalalias.c
gcc/testsuite/gcc.dg/localalias.c

index d1a798a231091d87b45529403b887ff5eaabc626..0b45987797c6219034776aa16e237f5c548d885e 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
+
+       * gcc.dg/localalias.c: Fix broken commit.
+       * gcc.dg/globalalias.c: Likewise.
+
 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
 
        * gcc.dg/localalias.c: New testcase.
index eaca71311ab9283fcd80f7d9c7ac995dbdcbde97..0a7cf7a08b4ccef6b7c72acc4ac062ae2558a2f3 100644 (file)
@@ -22,7 +22,7 @@ __attribute__ ((weak,noinline))
 __attribute ((alias("test")))
 void test2(void);
 
-void main()
+int main()
 {
   test();
   /* This call must bind locally.  */
index 3391c3ac5640eb9699838d902b8a52bc45fee711..48752837f2f0f0571b5d1d012b31c10322efbbba 100644 (file)
@@ -22,7 +22,7 @@ void test(void)
 __attribute ((alias("test")))
 static void test2(void);
 
-void main()
+int main()
 {
   test2();
   /* This call must bind locally.  */
@@ -38,5 +38,5 @@ void main()
   if ((testcount != 1 || test2count != 3)
       && (testcount != 3 || test2count != 1))
     abort ();
-  reutrn 0;
+  return 0;
 }