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]

[gfortran,patch] Remove spurious "uninitialized" warnings for array descriptor fields


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:


Attachment: pr29459.ChangeLog
Description: Binary data

Attachment: pr29459.diff
Description: Binary data


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