From: Jonathan Wakely Date: Mon, 25 Nov 2024 22:40:43 +0000 (+0000) Subject: libstdc++: Add -fno-assume-sane-operators-new-delete to test [PR117751] X-Git-Tag: basepoints/gcc-16~3844 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44e71c84f0795c1f6e7d40f5a3eb66e9835244c2;p=thirdparty%2Fgcc.git libstdc++: Add -fno-assume-sane-operators-new-delete to test [PR117751] libstdc++-v3/ChangeLog: PR libstdc++/117751 * testsuite/18_support/50594.cc: Edit dg-options to include the -fno-assume-sane-operators-new-delete option. --- diff --git a/libstdc++-v3/testsuite/18_support/50594.cc b/libstdc++-v3/testsuite/18_support/50594.cc index ce45789e16aa..7b736eb1deca 100644 --- a/libstdc++-v3/testsuite/18_support/50594.cc +++ b/libstdc++-v3/testsuite/18_support/50594.cc @@ -1,4 +1,4 @@ -// { dg-options "-fwhole-program" } +// { dg-options "-fwhole-program -fno-assume-sane-operators-new-delete" } // { dg-additional-options "-static-libstdc++" { target *-*-mingw* } } // { dg-require-effective-target std_allocator_new } // { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }