summaryrefslogtreecommitdiff
path: root/gcc/reginfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r--gcc/reginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c
index 82b6081850a..42668a158eb 100644
--- a/gcc/reginfo.c
+++ b/gcc/reginfo.c
@@ -985,7 +985,7 @@ public:
{}
/* opt_pass methods: */
- unsigned int execute () { return reginfo_init (); }
+ virtual unsigned int execute (function *) { return reginfo_init (); }
}; // class pass_reginfo_init