This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
Dear All, This turned out to be a valid uninitialized variable warning. However, it was unlikely ever to cause problems at run-time. Nonetheless, here is the fix. I am disinclined to load the testsuite with a fix that is so specific and localized that it simply will not break. However, if reviewers think otherwise, I can easily add the original testcase. Bootstrapped and regtested on FC17/x86_64 - OK from trunk and 4.8? Cheers Paul 2013-11-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/58410 * trans-array.c (gfc_alloc_allocatable_for_assignment): Do not use the array bounds of an unallocated array but set its size to zero instead.
Attachment:
pr58410.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |