iinline-1.C: Use dg-add-options bind_pic_locally.
* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally. * g++.dg/other/first-global.C: Likewise. * g++.dg/parse/attr-externally-visible-1.C: Likewise. * g++.dg/torture/pr40323.C: Likewise. * g++.dg/tree-ssa/nothrow-1.C: Likewise. * gcc.dg/inline-33.c: Likewise. * gcc.dg/ipa/ipa-1.c: Likewise. * gcc.dg/ipa/ipa-2.c: Likewise. * gcc.dg/ipa/ipa-3.c: Likewise. * gcc.dg/ipa/ipa-4.c: Likewise. * gcc.dg/ipa/ipa-5.c: Likewise. * gcc.dg/ipa/ipa-7.c: Likewise. * gcc.dg/ipa/ipacost-2.c: Likewise. * gcc.dg/tree-ssa/inline-3.c: Likewise. * gcc.dg/tree-ssa/local-pure-const.c: Likewise. * gfortran.dg/whole_file_5.f90: Likewise. * gfortran.dg/whole_file_6.f90: Likewise. From-SVN: r152911
This commit is contained in:
parent
076ba15715
commit
2f5ac7f210
@ -1,3 +1,23 @@
|
||||
2009-10-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
|
||||
* g++.dg/other/first-global.C: Likewise.
|
||||
* g++.dg/parse/attr-externally-visible-1.C: Likewise.
|
||||
* g++.dg/torture/pr40323.C: Likewise.
|
||||
* g++.dg/tree-ssa/nothrow-1.C: Likewise.
|
||||
* gcc.dg/inline-33.c: Likewise.
|
||||
* gcc.dg/ipa/ipa-1.c: Likewise.
|
||||
* gcc.dg/ipa/ipa-2.c: Likewise.
|
||||
* gcc.dg/ipa/ipa-3.c: Likewise.
|
||||
* gcc.dg/ipa/ipa-4.c: Likewise.
|
||||
* gcc.dg/ipa/ipa-5.c: Likewise.
|
||||
* gcc.dg/ipa/ipa-7.c: Likewise.
|
||||
* gcc.dg/ipa/ipacost-2.c: Likewise.
|
||||
* gcc.dg/tree-ssa/inline-3.c: Likewise.
|
||||
* gcc.dg/tree-ssa/local-pure-const.c: Likewise.
|
||||
* gfortran.dg/whole_file_5.f90: Likewise.
|
||||
* gfortran.dg/whole_file_6.f90: Likewise.
|
||||
|
||||
2009-10-16 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/41728
|
||||
|
@ -2,7 +2,7 @@
|
||||
inlining.. */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining" } */
|
||||
/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining -fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
extern void non_existent (const char *, int);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
/* { dg-final { scan-assembler "_GLOBAL__I(_|_65535_0_)foobar" } } */
|
||||
|
||||
struct foo { foo (); };
|
||||
|
@ -1,6 +1,6 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-O3 -fwhole-program" }
|
||||
// { dg-options "-O3 -fwhole-program -fpie" { target { ! nonpic } } }
|
||||
// { dg-add-options bind_pic_locally }
|
||||
// { dg-final { scan-assembler "foo1" } }
|
||||
// { dg-final { scan-assembler "foo2" } }
|
||||
// { dg-final { scan-assembler "foo3" } }
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* Testcase for PR 40323. */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-fno-early-inlining" } */
|
||||
/* { dg-options "-fno-early-inlining -fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
extern void do_something (const char *, int);
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O1 -fdump-tree-cfg" } */
|
||||
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
double a;
|
||||
void t()
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fdump-tree-optimized" } */
|
||||
/* { dg-options "-O3 -fdump-tree-optimized -fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
int i;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
|
||||
/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
#include <stdio.h>
|
||||
int g (int b, int c)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
|
||||
/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
#include <stdio.h>
|
||||
int g (int b, int c)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
|
||||
/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
|
||||
/* Double constants. */
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
|
||||
/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
#include <stdio.h>
|
||||
int g (int b, int c)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
|
||||
/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
/* Float & short constants. */
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
|
||||
/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
#include <stdio.h>
|
||||
void send_addr (int *);
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized" } */
|
||||
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining -fdump-tree-optimized -fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
int array[100];
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-einline2" } */
|
||||
/* { dg-options "-O2 -fdump-tree-einline2 -fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
extern void inlined ();
|
||||
void inline_me_too (void);
|
||||
void inline_through_me (void (*ptr)(void));
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O1 -fdump-tree-local-pure-const1" } */
|
||||
/* { dg-options "-O1 -fdump-tree-local-pure-const1 -fpie" { target { ! nonpic } } } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
t(int a, int b, int c)
|
||||
{
|
||||
int *p;
|
||||
|
@ -1,6 +1,6 @@
|
||||
! { dg-do "compile" }
|
||||
! { dg-options "-O3 -fwhole-file -fdump-tree-optimized" }
|
||||
! { dg-options "-O3 -fwhole-file -fdump-tree-optimized -fpie" { target { ! nonpic } } }
|
||||
! { dg-add-options bind_pic_locally }
|
||||
!
|
||||
! Check that inlining of functions declared BEFORE usage works.
|
||||
! If yes, then the dump does not contain a call to F().
|
||||
|
@ -1,6 +1,6 @@
|
||||
! { dg-do "compile" }
|
||||
! { dg-options "-O3 -fwhole-file -fdump-tree-optimized" }
|
||||
! { dg-options "-O3 -fwhole-file -fdump-tree-optimized -fpie" { target { ! nonpic } } }
|
||||
! { dg-add-options bind_pic_locally }
|
||||
!
|
||||
! Check that inlining of functions declared AFTER usage works.
|
||||
! If yes, then the dump does not contain a call to F().
|
||||
|
Loading…
Reference in New Issue
Block a user