aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-reference.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r--gcc/ipa-reference.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c
index 87d8c2fa..71c0ec5 100644
--- a/gcc/ipa-reference.c
+++ b/gcc/ipa-reference.c
@@ -1319,8 +1319,10 @@ gate_reference (void)
&& !(errorcount || sorrycount));
}
-struct tree_opt_pass pass_ipa_reference =
+struct simple_ipa_opt_pass pass_ipa_reference =
{
+ {
+ SIMPLE_IPA_PASS,
"static-var", /* name */
gate_reference, /* gate */
static_execute, /* execute */
@@ -1332,8 +1334,8 @@ struct tree_opt_pass pass_ipa_reference =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- 0, /* todo_flags_finish */
- 0 /* letter */
+ 0 /* todo_flags_finish */
+ }
};
#include "gt-ipa-reference.h"