This is the mail archive of the gcc@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]

Re: rfc: __builtin_syntax_error


On Jan 15, 2002, Aldy Hernandez <aldyh@redhat.com> wrote:

>> Did you try it?  I bet you'll get the prototyping error/warning even if
>> the call to it is never emitted.

> hmmm. you're right.  i've reverted to __altivec_link_error_invalid_argument
> and then having a dummy entry in altivec.h:

> /* Dummy prototype.  */
> extern void __altivec_link_error_invalid_argument ();

Are you sure that, if you compile without optimization, the call of
this undefined function is still going to be optimized away?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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