[gfortran] patch PR 17229

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Fri Apr 8 09:45:00 GMT 2005


François-Xavier Coudert wrote:
>>2. can you arrange match_if to also call this function? (In that case of
>>course it would only be an obsolete statement, as Walt Brainerd mentioned
>>yesterday, and a different warning should be issued.  So if  that the gains
>>from merging this might not be worth it.)
> 
> 
> Not trivially, since match_if has already matched part of the IF statement 
> (precisely, the IF and the left parenthesis) when it try to match an 
> arithmetic IF. If I change things to work around that, the code inside the 
> loop matching the simple IF action-statement will not be as simple.
> 
> So, basically, the answer is: I don't see how to do that easily (plus I lack 
> the proper broadband access to do so). Sorry.

I hadn't thought of the parenthesis.  So I think your approach is the right one.

> OK for everyone? (I think there are no more standard issues)

>From my point of view, and given what I've learned in this thread, it's ok.

- Tobi



More information about the Gcc-patches mailing list