Make all gcc.dg/guality/const-volatile.c subtests PASS under LTO.
authorMark Wielaard <mjw@redhat.com>
Tue, 23 Sep 2014 11:07:08 +0000 (11:07 +0000)
committerMark Wielaard <mark@gcc.gnu.org>
Tue, 23 Sep 2014 11:07:08 +0000 (11:07 +0000)
commit84eca54267742a6978fe467c8e36a6eace7170c8
tree10107a40fb6baf9ac0eafee5dac528bc11ed8e08
parent0043a6c9b9b7ad956c5db232e46b2b760ada0cec
Make all gcc.dg/guality/const-volatile.c subtests PASS under LTO.

Some subtests were reported as UNSUPPORTED when running under LTO.
That was just because the relevant variables were optimized out.
Mark those variables as used. Now const-volatile reports 192 PASS.

gcc/testsuite/ChangeLog

* gcc.dg/guality/const-volatile.c (i): Mark as used.
(ci): Likewise.
(pci): Likewise.
(pvi): Likewise.
(pcvi): Likewise.
(cip): Likewise.
(foo): Likewise.
(cfoo): Likewise.

From-SVN: r215502
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/const-volatile.c