[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:26:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 06:26 -------
The following code is another example:
typedef int (*fptr_t) (void);

int __canonicalize_funcptr_for_compare (fptr_t t)
{
  return (int)(t) == -1;
}

Hmm, I have not traced it yet but maybe we should not call __canonicalize_funcptr_for_compare when 
we are comparing against constants.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |middle-end
           Keywords|                            |build


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



More information about the Gcc-bugs mailing list