]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
del_op.cc: Include c++config.h first.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 22 Nov 2005 00:19:07 +0000 (00:19 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 22 Nov 2005 00:19:07 +0000 (00:19 +0000)
2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>

* libsupc++/del_op.cc: Include c++config.h first.
* libsupc++/eh_alloc.cc: Same.
* libsupc++/new_opv.cc: Same.
* libsupc++/eh_throw.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/del_opv.cc: Same.
* libsupc++/eh_catch.cc: Same.
* libsupc++/guard.cc: Same.
* libsupc++/del_opnt.cc: Same.
* libsupc++/eh_exception.cc: Same.
* libsupc++/new_opvnt.cc: Same.
* libsupc++/eh_term_handler.cc: Same.
* libsupc++/eh_personality.cc: Same.
* libsupc++/eh_call.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/del_opvnt.cc: Same.

2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
* libsupc++/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Same.

From-SVN: r107343

21 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/Makefile.am
libstdc++-v3/libsupc++/Makefile.in
libstdc++-v3/libsupc++/del_op.cc
libstdc++-v3/libsupc++/del_opnt.cc
libstdc++-v3/libsupc++/del_opv.cc
libstdc++-v3/libsupc++/del_opvnt.cc
libstdc++-v3/libsupc++/eh_alloc.cc
libstdc++-v3/libsupc++/eh_call.cc
libstdc++-v3/libsupc++/eh_catch.cc
libstdc++-v3/libsupc++/eh_exception.cc
libstdc++-v3/libsupc++/eh_personality.cc
libstdc++-v3/libsupc++/eh_term_handler.cc
libstdc++-v3/libsupc++/eh_throw.cc
libstdc++-v3/libsupc++/guard.cc
libstdc++-v3/libsupc++/new_op.cc
libstdc++-v3/libsupc++/new_opnt.cc
libstdc++-v3/libsupc++/new_opv.cc
libstdc++-v3/libsupc++/new_opvnt.cc
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in

index 07224593ffd3485a7fccd2beb1ce59e88e1f2bc1..c45b76cb102c63bca5a45a514ebd66715303f6c2 100644 (file)
@@ -1,3 +1,29 @@
+2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * libsupc++/del_op.cc: Include c++config.h first.
+       * libsupc++/eh_alloc.cc: Same.
+       * libsupc++/new_opv.cc: Same.
+       * libsupc++/eh_throw.cc: Same.
+       * libsupc++/new_op.cc: Same.
+       * libsupc++/del_opv.cc: Same.
+       * libsupc++/eh_catch.cc: Same.
+       * libsupc++/guard.cc: Same.
+       * libsupc++/del_opnt.cc: Same.
+       * libsupc++/eh_exception.cc: Same.
+       * libsupc++/new_opvnt.cc: Same.
+       * libsupc++/eh_term_handler.cc: Same.
+       * libsupc++/eh_personality.cc: Same.
+       * libsupc++/eh_call.cc: Same.
+       * libsupc++/new_opnt.cc: Same.
+       * libsupc++/del_opvnt.cc: Same.
+
+2005-11-21  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
+       * libsupc++/Makefile.am: Same.
+       * src/Makefile.in: Regenerate.
+       * libsupc++/Makefile.in: Same.
+
 2005-11-21  Paolo Carlini  <pcarlini@suse.de>
 
        * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
@@ -20,9 +46,9 @@
        Just use a static member.
        (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
 
-       * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use anonymous
-       union together with _CharT to fix alignment issues, rebind to _Rep and
-       rename _Raw_alloc to _Rep_alloc_type.
+       * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
+       anonymous union together with _CharT to fix alignment issues,
+       rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.        
        (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
 
        * include/ext/vstring_util.h (__is_null_p): Move inside struct
@@ -44,8 +70,7 @@
        (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
        * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
        Likewise.
-       (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.   
-
+       (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
        * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
        Return void.
        * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
index 161a4a02d8358b4febf83a5c2bf9b6428f036151..2c749cb0dbe9c549a45e4057cc1931c409234882 100644 (file)
@@ -1,6 +1,7 @@
 ## Makefile for the GNU C++ Support library.
 ##
-## Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+## Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005
+## Free Software Foundation, Inc.
 ##
 ## Process this file with automake to produce Makefile.in.
 ##
@@ -136,7 +137,7 @@ cp-demangle.o: cp-demangle.c
 # CXX undo the affect of disable-shared.
 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
               --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
-              $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
+              $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 
 
 # 3) We'd have a problem when building the shared libstdc++ object if
 # the rules automake generates would be used.  We cannot allow g++ to
index 44d57cc2e4c8f54d14eb85f98c8ceefbc3b46d42..016bdb3dba9d3e2f4d3663542bff4c6dc2b10b35 100644 (file)
@@ -395,7 +395,7 @@ LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
 # CXX undo the affect of disable-shared.
 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
               --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
-              $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
+              $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 
 
 
 # 3) We'd have a problem when building the shared libstdc++ object if
index 194a87aa65ea70d312d11e5156992d2a0c33d2e0..93f4aa8373cb8dad20af9aeaac7a952c69921703 100644 (file)
@@ -28,8 +28,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
 #include <bits/c++config.h>
+#include "new"
 #if _GLIBCXX_HOSTED
 #include <cstdlib>
 #endif
index b03a0798133af0355d9ccff32f94ea383e3b608d..1aa25d76ba5b75424629666d681050003cb05acb 100644 (file)
@@ -28,8 +28,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
 #include <bits/c++config.h>
+#include "new"
 
 extern "C" void free (void *);
 
index 98aaa9b2736a9a83e54d277c65a2b1832d313b06..9a08afbb54be94bc622206f2706254772b503df1 100644 (file)
@@ -28,8 +28,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
 #include <bits/c++config.h>
+#include "new"
 
 _GLIBCXX_WEAK_DEFINITION void
 operator delete[] (void *ptr) throw ()
index b9c81ce74e0f4e42fd129263cf97e7950def1400..4dbe48931cfcdd4b1a9a6805e5a750a234a169ce 100644 (file)
@@ -28,8 +28,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
 #include <bits/c++config.h>
+#include "new"
 
 _GLIBCXX_WEAK_DEFINITION void
 operator delete[] (void *ptr, const std::nothrow_t&) throw ()
index 3577920e0f3ba86ece00b0d5ebd3f617393ce425..5a0d50c80587e3357696c76df3fc117ab4a1a351 100644 (file)
@@ -1,5 +1,5 @@
 // -*- C++ -*- Allocate exception objects.
-// Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc.
 //
 // This file is part of GCC.
 //
@@ -30,6 +30,7 @@
 // This is derived from the C++ ABI for IA-64.  Where we diverge
 // for cross-architecture compatibility are noted with "@@@".
 
+#include <bits/c++config.h>
 #include <cstdlib>
 #if _GLIBCXX_HOSTED
 #include <cstring>
@@ -37,7 +38,6 @@
 #include <climits>
 #include <exception>
 #include "unwind-cxx.h"
-#include "bits/c++config.h"
 #include "bits/gthr.h"
 
 #if _GLIBCXX_HOSTED
index 4db8023fcdb7f6714eab48665aca18316229e2b5..edf62188a6b6d5cc547f3ee80323fe6a4cd79920 100644 (file)
@@ -27,7 +27,6 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-
 #include <bits/c++config.h>
 #include <cstdlib>
 #include <exception_defines.h>
index d84584029bec5d4cf2d362287a5a41e087395493..77b8a82dd167b6092eef1f1d0d665914689d00e4 100644 (file)
@@ -27,7 +27,6 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-
 #include <cstdlib>
 #include "unwind-cxx.h"
 
index fc78d9be9c2c13559de99e7f9791baad09715d10..81d7e70bcf3e2c49786384e18febc7caa503a998 100644 (file)
@@ -28,7 +28,6 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-
 #include "typeinfo"
 #include "exception"
 #include "unwind-cxx.h"
index f07864f1d6fa3994d436bf7b79aa76030a0a610a..917a397569cd091512d8de79caefbe5ebb4bde06 100644 (file)
@@ -27,7 +27,6 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-
 #include <bits/c++config.h>
 #include <cstdlib>
 #include <exception_defines.h>
index 66025ed6a7884d8338c3bcc56f41626c2dfcbab5..b3914974931d64383cb544fd00fc2b8cf4eca762 100644 (file)
@@ -27,8 +27,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "unwind-cxx.h"
 #include <bits/c++config.h>
+#include "unwind-cxx.h"
 
 /* We default to the talkative, informative handler in a normal hosted
    library.  This pulls in the demangler, the dyn-string utilities, and
index 9f26be008abfe642c761b8f03bf6f0b5662aeb40..b405f8f7c64188c167227bb85d8d7a7d1fc866a4 100644 (file)
@@ -27,7 +27,6 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-
 #include <bits/c++config.h>
 #include "unwind-cxx.h"
 
index e75dc42a428cf8fff13690ba40714dc310923f75..e7fe2b6e7b9b1966da835fd792dc6b3d38828b03 100644 (file)
@@ -29,9 +29,9 @@
 // Written by Mark Mitchell, CodeSourcery LLC, <mark@codesourcery.com>
 // Thread support written by Jason Merrill, Red Hat Inc. <jason@redhat.com>
 
+#include <bits/c++config.h>
 #include <cxxabi.h>
 #include <exception>
-#include <bits/c++config.h>
 #include <bits/gthr.h>
 #include <bits/atomicity.h>
 
index 76ede3097eaba9ebe013a18dc86e7bc2d179ede8..8059d1d110cc05026dda1ab78aba07c96aadb46a 100644 (file)
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
+#include <bits/c++config.h>
 #include <cstdlib>
 #include <exception_defines.h>
-#include <bits/c++config.h>
+#include "new"
 
 using std::new_handler;
 using std::bad_alloc;
index 4a44bc79d49e243618e78c0422423c465ddc1146..65b79a355f05ca8967432ce87cb9947bf7eaa25d 100644 (file)
@@ -27,9 +27,9 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
-#include <exception_defines.h>
 #include <bits/c++config.h>
+#include <exception_defines.h>
+#include "new"
 
 using std::new_handler;
 using std::bad_alloc;
index 5f76135328096995dfbdac415ecf1f3c691f0673..e40565bada7159777425305f78abe9cd1842a8fd 100644 (file)
@@ -28,8 +28,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
 #include <bits/c++config.h>
+#include "new"
 
 _GLIBCXX_WEAK_DEFINITION void*
 operator new[] (std::size_t sz) throw (std::bad_alloc)
index f681e33e80626d8d441552c91f92b8757b59e74f..7d59d43c33fb5b5c0c87e4d9994f6695c6d4e292 100644 (file)
@@ -28,8 +28,8 @@
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
-#include "new"
 #include <bits/c++config.h>
+#include "new"
  
 _GLIBCXX_WEAK_DEFINITION void*
 operator new[] (std::size_t sz, const std::nothrow_t& nothrow) throw()
index 903930a81809d8014e3ec07771784921307418b2..113f2dc0d3184c01f3c9472e4b181090c8cb33b8 100644 (file)
@@ -1,6 +1,6 @@
 ## Makefile for the src subdirectory of the GNU C++ Standard library.
 ##
-## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
+## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005
 ## Free Software Foundation, Inc.
 ##
 ## This file is part of the libstdc++ version 3 distribution.
@@ -221,7 +221,7 @@ AM_CXXFLAGS = \
 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
 # attempt to infer which configuration to use
 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
-              $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
+              $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 
 
 # 3) We'd have a problem when building the shared libstdc++ object if
 # the rules automake generates would be used.  We cannot allow g++ to
index 188f46ce07d020f7792b8750a4a06fd77e2e94bb..d205c01eac86f0adaf771b84edc8d624c69d8cdc 100644 (file)
@@ -395,7 +395,7 @@ AM_CXXFLAGS = \
 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
 # attempt to infer which configuration to use
 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
-              $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
+              $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 
 
 
 # 3) We'd have a problem when building the shared libstdc++ object if