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
>From 9db0bcd9fdc2e3a659d56435cb18d553f4292edb Mon Sep 17 00:00:00 2001
From: Aldy Hernandez <al...@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