From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,e3f1496d33bc8853,start X-Google-Attributes: gid113d02,public X-Google-Thread: 1025b4,e3f1496d33bc8853,start X-Google-Attributes: gid1025b4,public X-Google-Thread: fee84,e3f1496d33bc8853,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-06-09 11:56:24 PST Xref: gmd.de gnu.gcc.bug:3945 comp.unix.osf.osf1:447 gnu.misc.discuss:5027 To: bug-gcc@prep.ai.mit.edu From: heading@signal.dra.hmg.gb (Anthony J.R. Heading) Newsgroups: gnu.gcc.bug,comp.unix.osf.osf1,gnu.misc.discuss Subject: OSF/1 header file disaster Date: 9 Jun 1993 16:57:42 GMT Organization: Defence Research Agency Message-ID: Distribution: world Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!olivea!grapevine.lcs.mit.edu!ai-lab!prep.ai.mit.edu!gnulists Followup-To: gnu.gcc.bug,comp.unix.osf.osf1,gnu.misc.discuss The following code compiles and links under cc on Dec alpha OSF/1: main(){ int x = __builtin_isfloat(int); } Using gcc it bombs out. The predicate is found in the definition of va_list in /usr/include/varargs.h, and since the code is illegal C, I suppose is hardwired into DECs compiler. Is this not extremely unpleasant? I've cross-posted this to comp.unix.osf.osf1 because it's a bug, to gnu.gcc.bug for relevance, and gnu.misc.discuss for any general comments. Anthony.