summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-15 08:52:53 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-15 08:52:53 +0000
commite05ef402a2ebebf3461227723eca43cf692f9feb (patch)
treecc579327961d3afb754162e12de142a15a075e67 /gcc/flags.h
parentd33dc667ca63584d1369f1dd80ba2a112218b2c0 (diff)
downloadgcc-e05ef402a2ebebf3461227723eca43cf692f9feb.tar.gz
2008-07-15 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r137813 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@137817 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 1818a42c5ca..edc96e95920 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -279,6 +279,13 @@ extern bool flag_speculative_prefetching_set;
instrumentation. */
extern bool flag_instrument_functions_exclude_p (tree fndecl);
+/* Emit warning if the function call is disallowed under
+ -Wdisallowed-function-list=... */
+extern void warn_if_disallowed_function_p (const_tree fncall);
+
+/* True, if the -Wdisallowed-function-list=... option has been specified. */
+extern bool warn_disallowed_functions;
+
/* True if the given mode has a NaN representation and the treatment of
NaN operands is important. Certain optimizations, such as folding
x * 0 into 0, are not correct for NaN operands, and are normally