]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/execute/pr59747.c (fn1): Return a value.
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 16 Jan 2014 10:14:29 +0000 (10:14 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Thu, 16 Jan 2014 10:14:29 +0000 (10:14 +0000)
From-SVN: r206659

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr59747.c

index b16b4f842277ca602974feef200148509786b222..a533d4f8154a192e937119efa30027d4076237ed 100644 (file)
@@ -1,3 +1,7 @@
+2014-01-16  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * gcc.c-torture/execute/pr59747.c (fn1): Return a value.
+
 2014-01-15  Richard Henderson  <rth@redhat.com>
 
        PR debug/54694
index d45a9082b81adbaac406c586f97c511adaa31889..5578f79bc99fe294c5bec8db26e96feb76266fa5 100644 (file)
@@ -1,13 +1,13 @@
 extern void abort (void);
 extern void exit (int);
 
-int a[6], b, c = 1, d;
+int a[6], c = 1, d;
 short e;
 
 int __attribute__ ((noinline))
 fn1 (int p)
 {
-  b = a[p];
+  return a[p];
 }
 
 int