From 1a22d3cb982c29f0481169519c4edadf8c6ac694 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 16 Jan 2014 10:14:29 +0000 Subject: [PATCH] * gcc.c-torture/execute/pr59747.c (fn1): Return a value. From-SVN: r206659 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/execute/pr59747.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b16b4f84227..a533d4f8154 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-01-16 Andreas Schwab + + * gcc.c-torture/execute/pr59747.c (fn1): Return a value. + 2014-01-15 Richard Henderson PR debug/54694 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr59747.c b/gcc/testsuite/gcc.c-torture/execute/pr59747.c index d45a9082b81..5578f79bc99 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr59747.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr59747.c @@ -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 -- 2.11.4.GIT