This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] pr21061 - gfortran ignores -Werror
- From: Bernhard Fischer <rep dot nop at aon dot at>
- To: Brooks Moses <bmoses at stanford dot edu>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Nov 2006 15:30:03 +0100
- Subject: Re: [patch, fortran] pr21061 - gfortran ignores -Werror
- References: <20060321185018.GC5394@aon.at> <20060421075829.GA1137@aon.at> <20060705192720.GA24502@aon.at> <20060913210419.GB85842@troutmask.apl.washington.edu> <20060914125902.GB15618@aon.at> <20060918001737.GA78473@troutmask.apl.washington.edu> <4538834F.8050501@stanford.edu>
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.