aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-09-03 19:42:38 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-09-03 19:42:38 +0000
commit5f76ab159a4b86b8e4d74f40b8189994646d562f (patch)
treee8b264facc78dfcf7e0779c2864e5d527863bb52 /gcc/c-family/c-cppbuiltin.c
parentdeeedbada1aaf79f0e223f492ecaffdc05e91af7 (diff)
downloadgcc-5f76ab159a4b86b8e4d74f40b8189994646d562f.zip
gcc-5f76ab159a4b86b8e4d74f40b8189994646d562f.tar.gz
gcc-5f76ab159a4b86b8e4d74f40b8189994646d562f.tar.bz2
c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand when using -fgo-dump-spec.
* c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand when using -fgo-dump-spec. From-SVN: r275352
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
-rw-r--r--gcc/c-family/c-cppbuiltin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
index 6b18246..fc68bc4 100644
--- a/gcc/c-family/c-cppbuiltin.c
+++ b/gcc/c-family/c-cppbuiltin.c
@@ -1644,6 +1644,7 @@ builtin_define_with_hex_fp_value (const char *macro,
/* This is very expensive, so if possible expand them lazily. */
if (lazy_hex_fp_value_count < LAZY_HEX_FP_VALUES_CNT
&& flag_dump_macros == 0
+ && flag_dump_go_spec == NULL
&& !cpp_get_options (parse_in)->traditional)
{
if (lazy_hex_fp_value_count == 0)