]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add -fno-assume-sane-operators-new-delete to test [PR117751]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 25 Nov 2024 22:40:43 +0000 (22:40 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 26 Nov 2024 22:28:29 +0000 (22:28 +0000)
libstdc++-v3/ChangeLog:

PR libstdc++/117751
* testsuite/18_support/50594.cc: Edit dg-options to include the
-fno-assume-sane-operators-new-delete option.

libstdc++-v3/testsuite/18_support/50594.cc

index ce45789e16aa7a92cfc53cf4df3e2a3d2579f0f7..7b736eb1decac7584ef30d261210968b68fe8fbd 100644 (file)
@@ -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* } }