+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.
+
2009-08-04 Release Manager
* GCC 4.3.4 released.
// 2001-04-06 gdr
-// Copyright (C) 2001, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2005, 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
// the GNU General Public License.
// { dg-do compile }
+// { dg-add-options no_pch }
+
// { dg-xfail-if "" { { *-*-linux* *-*-darwin* } || { uclibc || newlib } } { "*" } { "" } }
// { dg-excess-errors "" { target { { *-*-linux* *-*-darwin* } || { uclibc || newlib } } } }
# Handlers for additional dg-xxx keywords in tests.
-# Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2006, 2007, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
}
return
}
+
+proc add_options_for_no_pch { flags } {
+ # This forces any generated and possibly included PCH to be invalid.
+ return "-D__GLIBCXX__=99999999"
+}