components/gcc47/patches/009-c99_classification_macros.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Wed, 07 Aug 2013 11:25:39 -0700
branchs11-update
changeset 2720 ce63a14b34c3
permissions -rw-r--r--
15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2720
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     1
# 2013-07-17 Stefan Teleman <[email protected]>
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     2
# This test case is marked as "expected to fail on Solaris", due to a
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     3
# misconfiguration of the GNU C++ Standard Library in Solaris. Will be
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     4
# fixed in 4.8.1 and later.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     5
--- gcc-4.7.3/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++0x.cc	2010-08-08 03:07:16.000000000 -0700
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     6
+++ gcc-4.7.3/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++0x.cc	2013-07-18 14:27:59.606294430 -0700
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     7
@@ -17,6 +17,8 @@
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     8
 
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     9
 // { dg-options "-std=gnu++0x" }
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    10
 // { dg-do compile { xfail uclibc } }
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    11
+// { dg-xfail-if "" { { *-*-solaris2.1[0-9]* } || { uclibc } } { "*" } { "" } }
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    12
+// { dg-excess-errors "" { target { { *-*-solaris* } || { uclibc } } } }
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    13
 // { dg-excess-errors "" { target uclibc } }
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    14
 
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    15
 #include <cmath>