rfc: __builtin_syntax_error
Richard Henderson
rth@redhat.com
Mon Jan 14 16:54:00 GMT 2002
On Mon, Jan 14, 2002 at 03:41:58PM -0800, Aldy Hernandez wrote:
> if this is what you mean (for the void function), then no.
>
> culebra:/build/t3/gcc$ cat b.c
> main() {
> __builtin_choose_expr(1, 5, (0 = 0));
> }
> culebra:/build/t3/gcc$ ./cc1 -quiet b.c
> b.c: In function `main':
> b.c:2: invalid lvalue in assignment
I wondered if this might happen. Yer screwed. There's no
solution here witout the diag changes Joseph mentioned.
For now, just put an abort as the last entry. That'll at
least catch the problem at runtime.
r~
More information about the Gcc
mailing list