Commit 9d60683a by Toma Tabacu Committed by Toma Tabacu

Skip gcc.dg/pic-2.c and gcc.dg/pie-2.c for MIPS.

gcc/testsuite/

	* gcc.dg/pic-2.c: Skip for MIPS.
	* gcc.dg/pie-2.c: Skip for MIPS.

From-SVN: r246311
parent d3e19c2c
2017-03-21 Toma Tabacu <toma.tabacu@imgtec.com>
* gcc.dg/pic-2.c: Skip for MIPS.
* gcc.dg/pie-2.c: Skip for MIPS.
2017-03-21 Paolo Carlini <paolo.carlini@oracle.com> 2017-03-21 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/77752 PR c++/77752
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target fpic } */ /* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */ /* { dg-options "-fPIC" } */
/* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */
#if __PIC__ != 2 #if __PIC__ != 2
# error __PIC__ is not 2! # error __PIC__ is not 2!
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fPIE" } */ /* { dg-options "-fPIE" } */
/* { dg-require-effective-target pie } */ /* { dg-require-effective-target pie } */
/* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */
#if __PIC__ != 2 #if __PIC__ != 2
# error __PIC__ is not 2! # error __PIC__ is not 2!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment