From d6b0bb1c4e7c811893ef7d97b3c446bcced1d82c Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Mon, 18 Aug 2014 17:38:50 +0000 Subject: [PATCH] * guality/nrv-1.c: Add `used' attribute to a1. From-SVN: r214111 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/guality/nrv-1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 89d164c..2575710 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-08-18 Aldy Hernandez + + * guality/nrv-1.c: Add `used' attribute to a1. + 2014-08-18 Richard Biener PR tree-optimization/62090 diff --git a/gcc/testsuite/gcc.dg/guality/nrv-1.c b/gcc/testsuite/gcc.dg/guality/nrv-1.c index 6e70050..2f4e654 100644 --- a/gcc/testsuite/gcc.dg/guality/nrv-1.c +++ b/gcc/testsuite/gcc.dg/guality/nrv-1.c @@ -8,7 +8,7 @@ struct A int i[100]; }; -struct A a1, a3; +struct A a1 __attribute__((used)), a3; __attribute__((noinline)) struct A f () -- 2.7.4