This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] PATCH: Support PIE in gcc.dg/tree-ssa/ssa-store-ccp-3.c


On 01/11/15 17:25, H.J. Lu wrote:
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.  OK to for trunk?

Thanks.

H.J.
---
  gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Exclude pie when nonpic is
	true.
OK if/when prerequisites go in.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]