summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorChandrakala Chavva <cchavva@redhat.com>2000-07-10 16:10:15 -0400
committerChandra Chavva <cchavva@gcc.gnu.org>2000-07-10 16:10:15 -0400
commit46d3a87396f1e5be05d7ef5709cdb0cc968b10cf (patch)
treea1b03704b1ab4a43af71f698bb714888ddcdaad6 /gcc/flags.h
parent92c26242fab0e2558697221a2597101821b17346 (diff)
downloadgcc-46d3a87396f1e5be05d7ef5709cdb0cc968b10cf.tar.gz
flags.h: Add new variable flag_single_precision_constant.
* flags.h : Add new variable flag_single_precision_constant. * toplev.c (display_help) : Add -fsingle-precision-constant option. (flag_single_precision_constant): New. * c-lex.c (yylex): Convert floating point constant to single precision constant. * invoke.texi : Add documentation for this new option. From-SVN: r34946
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 3c543bc5bcd..3dc5c7ec788 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -379,6 +379,11 @@ extern int flag_schedule_speculative_load_dangerous;
by a cheaper branch, on a count register. */
extern int flag_branch_on_count_reg;
+/* This option is set to 1 on -fsingle-precision-constant option which is
+ used to convert the floating point constants to single precision
+ constants. */
+
+extern int flag_single_precision_constant;
/* Nonzero means put things in delayed-branch slots if supported. */