public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] Fix a test-case warning.
@ 2020-08-22 21:28 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 21:28 UTC (permalink / raw)
To: gcc-cvs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1435 bytes --]
https://gcc.gnu.org/g:94ef62343249079dd83104b15b4ebbebc25be129
commit 94ef62343249079dd83104b15b4ebbebc25be129
Author: Martin Liska <mliska@suse.cz>
Date: Thu May 21 14:21:31 2020 +0200
Fix a test-case warning.
PR target/95229
* g++.target/i386/pr95229.C: Fix
error: unnamed type with no linkage used
to declare variable ‘<unnamed class> e’ with linkage
with -std=gnu++98.
Diff:
---
gcc/testsuite/ChangeLog | 8 ++++++++
gcc/testsuite/g++.target/i386/pr95229.C | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b8a4e52be6e..bcac1c657f3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2020-05-21 Martin Liska <mliska@suse.cz>
+
+ PR target/95229
+ * g++.target/i386/pr95229.C: Fix
+ error: unnamed type with no linkage used
+ to declare variable ‘<unnamed class> e’ with linkage
+ with -std=gnu++98.
+
2020-05-21 Nathan Sidwell <nathan@acm.org>
* c-c++-common/cpp/cmd-1.c: Delete.
diff --git a/gcc/testsuite/g++.target/i386/pr95229.C b/gcc/testsuite/g++.target/i386/pr95229.C
index edf5aa4389e..98bdd57794c 100644
--- a/gcc/testsuite/g++.target/i386/pr95229.C
+++ b/gcc/testsuite/g++.target/i386/pr95229.C
@@ -7,7 +7,7 @@ struct a {
unsigned long long c;
};
-class {
+class my_class {
public:
a d;
} e;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 21:28 [gcc/devel/autopar_devel] Fix a test-case warning Giuliano Belinassi
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).