Backport:
2010-01-20 Janis Johnson <janis187@us.ibm.com> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/21769 * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add. * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Use it. From-SVN: r156990
This commit is contained in:
parent
e30d9b3d1f
commit
dbc6fd953f
|
@ -1,3 +1,14 @@
|
|||
2010-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
Backport:
|
||||
2010-01-20 Janis Johnson <janis187@us.ibm.com>
|
||||
Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/21769
|
||||
* testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
|
||||
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
|
||||
Use it.
|
||||
|
||||
2010-01-21 Release Manager
|
||||
|
||||
* GCC 4.4.3 released.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// 2001-04-06 gdr
|
||||
|
||||
// Copyright (C) 2001, 2005, 2009 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2001, 2005, 2009, 2010 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
|
@ -17,8 +17,9 @@
|
|||
// with this library; see the file COPYING3. If not see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-add-options no_pch }
|
||||
|
||||
// { dg-xfail-if "" { { *-*-linux* *-*-darwin[3-7]* } || { uclibc || newlib } } { "*" } { "" } }
|
||||
// { dg-excess-errors "" { target { { *-*-linux* *-*-darwin[3-7]* } || { uclibc || newlib } } } }
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Handlers for additional dg-xxx keywords in tests.
|
||||
|
||||
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009
|
||||
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -142,3 +142,8 @@ proc dg-require-string-conversions { args } {
|
|||
}
|
||||
return
|
||||
}
|
||||
|
||||
proc add_options_for_no_pch { flags } {
|
||||
# This forces any generated and possibly included PCH to be invalid.
|
||||
return "-D__GLIBCXX__=99999999"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue