This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2005 03:26:05 -0000
- Subject: [Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols
- References: <20050316054704.20493.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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