On July 15, 2015 4:52:41 PM GMT+02:00, Michael Matz <m...@suse.de> wrote: >Hi, > >On Wed, 15 Jul 2015, Michael Matz wrote: > >> Similar for "ptr->foo" if "ptr" is nowhere mentioned in code or >tables. >> In effect DECL_VALUE_EXPR refers to stale decls that aren't >initialized, >> aren't given a place and aren't dealt with in code. > >Or, maybe we're talking past each other. You mean the case where >complicated-expr-on-Y is the value-expr, and Y is _no_ stale decl, but >the >complicated expr itself nevertheless is mentioned nowhere else? Yes, >those trees must be retained, I was only talking about the stale-decl >cases.
Yes. And that's the case where we still want to collect the decl if it is not mentioned anywhere else. Thus use a cache map. But then we'll ICE on the new sanity check. > >Ciao, >Michael.