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

Alexandre Oliva aoliva@redhat.com
Wed Nov 18 10:29:00 GMT 2009


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfortran-module-init-nowarn.patch
Type: text/x-diff
Size: 553 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20091118/648ca399/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


More information about the Fortran mailing list