Support PIE in gcc.dg/tree-ssa/ssa-store-ccp-3.c
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 13 Jan 2015 20:07:33 +0000 (20:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 13 Jan 2015 20:07:33 +0000 (12:07 -0800)
commitee57ebbf2b503f9bf1cdad544090402c269538f7
tree2d73a1e572d0e6a571392139fe45ecbf34519300
parented4f78fae8b9406f32cfe8cc47bd138aeb9d5540
Support PIE in gcc.dg/tree-ssa/ssa-store-ccp-3.c

target nonpic is always false for -fPIE since it defines both __PIC__
and __PIE__.  This patch changes gcc.dg/tree-ssa/ssa-store-ccp-3.c to
make it to pass with -fPIE by excluding PIE when nonpic is true.

* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Exclude pie when nonpic is
true.

From-SVN: r219554
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c