[patch, fortran] pr21061 - gfortran ignores -Werror

Bernhard Fischer rep.nop@aon.at
Thu Nov 2 14:29:00 GMT 2006

On Fri, Oct 20, 2006 at 01:05:35AM -0700, Brooks Moses wrote:
>Steve Kargl wrote (on 2006/09/17):
>>On Thu, Sep 14, 2006 at 02:59:02PM +0200, Bernhard Fischer wrote:
>>>Attached is a revised and much simpler fix for PR fortran/21061 where
>>>-Werror was ignored. The attached patch makes sure that we exit(1)
>>>properly even for warnings.
>>I think the patch is ok.
>It looks like this never got committed, however.
>(See http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00551.html for the 
>original patch post.)
>If this was fixed in some other manner, this should probably be removed 
>from the patch queue.

It was not yet fixed nor committed due to problems with dejagnu.
See http://gcc.gnu.org/ml/gcc/2006-10/msg00408.html

I'm rewriting the testcases (for free- and fixed form) now and want to
see if i can use dg-final { scan-assembler ".*" }.

If this does not work out, then i propose to omit the testcases since
they are just ment to check that no object is created and that we
exit(1) if gfc_warning{,_now} or gfc_notify_std was called.

More information about the Gcc-patches mailing list