diff mbox

[RFA,PR,tree-optimization/59749] Fix recently introduced ree bug

Message ID 87fvoo5j3p.fsf@igel.home
State New
Headers show

Commit Message

Andreas Schwab Jan. 16, 2014, 10:14 a.m. UTC
* gcc.c-torture/execute/pr59747.c (fn1): Return a value.


Andreas.
diff mbox

Patch

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