Possible bug in tree-ssa-loop-ivopts.c:prepare_decl_rtl?

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Wed Sep 28 14:31:00 GMT 2005


Hello,

> There don't seem to be many comments explaining why we're doing
> what we're doing here, so I'm not sure whether this was the intended
> behaviour or not.  Do we really want to kick out existing DECL_RTLs,
> or is there simply a missing !DECL_RTL_SET_P in the DECL_P condition:

I think that adding the !DECL_RTL_SET_P should work.  Nevertheless,
prepare_decl_rtl and friends should disappear when killloop-branch is merged
(I have a patch for this in testing, not yet commited to the branch).

Zdenek



More information about the Gcc mailing list