[Patch, fortran] PR35680 - [4.3/4.4 regression] ICE on invalid transfer in variable declaration

Dominique Dhumieres dominiq@lps.ens.fr
Sun Oct 5 08:18:00 GMT 2008


Paul,

Your patch replaces the ICE by the expected error. However I have found that it
interferes with the Daniel Kraft's patch in

http://gcc.gnu.org/ml/fortran/2008-09/msg00411.html

After some refactoring of this patch I have been able to combine the two.
In this case I have found that the third test in the Daniel's patch gives
only one error instead of two. I think it comes from the fact that
sym->attr.error is not reset after use (it may also be used unitialized?).

Thanks for the patch.

Dominique



More information about the Fortran mailing list