From 78b5828f3d8feb4aa648aae7e181dea63e03c019 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 6 Jan 2009 17:41:02 +0000 Subject: [PATCH] regex: Remove unimplemented function definitions. 2009-01-05 Benjamin Kosnik * include/tr1_impl/regex: Remove unimplemented function definitions. * testsuite/28_regex/init-list.cc: Compile only. * testsuite/tr1/7_regular_expressions/regex/cons/char/ c_string_extended.cc: Same. * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same. From-SVN: r143125 --- libstdc++-v3/ChangeLog | 10 +++++++ libstdc++-v3/include/tr1_impl/regex | 26 +++++++------------ libstdc++-v3/testsuite/28_regex/init-list.cc | 13 +++++----- .../basic_regex/assign/char/cstring.cc | 4 +-- .../basic_regex/assign/char/cstring_op.cc | 4 +-- .../basic_regex/assign/char/pstring.cc | 4 +-- .../basic_regex/assign/char/range.cc | 4 +-- .../basic_regex/assign/char/string.cc | 4 +-- .../basic_regex/assign/char/string_op.cc | 4 +-- .../basic_regex/assign/wchar_t/cstring.cc | 4 +-- .../basic_regex/assign/wchar_t/cstring_op.cc | 4 +-- .../basic_regex/assign/wchar_t/pstring.cc | 4 +-- .../basic_regex/assign/wchar_t/range.cc | 4 +-- .../basic_regex/assign/wchar_t/string.cc | 4 +-- .../basic_regex/assign/wchar_t/string_op.cc | 4 +-- .../basic_regex/ctors/char/cstring.cc | 4 +-- .../basic_regex/ctors/char/default.cc | 4 +-- .../basic_regex/ctors/char/pstring.cc | 4 +-- .../basic_regex/ctors/char/range.cc | 4 +-- .../basic_regex/ctors/char/string.cc | 4 +-- .../basic_regex/ctors/wchar_t/cstring.cc | 4 +-- .../basic_regex/ctors/wchar_t/default.cc | 4 +-- .../basic_regex/ctors/wchar_t/pstring.cc | 4 +-- .../basic_regex/ctors/wchar_t/range.cc | 4 +-- .../basic_regex/ctors/wchar_t/string.cc | 4 +-- .../regex/cons/char/c_string_extended.cc | 4 +-- 26 files changed, 71 insertions(+), 70 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 59e85247b609..40444275d318 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,7 +1,17 @@ +2009-01-05 Benjamin Kosnik + + * include/tr1_impl/regex: Remove unimplemented function definitions. + * testsuite/28_regex/init-list.cc: Compile only. + * testsuite/tr1/7_regular_expressions/regex/cons/char/ + c_string_extended.cc: Same. + * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same. + * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same. + 2009-01-05 Benjamin Kosnik PR libstdc++/38384 * crossconfig.m4: Define HAVE_FABSF for hpux crosses. + * configure: Regenerate. 2009-01-05 Ben Elliston diff --git a/libstdc++-v3/include/tr1_impl/regex b/libstdc++-v3/include/tr1_impl/regex index c2a60a2c3ea6..b6a8e8df0cd8 100644 --- a/libstdc++-v3/include/tr1_impl/regex +++ b/libstdc++-v3/include/tr1_impl/regex @@ -1,6 +1,6 @@ // class template regex -*- C++ -*- -// Copyright (C) 2007, 2008 Free Software Foundation, Inc. +// Copyright (C) 2007, 2008, 2009 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 @@ -535,8 +535,7 @@ namespace regex_constants */ template string_type - transform_primary(_Fwd_iter __first, _Fwd_iter __last) const - { return string_type(); } + transform_primary(_Fwd_iter __first, _Fwd_iter __last) const; /** * @brief Gets a collation element by name. @@ -553,8 +552,7 @@ namespace regex_constants */ template string_type - lookup_collatename(_Fwd_iter __first, _Fwd_iter __last) const - { return string_type(); } + lookup_collatename(_Fwd_iter __first, _Fwd_iter __last) const; /** * @brief Maps one or mire characters to a named character @@ -591,8 +589,7 @@ namespace regex_constants */ template char_class_type - lookup_classname(_Fwd_iter __first, _Fwd_iter __last) const - { return 0; } + lookup_classname(_Fwd_iter __first, _Fwd_iter __last) const; /** * @brief Determines if @p c is a member of an identified class. @@ -1043,8 +1040,7 @@ namespace regex_constants * @brief Compiles a regular expression pattern into a NFA. * @todo Implement this function. */ - void _M_compile() - { } + void _M_compile(); protected: flag_type _M_flags; @@ -1995,8 +1991,7 @@ namespace regex_constants _Out_iter format(_Out_iter __out, const string_type& __fmt, regex_constants::match_flag_type __flags - = regex_constants::format_default) const - { return __out; } + = regex_constants::format_default) const; /** * @todo Implement this function. @@ -2120,8 +2115,7 @@ namespace regex_constants match_results<_Bi_iter, _Allocator>& __m, const basic_regex<_Ch_type, _Rx_traits>& __re, regex_constants::match_flag_type __flags - = regex_constants::match_default) - { return false; } + = regex_constants::match_default); /** * @brief Indicates if there is a match between the regular expression @p e @@ -2262,8 +2256,7 @@ namespace regex_constants match_results<_Bi_iter, _Allocator>& __m, const basic_regex<_Ch_type, _Rx_traits>& __re, regex_constants::match_flag_type __flags - = regex_constants::match_default) - { return false; } + = regex_constants::match_default); /** * Searches for a regular expression within a range. @@ -2396,8 +2389,7 @@ namespace regex_constants const basic_regex<_Ch_type, _Rx_traits>& __e, const basic_string<_Ch_type>& __fmt, regex_constants::match_flag_type __flags - = regex_constants::match_default) - { return __out; } + = regex_constants::match_default); /** * @doctodo diff --git a/libstdc++-v3/testsuite/28_regex/init-list.cc b/libstdc++-v3/testsuite/28_regex/init-list.cc index 6852507ee0e5..c8ccbb6bb14e 100644 --- a/libstdc++-v3/testsuite/28_regex/init-list.cc +++ b/libstdc++-v3/testsuite/28_regex/init-list.cc @@ -1,4 +1,7 @@ -// Copyright (C) 2008 Free Software Foundation, Inc. +// { dg-options "-std=gnu++0x" } +// { dg-do compile } + +// Copyright (C) 2008, 2009 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 @@ -25,8 +28,6 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -// { dg-options "-std=gnu++0x" } - #include #include @@ -38,13 +39,11 @@ int test01(void) regex r = { 'a', 'b', 'c' }; cmatch res; - // Enable when regex class actually implemented. - // VERIFY(regex_match ("abc", res, r)); + VERIFY(regex_match ("abc", res, r)); VERIFY(!regex_match ("ab", res, r)); r = { 'd', 'e', 'f' }; - // Enable when regex class actually implemented. - // VERIFY(regex_match ("def", res, r)); + VERIFY(regex_match ("def", res, r)); VERIFY(!regex_match ("abc", res, r)); return test; diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring.cc index 6594b286adca..dffab3878d59 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring_op.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring_op.cc index d8db3933b185..7f12e2414d65 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring_op.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/cstring_op.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/pstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/pstring.cc index fd48a46623a1..bf17ede76b23 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/pstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/pstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/range.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/range.cc index d5bfb417a1d1..db6fe1e54c90 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/range.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/range.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string.cc index 57e9a6b1dfdb..3a85df46498d 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string_op.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string_op.cc index a653fbc6f532..6f069058e5ba 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string_op.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/char/string_op.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring.cc index 755434044fe0..903b0ac4a098 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring_op.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring_op.cc index f61dbcf22d7d..62ed257aab13 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring_op.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/cstring_op.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/pstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/pstring.cc index bf3de48e94a6..2678b8e9debc 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/pstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/pstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/range.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/range.cc index 1e97c6a5ce62..4c8728a4633c 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/range.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/range.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string.cc index a5303e267eb4..e8ed33913adf 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string_op.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string_op.cc index 78ac26d8dfe6..9411a7928cbf 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string_op.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/string_op.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/cstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/cstring.cc index a349acd8d20f..b6f2c262102d 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/cstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/cstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/default.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/default.cc index b499a282b7ef..9e8a906c7d81 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/default.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/default.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/pstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/pstring.cc index 827c8bf6af74..db1545c12f9e 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/pstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/pstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/range.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/range.cc index 42c2bf39879b..98a889572f05 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/range.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/range.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/string.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/string.cc index 0924b1c20153..c2fb2c7d51c3 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/string.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/string.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/cstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/cstring.cc index 5e8e70347c39..6ef32e2db682 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/cstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/cstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/default.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/default.cc index efdd81a6e14f..25a0f1cb8af9 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/default.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/default.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/pstring.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/pstring.cc index f25dee605d81..28c62651fa80 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/pstring.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/pstring.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/range.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/range.cc index 9ebebf2f601f..ed4d5eda11c8 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/range.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/range.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/string.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/string.cc index 6379fecefc45..bcedd4966da7 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/string.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/string.cc @@ -1,8 +1,8 @@ -// { dg-do link } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc index 68e7709722d0..2fbf5ba11e0f 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc @@ -1,8 +1,8 @@ -// { dg-do run } +// { dg-do compile } // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2009 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 -- 2.47.3