This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran] fix -Wuninitialized -Werror in fortran/module.c


On Mon, Nov 16, 2009 at 09:37:08PM -0200, Alexandre Oliva wrote:
> After much inlining and optimization, GCC is not clever enough to
> realize that variable op is initialized in every path to every use.
> 
> I ran into this on ia64-linux-gnu, IIRC with bootstrap-O3.
> 
> Ok to install?

Yes.  Can you add a "/* Silence GCC.  */" comment after the
semicolon to make it clear that the 0 value is never used.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]