* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212024
138bc75d-0d04-0410-961f-
82ee72b054a4
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
'flags_to_postpone' instead of appending to 'flags'.
* lib/gcc.exp (gcc_target_compile): Append board_info's multilib_flags
/* { 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)
{