From patchwork Tue Nov 6 16:01:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PING^2,C++] Add overflow checking to __cxa_vec_new[23] Date: Tue, 06 Nov 2012 06:01:34 -0000 From: Florian Weimer X-Patchwork-Id: 197494 Message-Id: <5099345E.9060100@redhat.com> To: Jason Merrill Cc: Paolo Carlini , gcc-patches@gcc.gnu.org, libstdc++ On 11/06/2012 04:55 PM, Jason Merrill wrote: > On 11/05/2012 12:52 PM, Florian Weimer wrote: >> +// Avoid use of none-overridable new/delete operators in shared > > Typo: that should be "non-overridable" > > Jason Thanks, this patch fixes both instances. gcc/testsuite/ChangeLog: (revision 193243) 2012-11-06 Florian Weimer * g++.old-deja/g++.abi/cxa_vec.C: Fix typo in comment. libstdc++-v3/ChangeLog: 2012-11-06 Florian Weimer * testsuite/18_support/cxa_vec.cc: Fix typo in comment. Index: gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C =================================================================== --- gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C (revision 193243) +++ gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C (working copy) @@ -5,7 +5,7 @@ // are resolved when the kernel is linked. // { dg-do run { xfail { powerpc-ibm-aix* || vxworks_kernel } } } // { dg-options "-flat_namespace" { target *-*-darwin[67]* } } -// Avoid use of none-overridable new/delete operators in shared +// Avoid use of non-overridable new/delete operators in shared // { dg-options "-static" { target *-*-mingw* } } // Test __cxa_vec routines // Copyright (C) 2000, 2005 Free Software Foundation, Inc. Index: libstdc++-v3/testsuite/18_support/cxa_vec.cc =================================================================== --- libstdc++-v3/testsuite/18_support/cxa_vec.cc (revision 193243) +++ libstdc++-v3/testsuite/18_support/cxa_vec.cc (working copy) @@ -1,5 +1,5 @@ // { dg-do run } -// Avoid use of none-overridable new/delete operators in shared +// Avoid use of non-overridable new/delete operators in shared // { dg-options "-static" { target *-*-mingw* } } // Test __cxa_vec routines // Copyright (C) 2000-2012 Free Software Foundation, Inc.