[gfortran,patch] Remove spurious "uninitialized" warnings for array descriptor fields
FX Coudert
fxcoudert@gmail.com
Wed Jul 4 09:18:00 GMT 2007
Attached patch partially fixes PR29459 by marking some internal
variables generated by the front-end for arrays (lbound, ubound,
stride, size and offset) with TREE_NO_WARNING. Since these variables
are not create by the user, emitting warnings about them is only
confusing to the user, and not helpful in any way.
Regtested on x86_64-linux, OK for mainline?
:ADDPATCH fortran:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr29459.ChangeLog
Type: application/octet-stream
Size: 285 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070704/028cc954/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr29459.diff
Type: application/octet-stream
Size: 2459 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070704/028cc954/attachment-0001.obj>
More information about the Gcc-patches
mailing list