Flag to warning about shape/alignment-change of explicit shape arrays arguments

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Jun 4 18:21:00 GMT 2019


On Tue, Jun 04, 2019 at 05:56:01PM +0000, Jonatan Öström wrote:
> Dear GCC developers, this is a feature request.
> 
> It would be nice to have a flag like -Wrealign (or -Wreshape
> or some better name) to warn when an array 'aa' doesn't match
> the dimensions given in an explicit shape formal argument 'bb'.
> 

Seems odd to issue a warning for standard conforming code.

-- 
Steve



More information about the Fortran mailing list