From: Mark Wielaard Date: Tue, 19 Aug 2014 11:56:44 +0000 (+0000) Subject: gcc.dg/guality/const-volatile.c: Add `used' attribute to pi. X-Git-Tag: upstream/12.2.0~61089 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d20770308827d407c4fc2b25413bbf5e716971f9;p=platform%2Fupstream%2Fgcc.git gcc.dg/guality/const-volatile.c: Add `used' attribute to pi. From-SVN: r214144 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7f15f53..5433c91 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-08-19 Mark Wielaard + + * gcc.dg/guality/const-volatile.c: Add `used' attribute to pi. + 2014-07-08 Mark Wielaard PR debug/59051 diff --git a/gcc/testsuite/gcc.dg/guality/const-volatile.c b/gcc/testsuite/gcc.dg/guality/const-volatile.c index 6c2b617..86460e4 100644 --- a/gcc/testsuite/gcc.dg/guality/const-volatile.c +++ b/gcc/testsuite/gcc.dg/guality/const-volatile.c @@ -7,7 +7,7 @@ const int ci; volatile int vi; const volatile int cvi; -int *pi; +int *pi __attribute__((used)); const int *pci; volatile int *pvi; const volatile int *pcvi;