Re: [PATCH] Avoid invalid sharing of ADDR_EXPRs (PR fortran/55935)

2013-01-12 Thread Richard Biener
Jakub Jelinek wrote: >Hi! > >As discussed in the PR, the extra verification of location blocks >Richard >posted recently fails on some Fortran testcases. The problem is that >ADDR_EXPRs in static const var initializers contain locations (fixed by >the >trans-expr.c hunks), and that gimple-fold m

[PATCH] Avoid invalid sharing of ADDR_EXPRs (PR fortran/55935)

2013-01-11 Thread Jakub Jelinek
Hi! As discussed in the PR, the extra verification of location blocks Richard posted recently fails on some Fortran testcases. The problem is that ADDR_EXPRs in static const var initializers contain locations (fixed by the trans-expr.c hunks), and that gimple-fold makes the ADDR_EXPRs shared, so