[Fortran, Patch] PR31188 - Allow array dummy as range for constant arrays

FX Coudert fxcoudert@gmail.com
Thu Mar 15 21:48:00 GMT 2007

> 2007-03-15  Tobias Burnus  <burnus@net-b.de>
> 	PR fortran/31188
> 	* expr.c (gfc_simplify_expr,find_array_section): Support
> 	  non-expression-constant variables.

Paul proposed another patch in the PR trail, which looks cleaner to  
me as it doesn't add the expr_const arg. Now I imagine there was a  
reason for you adding it in the first place, could you comment on  
Paul's patch (or could Paul comment on your patch)?

Otherwise, the reasoning looks OK, and I think when you both agree,  
you can go ahead and commit whatever it is you decided. (and, if both  
patches are equivalent, I'd prefer we don't add the expr_const  

Thanks for acting so fast,

More information about the Gcc-patches mailing list