On Mon, 4 Aug 2014, Jakub Jelinek wrote:

I've tried to bootstrap with r213515 because later revisions broke because
of the hash_map and Ada changes, but unfortunately even that revision
failus to bootstrap, the new -Wreturn-local-addr warning rightfully
warns about get_ivts_expr possibly returning address of a local variable.

It seems that n_loc is always 1 and loc[0] is always 1, already since
4.0 when these loop-unroll.c changes have been introduced, so I think the
best fix is just to remove those two fields.

Thanks, that will fix PR 62005.
I'll try to remember to test with RTL checking for the next warning patch.

--
Marc Glisse

Reply via email to