[PATCH, libgfortran] Fix PR21875 (FM111.f) BN and BZ format specifiers
Jerry DeLisle
jvdelisle@verizon.net
Wed Jul 20 02:55:00 GMT 2005
Steven Bosscher wrote:
> On Sunday 10 July 2005 01:43, Jerry DeLisle wrote:
>
>>Whitespace fixed and comitted to mainline.
>
>
> Unfortunately this breaks a bunch of SPECfp benchmarks. There
> is a test case in the PR audit trail. Could you give it a look
> please?
I have isolated two separate problems. The first is discovered
coincidentally bacause of the manual entry of numbers from the console
in the reduced case given in bugzilla that you referred to.
1) When reading from stdin, the flags.blank was set to BLANK_ZERO. This
causes trailing blanks on input fields to be converted to zero's
resulting in exponents out of range. This is in io/unit.c. The default
should be set to BLANK_UNSPECIFIED.
Once that is fixed, then 2 happens
2) Exponents with trailing blanks are getting garbaged up for some
reason. I am in the middle of fixing that.
So when I have that worked out I will test and submit a new patch.
-- Jerry
More information about the Gcc-patches
mailing list