Backport from mainline
2016-08-02 Jonathan Wakely <jwakely@redhat.com>
* testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if
options are present that aren't valid for C.
* testsuite/abi/header_cxxabi.c: Likewise.
From-SVN: r248238
2017-05-18 Jonathan Wakely <jwakely@redhat.com>
+ Backport from mainline
+ 2016-08-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if
+ options are present that aren't valid for C.
+ * testsuite/abi/header_cxxabi.c: Likewise.
+
Backport from mainline
2017-04-24 Jonathan Wakely <jwakely@redhat.com>
// { dg-require-sharedlib "" }
+// { dg-skip-if "invalid options for C" { *-*-* } { "-std=c++??" "-std=gnu++??" } }
// { dg-options "-g -O2 -pthread -ldl -x c -fvtable-verify=none" { target *-*-linux* *-*-gnu* } }
// Copyright (C) 2005-2015 Free Software Foundation, Inc.
// { dg-do compile }
+// { dg-skip-if "invalid options for C" { *-*-* } { "-std=c++??" "-std=gnu++??" } }
// { dg-options "-x c" }
// Copyright (C) 2006-2015 Free Software Foundation, Inc.
//