[Bug c++/93140] Segfault in cc1plus on incorrect decltype among function args

2020-01-03 Thread gcc at lxlz dot space
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93140 --- Comment #2 from Denis Sheremet --- (In reply to Martin Liška from comment #1) > Is the code snippet invalid, right? It was invalid on real-life example I caught, but it could be valid if `Bar` function is defined and takes no arguments, like

[Bug c++/93140] New: Segfault in cc1plus on incorrect decltype among function args

2020-01-03 Thread gcc at lxlz dot space
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at lxlz dot space Target Milestone: --- Created attachment 47583 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47583&action=edit mcve Failure happens when variadic t