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 target/15642] NAN Is Not a Constant Because __APPLE_CC__ is Not Defined (OK in Apple 3.3.0)


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-28 00:16 -------
I think I have a fixincl fix but I cannot test it until I build autogen which it fails for me.
Here is the inclhack.def part which I created:
/*
 * Fixup Darwin's broken check for __builtin_nanf.
 */ 
    
fix = {
   hackname = broken_nan;
    files    = "architecture/ppc/math.h";
    files    = "architecture/i386/math.h";
    select   = "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)"
     
    c_fix     = format; 
    c_fxi_arg = "#if defined(__GNUC__) && ((__GNUC__ > 4)||((__GNUC__ > 3) && (__GNUC_MINOR__ >= 
3)))"
    
    test_text = "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)"
}; 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at gcc dot gnu dot
                   |                            |org


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


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