This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/8861] [3.3/3.4 regression] [ABI] mangling floating point literal in template arg expression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]