Un-xfail PR14743 after fixing it in r206130
Most of these failures were actually due to the test relying on gnu89 inline
semantics. So add __attribute__((gnu_inline)) to force the desired semantics.
The remaining failures were fixed by the aforementioned commit.
llvm-svn: 206131
diff --git a/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.c b/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.c
index edf82d6..73b8a07 100644
--- a/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.c
+++ b/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.c
@@ -19,7 +19,7 @@
this file, and should be regenerated if this file is modified. */
#ifdef __GNUC__
-# define ATTR __attribute__((always_inline))
+# define ATTR __attribute__((gnu_inline)) __attribute__((always_inline))
#else
# define ATTR
#endif
diff --git a/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.exp b/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.exp
index 30cbf39..2a7ef39 100644
--- a/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.exp
+++ b/clang-tests-external/gdb/7.5/gdb/testsuite/gdb.opt/inline-break.exp
@@ -36,7 +36,6 @@
# The result should be a breakpoint with two locations: the
# out-of-line function and the single inlined instance.
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "break func2" \
"Breakpoint.*at.*func2.*\\(2 locations\\)"
@@ -55,7 +54,6 @@
# the inlined call to func4a in main, and the inlined instance
# within the out-of-line func4a.
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "break func4b" \
"Breakpoint.*at.*func4b.*\\(2 locations\\)"
@@ -65,7 +63,6 @@
# breakpoint with two locations: the out-of-line function and the
# inlined instance within the inlined call to func5a in main.
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "break func5b" \
"Breakpoint.*at.*func5b.*\\(2 locations\\)"
#
@@ -75,7 +72,6 @@
# inlined instance within the out-of-line func6a, and the inlined
# instance within the inlined call to func6a in main,
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "break func6b" \
"Breakpoint.*at.*func6b.*\\(3 locations\\)"
@@ -85,7 +81,6 @@
# two locations: the inlined instance within the inlined instance of
# func7a, and the inlined instance within main.
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "break func7b" \
"Breakpoint.*at.*func7b.*\\(2 locations\\)"
@@ -96,7 +91,6 @@
# within the inlined instance of func7a, and the inlined instance
# within main.
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "break func8b" \
"Breakpoint.*at.*func8b.*\\(3 locations\\)"
@@ -115,6 +109,5 @@
# print, but if this was failing the "print func1" test would likely
# fail instead.
#
-if [using_clang] { setup_xfail "clang/14743" *-*-* }
gdb_test "print func2" \
"\\\$.* = {int \\(int\\)} .* <func2>"