Skip to content

Commit

Permalink
c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand when…
Browse files Browse the repository at this point in the history
… using -fgo-dump-spec.

	* c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand
	when using -fgo-dump-spec.

From-SVN: r275352
  • Loading branch information
ianlancetaylor authored and Ian Lance Taylor committed Sep 3, 2019
1 parent deeedba commit 5f76ab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gcc/c-family/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2019-09-03 Ian Lance Taylor <[email protected]>

* c-cppbuiltin.c (builtin_define_with_hex_fp_value): Always expand
when using -fgo-dump-spec.

2019-09-02 Martin Liska <[email protected]>

PR c++/91155
Expand Down
1 change: 1 addition & 0 deletions gcc/c-family/c-cppbuiltin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f76ab1

Please sign in to comment.