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]

Re: [Patch, fortran] PR28660 - Spurious warning: 'ubound.6' is used uninitialized in this function


Steve,


+ case REF_SUBSTRING: + generate_expr_decls (sym, ref->u.ss.start); + generate_expr_decls (sym, ref->u.ss.start); + break;

Is this correct? Aren't you trying ref->u.ss.start twice?



Many thanks - I would never have spotted that in, well... not a million years but a long time. It should, of course, reference ref->u.ss.end. It results from cutting, double pasting and forgetting to edit the second. It took a little while to decide if substrings should be included; they should but talk about a low likelehood feature!


Thanks


Paul



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