------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2005-03-18 02:33 ------- Subject: Re: [4.0/4.1 Regression] Bootstrap failure because of aliased symbols
> Hmm, yep, probably caused by my change. Confirmed. > It looks like with my change fold_widened_comparison is now converting > (int)t == -1 into the equivalent t == (typeof(t))-1. Normally, this > would be reasonable but the "special" semantics of > HAVE_canonical_funcptr_for_compare clearly screw this up. The bootstrap still fails with your suggestion. fold_widened_comparison returns here: if (arg0_unw == arg0) return NULL_TREE; as the function pointer is not being widen by the int cast of the function pointer. It seems that it's the change to tree.c that causing the problem. However, there might still be a problem with fold_widened_comparison if the cast had been to long long. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20493