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: Fix PR34916, 35519 Combine (Dataflow merge regression.)


On Tue, Mar 18, 2008 at 11:27 PM, Andy H <hutchinsonandy@aim.com> wrote:
> Please refer to PR35519 which contains a detailed explanation.
>
>  *http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35519*
>
>  If necessary, I can provide further clarification.
>
>  Anything is cheaper than the current bug but  I could not figure out a
>  cheaper way to solve issue.

>From the comment it seems you could get away just checking the first element
for the duplicate and not bother to continue walking if that didn't match.

You can add a ENABLE_CHECKING path that verifies this assumption.

Otherwise I think the log-links are a poor data structure ;)

Richard.


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