]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
target-supports.exp (check_effective_target_unwrapped): New.
authorMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 23 Feb 2007 22:08:01 +0000 (22:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 23 Feb 2007 22:08:01 +0000 (22:08 +0000)
* lib/target-supports.exp (check_effective_target_unwrapped): New.

* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
XFAIL for Newlib targets.

From-SVN: r122272

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc

index 45bed9f21a633d58a141579910ed7e95c355252b..846244c5ccc375665df6092ff11b7256ef55a472 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * lib/target-supports.exp (check_effective_target_unwrapped): New.
+
 2007-02-23  Paul Thomas <pault@gcc.gnu.org>
 
        PR fortran/30660
index ec63866614e83cc4db6f97463f4f3f7f030ea333..786f1fc5726116d3ecc42b9c57047178058d8a43 100644 (file)
@@ -2053,6 +2053,14 @@ proc check_effective_target_uclibc {} {
     }]
 }
 
+# Return true if this is a Newlib target.
+
+proc check_effective_target_newlib {} {
+    return [check_no_compiler_messages newlib object {
+       #include <newlib.h>
+    }]
+}
+
 # Return 1 if
 #   (a) an error of a few ULP is expected in string to floating-point
 #       conversion functions; and
index 8956610c3e2ac44dc2ade10a2b2b2108949f128b..d6481c63230645c2d35f20cc20c1fd44eb91f618 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-22  Mark Mitchell  <mark@codesourcery.com>
+
+       * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
+       XFAIL for Newlib targets.
+
 2007-02-22  Simon Martin  <simartin@users.sourceforge.net>
 
        * testsuite/27_io/basic_ios/cons/char/3.cc: Fixed type mismatches in
index a9cd0584a33fc4e57873d93c4e79b0317a0638ec..f7b714fbcfafaf6a5d3c529b85bdc95e9e6d7465 100644 (file)
@@ -27,8 +27,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-// { dg-do compile { xfail { { *-*-linux* *-*-darwin* } || uclibc } } }
-// { dg-excess-errors "" { target { { *-*-linux* *-*-darwin* } || uclibc } } }
+// { dg-do compile { xfail { { *-*-linux* *-*-darwin* } || { uclibc || newlib } } } }
+// { dg-excess-errors "" { target { { *-*-linux* *-*-darwin* } || { uclibc || newlib } } } }
 
 #include <math.h>