This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8861] [3.3/3.4 regression] [ABI] mangling floating point literal in template arg expression
- From: "zack at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2003 19:23:56 -0000
- Subject: [Bug c++/8861] [3.3/3.4 regression] [ABI] mangling floating point literal in template arg expression
- References: <20021207125600.8861.catherin@ca.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8861
------- Additional Comments From zack@codesourcery.com 2003-06-08 19:23 -------
Subject: Re: PATCH: mangling floating point literal in
template arg expression
Richard Henderson <rth@redhat.com> writes:
> On Sun, Jun 08, 2003 at 11:13:15AM -0700, Zack Weinberg wrote:
>> + for (i = 0; i < words; i++)
>> + {
>> + sprintf (buffer, "%08lx", target_real[i]);
>> + write_chars (buffer, 8);
>
> If leading zeros are to be removed, then __DENORM_MIN__ should
> be "1", not "00000001".
It says "fixed length", so I was assuming leading zeroes were _not_ to
be removed.
zw