pr25039 Frontend problem?
Jerry DeLisle
jvdelisle@verizon.net
Sat Nov 26 05:01:00 GMT 2005
Steve Kargl wrote:
> On Fri, Nov 25, 2005 at 05:38:36PM -0800, Jerry DeLisle wrote:
>
>>Could someone take a look at -fdump-tree-original and confirm if this is a
>>frontend problem. I think this is a regression with this unprintable
>>chracter showing up in the struct statement.
>>
>
>
> Is "1,1" valid input (where I'm using quotes because space is important)?
> The read statement is READ(5,'(2i9)') I1,I2. This is expecting 2 integers
> where the width of each integer field is 9 characters. "1,1" is 3
> characters. It's been awhile since I looked at what a comma does
> in formatted input (I normally do unformatted input). Does a comma
> short-circuit a field width?
>
Thats what I thought, that the spaces mattered. Well g77 and ifort accept the
input and evidently a comma does short-circuit the field width. So, I am
working on that part with the 4.0 branch for now. The dump original from the
4.2 trunk looked really odd to me though and I was having a little build problem
(now ok) so I am staying away from 4.2 until the frontend question is answered.
--Jerry
More information about the Fortran
mailing list