projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c716447
)
testsuite: Add missing <exception> header to testcase
author
Jonathan Wakely
<jwakely@redhat.com>
Wed, 2 Sep 2020 17:37:17 +0000
(18:37 +0100)
committer
Jonathan Wakely
<jwakely@redhat.com>
Wed, 2 Sep 2020 17:41:20 +0000
(18:41 +0100)
This test no longer compiles because <new> stopped including
<exception>, so std::set_terminate is not defined.
gcc/testsuite/ChangeLog:
* g++.old-deja/g++.abi/cxa_vec.C: Include <exception> for
std::set_terminate.
gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
b/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
index d52637281fef99ed5f0bf296442950c71e242033..de647c4eb69d80431bf10095df26526ad6ef8ae5 100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
+++ b/
gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
@@
-15,6
+15,7
@@
#include <cxxabi.h>
#include <stdio.h>
#include <new>
+#include <exception>
#include <stdlib.h>
#include <setjmp.h>