This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20493] [4.0 Regression] Bootstrap failure
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 06:42:16 -0000
- Subject: [Bug middle-end/20493] [4.0 Regression] Bootstrap failure
- References: <20050316054704.20493.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-16 06:42 -------
Created an attachment (id=8400)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8400&action=view)
patch which might fix this
This patch might fix the problem. Basically we should not do canonicalizing if
one side is an integer constant. Could you test this for me since I don't have
access to hppa-linux-gnu at all (or any other hppa machine)?
Also does the 4.0 branch fail or just the mainline?
I want to say both since this was introduced with the patch to fix PR 17564.
Oh, in the following code should we be doing the canonicalizing:
typedef int (*fptr_t) (void);
int f (fptr_t t)
{
return t == (fptr_t)-1;
}
Because after this patch we don't, I don't know if this is the correct thing to
do or not, I want to say yes but you should know better.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20493