* [PUSHED] Mark path_range_query::dump as override.
[not found] <52a6fe39-8a22-ea6e-fa11-df93f84525a2@suse.cz>
@ 2021-08-04 9:00 ` Aldy Hernandez
0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2021-08-04 9:00 UTC (permalink / raw)
To: Martin Liška, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
On 8/3/21 10:29 AM, Martin Liška wrote:
> Hey.
>
> I've just noticed that your recent change caused:
>
> /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-clang/build/gcc/gimple-range-path.h:44:8:
> warning: 'dump' overrides a member function but is not marked 'override'
> [-Winconsistent-missing-override]
>
> Can you please take a look?
Absolutely.
Thanks for spotting this.
Pushed.
Aldy
[-- Attachment #2: 0001-Mark-path_range_query-dump-as-override.patch --]
[-- Type: text/x-patch, Size: 834 bytes --]
From 9db0bcd9fdc2e3a659d56435cb18d553f4292edb Mon Sep 17 00:00:00 2001
From: Aldy Hernandez <aldyh@redhat.com>
Date: Wed, 4 Aug 2021 10:55:12 +0200
Subject: [PATCH] Mark path_range_query::dump as override.
gcc/ChangeLog:
* gimple-range-path.h (path_range_query::dump): Mark override.
---
gcc/gimple-range-path.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/gimple-range-path.h b/gcc/gimple-range-path.h
index 43f0ec80286..0d2d2e7f75d 100644
--- a/gcc/gimple-range-path.h
+++ b/gcc/gimple-range-path.h
@@ -41,7 +41,7 @@ public:
const bitmap_head *imports);
bool range_of_expr (irange &r, tree name, gimple * = NULL) override;
bool range_of_stmt (irange &r, gimple *, tree name = NULL) override;
- void dump (FILE *);
+ void dump (FILE *) override;
void debug ();
private:
--
2.31.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-04 9:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <52a6fe39-8a22-ea6e-fa11-df93f84525a2@suse.cz>
2021-08-04 9:00 ` [PUSHED] Mark path_range_query::dump as override Aldy Hernandez
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).