This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix g++.dg/inherit/override-attribs.C on ia32 (PR testsuite/85189)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 4 Apr 2018 16:15:34 +0200
- Subject: [committed] Fix g++.dg/inherit/override-attribs.C on ia32 (PR testsuite/85189)
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
r258898 changed the wording and changed error to inform for the second
message and adjusted lots of testcases, but has not adjusted this one.
Fixed thusly, tested on x86_64-linux with -m32/-m64, committed to trunk.
2018-04-04 Jakub Jelinek <jakub@redhat.com>
PR testsuite/85189
* g++.dg/inherit/override-attribs.C: Use dg-message instead of dg-error
for the diagnostics of overridden functions. Adjust for new wording.
--- gcc/testsuite/g++.dg/inherit/override-attribs.C.jj 2011-07-11 10:39:37.000000000 +0200
+++ gcc/testsuite/g++.dg/inherit/override-attribs.C 2018-04-04 16:11:21.212486074 +0200
@@ -5,7 +5,7 @@ class one
{
public:
virtual void
- test(void* value); // { dg-error "overriding" }
+ test(void* value); // { dg-message "overridden" }
};
class two : public one
Jakub