* gcc.dg/pr45259.c: Only -fpic depends on fpic support.
From-SVN: r189899
This commit is contained in:
parent
e45abe1f20
commit
3984ea61cb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-07-26 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
* gcc.dg/pr45259.c: Only -fpic depends on fpic support.
|
||||
|
||||
2012-07-26 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* gcc.dg/attr-hotcold-1.c: New.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* PR debug/45259 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-g -O2 -fpic -w" { target fpic } } */
|
||||
/* { dg-options "-g -O2 -w -fpic" { target fpic } } */
|
||||
/* { dg-options "-g -O2 -w" { target { ! fpic } } } */
|
||||
|
||||
struct S { void (*bar) (long); };
|
||||
struct T { struct S *t; };
|
||||
|
|
Loading…
Add table
Reference in a new issue