This is the mail archive of the gcc-bugs@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]

[Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-03-18 03:26 -------
Subject: Re:  [4.0/4.1 Regression] Bootstrap failure because of aliased symbols

> 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.

We actually lose the CONVERT_EXPR in the call to fold_sign_changed_comparison
(fold-const.c:9166).  Previously, we didn't.  However, I'm not sure why.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20493


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