[patch, fortran] PR34495 - accepts invalid init-expr with TRANSFER
Tobias Burnus
burnus@net-b.de
Wed Dec 19 00:05:00 GMT 2007
Daniel Franke wrote:
>>>>> 2007-12-18 Daniel Franke <franke.daniel@gmail.com>
>>>>>
>>>>> PR fortran/34495
>>>>> * transfer_simplify_2.f90: Fixed invalid initialization expressions.
>>>>> * transfer_simplify_7.f90: New test.
>>>>>
> Regression tested on i686-pc-linux-gnu, no errors.
>
I think here, the indenting is wrong:
+ gfc_error("PARAMETER '%s' is used at %L before its definition "
+ "is complete", e->symtree->n.sym->name, &e->where);
+ t = FAILURE;
Otherwise OK.
Thanks for the patch!
Tobias
More information about the Gcc-patches
mailing list