[Bug middle-end/20493] [4.0 Regression] Bootstrap failure
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 16 06:42:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list