[Patch, Fortran] PR57217 - re-add type checks for TBP overriding

Tobias Burnus burnus@net-b.de
Sun May 12 16:18:00 GMT 2013


Janus Weil wrote:
> Ok, so: How about the attached patch as a simple & backportable fix 
> for the regression? (Ok for trunk/4.8/4.7?)

I think that part is okay - but as you mentioned TYPE(*) in your last 
email: That doesn't work; I think compare_type_rank should be made 
asymmetrical in this regard (ditto for "!gcc$ attributes no_arg_check"). 
Thus, could you fix that part as well?

> I suggest the rest (i.e. splitting up compare_type_rank, improving 
> error messages, etc) should be done in a follow-up patch on trunk 
> only. (I might even volunteer do to this once I find the time ...)

I am fine with that suggestion. Regarding the your other email in this 
thread: I was indeed talking about that part of the 
proc-pointer-assignment check.

Tobias



More information about the Gcc-patches mailing list