https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77655
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org,
| |paolo at gcc dot gnu.org
Known to work|5.4.0 |
Target Milestone|6.3 |5.5
Summary|[6/7 Regression]ICE on |[5/6/7 Regression]ICE on
|invalid c++ code on |invalid c++ code on
|x86_64-linux-gnu (internal |x86_64-linux-gnu (internal
|compiler error: |compiler error:
|Segmentation fault (program |Segmentation fault (program
|cc1plus)) |cc1plus))
Known to fail| |5.4.0
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -std=c++0x the ICE is much older.
In particular, r170459 started to ICE on this (before that it got rejected with
pr77655.C: In function ‘decltype (g(0, (g<A&...>)(h::a)...)) h(A&& ...) [with A
= {}, decltype (g(0, (g<A&...>)(h::a)...)) = void]’:
pr77655.C:8:5: instantiated from here
pr77655.C:4:3: error: no matching function for call to ‘h(h(A&& ...) [with A =
{}, decltype (g(0, (g<A&...>)(h::a)...)) = void]::<lambda()>)’
pr77655.C:4:3: note: candidate is:
pr77655.C:3:6: note: template<class ... A> decltype (g(0, (g<A&...>)(h::a)...))
h(A&& ...)
while r170459 gives:
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
and starting with r198487 it gets the current diagnostics + ICE afterwards.