Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU From: mcgrath%paris.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) Newsgroups: gnu.gcc.bug Subject: Taking address of a built-in function Message-ID: <8905252101.AA05269@paris.Berkeley.EDU> Date: 25 May 89 21:01:45 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 7 If a GCC built-in, such as __builtin_abs, is used in an address context, rather than a function context, as in: int (*foo)(int) = __builtin_abs; GCC treats this as if it were not a builtin function. What is should do, I think, is generate a static __builtin_abs function and use its address.