Commit ee442e15 by Christophe Lyon Committed by Christophe Lyon

[ARM/FDPIC v6 16/24] [ARM][testsuite] FDPIC: Skip tests that don't work in PIC mode

Some tests fail on arm*-*-uclinuxfdpiceabi because it generates PIC
code and they don't support it: skip them. They also fail on
arm*-linux* when forcing -fPIC.

2019-09-10  Christophe Lyon  <christophe.lyon@st.com>

	gcc/testsuite/
	* gcc.target/arm/eliminate.c: Accept only nonpic targets.
	* g++.dg/other/anon5.C: Likewise.

From-SVN: r275578
parent 1976a0b2
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
* gcc.target/arm/eliminate.c: Accept only nonpic targets.
* g++.dg/other/anon5.C: Likewise.
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
Mickaël Guêné <mickael.guene@st.com>
* gcc.target/arm/interrupt-1.c: Add scan-assembler pattern for
......
// PR c++/34094
// { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } }
// { dg-require-effective-target nonpic }
// { dg-options "-gdwarf-2" }
// Ignore additional message on powerpc-ibm-aix
// { dg-prune-output "obtain more information" } */
......
/* { dg-do compile } */
/* { dg-do compile { target { nonpic } } } */
/* { dg-options "-O2" } */
struct X
......
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