[Patch, fortran] PR27996 and PR29978 - warnings and errors on character lengths

Paul Thomas paulthomas2@wanadoo.fr
Thu Nov 30 21:44:00 GMT 2006


Tobias,
> And as Fortran 2003 requires the same you should use GFC_STD_GNU.
Done - OK
> What is the difference between a and b? Or asking differently: Why is
> the error detected for "a" and not for "b"?
>   
This is embarrassing.... I asked myself the same question, couldn't 
answer it, left it for a week and forgot about it :-)

It truns out that for the initializer errors are cleared so that 
gfc_notify_std doesn't work Applying gfc_error_check causes it to report 
multiply.  I have therefore applied  GFC_STD_GNU by hand and used 
gfc_error_now.

Regtests on Cygwin_NT/amd64  OK now for trunk?

Thanks

Paul
 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Change.Logs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061130/4294a0f8/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr27998.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061130/4294a0f8/attachment-0001.ksh>


More information about the Gcc-patches mailing list