This is the mail archive of the gcc-patches@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]

Re: [PATCH, libgfortran] Fix PR21875 (FM111.f) BN and BZ formatspecifiers


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


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