diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0329-2011-05-24-Paolo-Carlini-paolo.carlini-oracle.com.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0329-2011-05-24-Paolo-Carlini-paolo.carlini-oracle.com.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0329-2011-05-24-Paolo-Carlini-paolo.carlini-oracle.com.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0329-2011-05-24-Paolo-Carlini-paolo.carlini-oracle.com.patch new file mode 100644 index 0000000000..16bd473aca --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0329-2011-05-24-Paolo-Carlini-paolo.carlini-oracle.com.patch | |||
@@ -0,0 +1,62 @@ | |||
1 | From f570679582d3de6b502bc9c24312937714636ae2 Mon Sep 17 00:00:00 2001 | ||
2 | From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Wed, 25 May 2011 09:45:58 +0000 | ||
4 | Subject: [PATCH] 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com> | ||
5 | |||
6 | PR libstdc++/49141 | ||
7 | * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std. | ||
8 | * testsuite/26_numerics/headers/cmath/19322.cc: Likewise. | ||
9 | |||
10 | |||
11 | |||
12 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174179 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
13 | |||
14 | index 0201cc7..0027a34 100644 | ||
15 | --- a/libstdc++-v3/testsuite/26_numerics/complex/cons/48760.cc | ||
16 | +++ b/libstdc++-v3/testsuite/26_numerics/complex/cons/48760.cc | ||
17 | @@ -1,3 +1,5 @@ | ||
18 | +// { dg-require-c-std "" } | ||
19 | + | ||
20 | // Copyright (C) 2011 Free Software Foundation, Inc. | ||
21 | // | ||
22 | // This file is part of the GNU ISO C++ Library. This library is free | ||
23 | diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/19322.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/19322.cc | ||
24 | index 955286f..25494c3 100644 | ||
25 | --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/19322.cc | ||
26 | +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/19322.cc | ||
27 | @@ -1,4 +1,6 @@ | ||
28 | -// Copyright (C) 2005, 2009 Free Software Foundation, Inc. | ||
29 | +// { dg-require-c-std "" } | ||
30 | + | ||
31 | +// Copyright (C) 2005, 2009, 2010, 2011 Free Software Foundation, Inc. | ||
32 | // | ||
33 | // This file is part of the GNU ISO C++ Library. This library is free | ||
34 | // software; you can redistribute it and/or modify it under the | ||
35 | @@ -15,11 +17,9 @@ | ||
36 | // with this library; see the file COPYING3. If not see | ||
37 | // <http://www.gnu.org/licenses/>. | ||
38 | |||
39 | - | ||
40 | #include <cmath> | ||
41 | #include <testsuite_hooks.h> | ||
42 | |||
43 | -#if _GLIBCXX_USE_C99_MATH | ||
44 | // libstdc++/19322 | ||
45 | void test01() | ||
46 | { | ||
47 | @@ -27,12 +27,9 @@ void test01() | ||
48 | |||
49 | VERIFY( !std::isnan(3.0) ); | ||
50 | } | ||
51 | -#endif | ||
52 | |||
53 | int main() | ||
54 | { | ||
55 | -#if _GLIBCXX_USE_C99_MATH | ||
56 | test01(); | ||
57 | -#endif | ||
58 | return 0; | ||
59 | } | ||
60 | -- | ||
61 | 1.7.0.4 | ||
62 | |||