re PR c++/8861 ([ABI] mangling floating point literal in template arg expression)
authorZack Weinberg <zack@gcc.gnu.org>
Mon, 9 Jun 2003 18:47:40 +0000 (18:47 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 9 Jun 2003 18:47:40 +0000 (18:47 +0000)
commit94d3ea58ff99483cba839ec978f65da745b209d0
treebd2d94cde7a0a25aec7bf7173ff72d09ff6c8bf4
parentb14e185fc8fabfe13dca42e9aa7c2990958f64c6
re PR c++/8861 ([ABI] mangling floating point literal in template arg expression)

PR 8861
* mangle.c (write_real_cst): New function.  Implement
ABI-compliant mangling of floating-point literals when
-fabi-version>=2; provide backward compatibility with 3.3 when
-fabi-version=1 (with warning).  Clarify commentary.
(write_template_arg_literal): Use write_real_cst.

From-SVN: r67670
gcc/cp/ChangeLog
gcc/cp/mangle.c