Commit 8371ec74 by Mark Mitchell

target-supports.exp (check_effective_target_unwrapped): New.

	* 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
parent 4afb7791
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
......@@ -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
......
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
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment