Commit b49cf425 by Joern Rennecke Committed by Joern Rennecke

re PR bootstrap/44512 (--enable-build-with-cxx bootstrap fails in revision 160669)

        PR bootstrap/44512
        * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
        for C++ standard compliance.

From-SVN: r160922
parent 2383acbd
2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
PR bootstrap/44512
* c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
for C++ standard compliance.
2010-06-16 Jason Merrill <jason@redhat.com> 2010-06-16 Jason Merrill <jason@redhat.com>
* c.opt: Add -Wnoexcept. * c.opt: Add -Wnoexcept.
......
...@@ -1022,7 +1022,8 @@ builtin_define_with_hex_fp_value (const char *macro, ...@@ -1022,7 +1022,8 @@ builtin_define_with_hex_fp_value (const char *macro,
lazy_hex_fp_values[lazy_hex_fp_value_count].fp_suffix = fp_suffix; lazy_hex_fp_values[lazy_hex_fp_value_count].fp_suffix = fp_suffix;
lazy_hex_fp_values[lazy_hex_fp_value_count].macro = node->value.macro; lazy_hex_fp_values[lazy_hex_fp_value_count].macro = node->value.macro;
node->flags |= NODE_BUILTIN; node->flags |= NODE_BUILTIN;
node->value.builtin = BT_FIRST_USER + lazy_hex_fp_value_count; node->value.builtin
= (enum cpp_builtin_type) (BT_FIRST_USER + lazy_hex_fp_value_count);
lazy_hex_fp_value_count++; lazy_hex_fp_value_count++;
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment