rfc: __builtin_syntax_error

Alexandre Oliva aoliva@redhat.com
Tue Jan 15 16:45:00 GMT 2002


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



More information about the Gcc mailing list