From 5f76ab159a4b86b8e4d74f40b8189994646d562f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 3 Sep 2019 19:42:38 +0000 Subject: [PATCH] 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 --- gcc/c-family/ChangeLog | 5 +++++ gcc/c-family/c-cppbuiltin.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 1723dda33c535..e4f011d726b00 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2019-09-03 Ian Lance Taylor + + * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand + when using -fgo-dump-spec. + 2019-09-02 Martin Liska PR c++/91155 diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index 6b18246e0b663..fc68bc4d0c48f 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)