c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand when using -fgo...
authorIan Lance Taylor <iant@golang.org>
Tue, 3 Sep 2019 19:42:38 +0000 (19:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 3 Sep 2019 19:42:38 +0000 (19:42 +0000)
* c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand
when using -fgo-dump-spec.

From-SVN: r275352

gcc/c-family/ChangeLog
gcc/c-family/c-cppbuiltin.c

index 1723dda33c535ec34c18b2b05e976651e6e6a11d..e4f011d726b00ccf7238541cb8b7366ae00c6899 100644 (file)
@@ -1,3 +1,8 @@
+2019-09-03  Ian Lance Taylor  <iant@golang.org>
+
+       * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand
+       when using -fgo-dump-spec.
+
 2019-09-02  Martin Liska  <mliska@suse.cz>
 
        PR c++/91155
index 6b18246e0b663f3eb705dd82379a9651f616d9f1..fc68bc4d0c48f461976ae9ecc12c4109c2252f46 100644 (file)
@@ -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)