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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We get a stack overflow on the trunk.
GCC, ICC, MSVC and clang all crash out on this testcase.

Well ICC gives a decent error message:
<source>(2): fatal error C1067: compiler limit: 64K limit on size of a type
record has been exceeded

I wonder if we could give an error after a specific number of arguments, let's
say 1024 or so.

Maybe that would be enough to catch this testcase since the number of arguments
raise expentionally here.

Reply via email to