Hi Andre and Thomas, Thanks for looking at this.
I left the condition as it is because it is the same practice as all sorts of other parts of gfortran. That said, Thomas's suggestion is I think the right one. Committed revision as revision 254427. 7-branch will come later. Regards Paul On 4 November 2017 at 18:35, Thomas Koenig <tkoe...@netcologne.de> wrote: > Hi Andre, > >> Shouldn't that better be >> >> if ((gfc_option.allow_std & GFC_STD_F2003) > 0 > > > I think that > > if ((gfc_option.allow_std & GFC_STD_F2003) > > would be better - the allow_std field is signed, and > things could get hariy if we ever have close to 32 > standards we would like to support. > > Hm, come to think of it, is there a special reason to keep > this signed, or could we just change it to unsigned? > > Regards > > Thomas -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein