public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2751] libstdc++: Qualify std::abort() in test
@ 2022-09-21  7:45 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-09-21  7:45 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:d784c5cfe694fe8d5620504ae45ceaebb3cc9f7c

commit r13-2751-gd784c5cfe694fe8d5620504ae45ceaebb3cc9f7c
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 21 00:39:14 2022 +0100

    libstdc++: Qualify std::abort() in test
    
    This test includes <cstdlib> so should use std::abort not ::abort.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/18_support/uncaught_exception/14026.cc: Qualify
            call to std::abort.

Diff:
---
 libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc b/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc
index 22d4a90d49e..bd281b97174 100644
--- a/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc
+++ b/libstdc++-v3/testsuite/18_support/uncaught_exception/14026.cc
@@ -28,7 +28,7 @@ static void
 no_uncaught ()
 {
   if (std::uncaught_exception())
-    abort();
+    std::abort();
 }
 
 int

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-21  7:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21  7:45 [gcc r13-2751] libstdc++: Qualify std::abort() in test Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).