Commit 996943be by Uros Bizjak

devirt-c-7.C: Require nonpic effective target.

	* g++.dg/ipa/devirt-c-7.C: Require nonpic effective target.
	* gcc.c-torture/execute/pr33992.x: Remove.
	* gcc.c-torture/execute/pr33992.c (foo): Declare as static.
	* gcc.dg/uninit-pred-5_a.c (foo): Ditto.
	* gcc.dg/uninit-pred-5_b.c (foo): Ditto.

From-SVN: r197993
parent 609e36b3
2013-04-16 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/ipa/devirt-c-7.C: Require nonpic effective target.
* gcc.c-torture/execute/pr33992.x: Remove.
* gcc.c-torture/execute/pr33992.c (foo): Declare as static.
* gcc.dg/uninit-pred-5_a.c (foo): Ditto.
* gcc.dg/uninit-pred-5_b.c (foo): Ditto.
2013-04-15 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56962
......@@ -111,7 +119,7 @@
* gcc.dg/fold-cstvecshift.c: New testcase.
2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* gcc.target/aarch64/negs.c: New.
......@@ -835,7 +843,7 @@
* gcc.dg/vect/vect-outer-3a-big-array.c: Adjust.
* gcc.dg/vect/vect-outer-3a.c: Likewise.
2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
* gcc.target/aarch64/vect.c: Test and result vector added
for sabd and saba instructions.
......
/* Verify that ipa-cp will not get confused by placement new constructing an
object within another one when looking for dynamic type change . */
/* { dg-do run } */
/* { dg-require-effective-target nonpic } */
/* { dg-options "-O3 -Wno-attributes" } */
extern "C" void abort (void);
......
......@@ -7,7 +7,7 @@ bar (unsigned long long i)
abort ();
}
void __attribute__((always_inline))
static void __attribute__((always_inline))
foo (unsigned long long *r)
{
int i;
......
load_lib target-supports.exp
if { [ check_effective_target_nonpic ] } {
return 0
}
return 1
......@@ -6,8 +6,9 @@ int bar();
int blah(int);
void t(int);
static int
__attribute__((always_inline))
int foo (int n, int* v, int r)
foo (int n, int* v, int r)
{
int flag = 0;
if (r > n)
......
......@@ -6,8 +6,9 @@ int bar();
int blah(int);
void t(int);
static int
__attribute__((always_inline))
int foo (int n, int* v, int r)
foo (int n, int* v, int r)
{
int flag = 0;
if (r > n)
......
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