summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 42158de0015..8b71302f3e4 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -250,6 +250,9 @@ extern bool g_switch_set;
/* Same for selective scheduling. */
extern bool sel_sched_switch_set;
+/* Whether to run the warn_unused_result attribute pass. */
+extern bool flag_warn_unused_result;
+
/* Values of the -falign-* flags: how much to align labels in code.
0 means `use default', 1 means `don't align'.
For each variable, there is an _log variant which is the power