Commit 7a8c906c by Sandra Loosemore Committed by Sandra Loosemore

pr87906_0.C: Add dg-require-effective-target fpic.

2019-01-22  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/testsuite/
	* g++.dg/lto/pr87906_0.C: Add dg-require-effective-target fpic.
	* g++.dg/vec-init-1.C: Likewise.
	* gcc.dg/pr87793.c: Likewise.

From-SVN: r268162
parent 7c426d1f
2019-01-22 Sandra Loosemore <sandra@codesourcery.com> 2019-01-22 Sandra Loosemore <sandra@codesourcery.com>
* g++.dg/lto/pr87906_0.C: Add dg-require-effective-target fpic.
* g++.dg/vec-init-1.C: Likewise.
* gcc.dg/pr87793.c: Likewise.
2019-01-22 Sandra Loosemore <sandra@codesourcery.com>
* g++.dg/cpp0x/pr86397-1.C: Add -fdelete-null-pointer-checks. * g++.dg/cpp0x/pr86397-1.C: Add -fdelete-null-pointer-checks.
* g++.dg/cpp0x/pr86397-2.C: Likewise. * g++.dg/cpp0x/pr86397-2.C: Likewise.
......
// { dg-lto-do link } // { dg-lto-do link }
// { dg-require-effective-target fpic }
// { dg-lto-options { { -O -fPIC -flto } } } // { dg-lto-options { { -O -fPIC -flto } } }
// { dg-extra-ld-options "-shared -nostdlib" } // { dg-extra-ld-options "-shared -nostdlib" }
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
parallel of two symbol_refs. */ parallel of two symbol_refs. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O3 -fPIC" } */ /* { dg-options "-O3 -fPIC" } */
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fpic -Os -g" } */ /* { dg-options "-fpic -Os -g" } */
/* { dg-require-effective-target fpic } */
struct fit_loadable_tbl { struct fit_loadable_tbl {
int type; int type;
......
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