https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71602

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org

--- Comment #2 from vries at gcc dot gnu.org ---
It seems the test-case is illegal. Clang gives an error:
...
$ clang test.c -S
test.c:5:20: error: first argument to 'va_arg' is of type '__builtin_va_list *'
and not 'va_list'
  __builtin_va_arg(pap, int); 
                   ^~~
1 error generated.
...

We should give an error instead of ICE-ing.

Reply via email to