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
+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
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-ipa-cp" } */
+/* { dg-add-options bind_pic_locally } */
class ert_RefCounter {
protected:
/* { dg-do compile } */
+/* { dg-add-options bind_pic_locally } */
extern __attribute__ ((always_inline)) void
bar() { } /* { dg-warning "function might not be inlinable" } */
/* { 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() {}
/* { 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)
{