* gcc.c-torture/execute/pr59747.c (fn1): Return a value.

Index: gcc.c-torture/execute/pr59747.c
===================================================================
--- gcc.c-torture/execute/pr59747.c     (revision 206658)
+++ gcc.c-torture/execute/pr59747.c     (working copy)
@@ -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

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to