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 Regression] Bootstrap failure


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


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