inline-22.c: Add bind_pic_locally.
gcc/testsuite/ * gcc.dg/inline-22.c: Add bind_pic_locally. * gcc.dg/inline_4.c: Ditto. * gcc.dg/fail_always_inline.c: Ditto. * g++.dg/ipa/devirt-25.C: Ditto. From-SVN: r212024
This commit is contained in:
parent
1b1e36a856
commit
1d805a56b6
5 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2014-06-26 Vidya Praveen <vidyapraveen@arm.com>
|
||||
|
||||
* gcc.dg/inline-22.c: Add bind_pic_locally.
|
||||
* gcc.dg/inline_4.c: Ditto.
|
||||
* gcc.dg/fail_always_inline.c: Ditto.
|
||||
* g++.dg/ipa/devirt-25.C: Ditto.
|
||||
|
||||
2014-06-26 Vidya Praveen <vidyapraveen@arm.com>
|
||||
|
||||
* lib/target-support.exp (bind_pic_locally): Save the flags to
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fdump-ipa-cp" } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
class ert_RefCounter {
|
||||
protected:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
extern __attribute__ ((always_inline)) void
|
||||
bar() { } /* { dg-warning "function might not be inlinable" } */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-funit-at-a-time -Wno-attributes" } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
/* Verify we can inline without a complete prototype and with promoted
|
||||
arguments. See also PR32492. */
|
||||
__attribute__((always_inline)) void f1() {}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-optimized -fdisable-tree-einline=foo2 -fdisable-ipa-inline -Wno-attributes" } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
int g;
|
||||
__attribute__((always_inline)) void bar (void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue