[Bug c++/108972] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551 since r13-3601-g2b0e81d5cc2f7e1d

2023-03-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108972

Martin Liška  changed:

   What|Removed |Added

 CC||nathan at gcc dot gnu.org
Summary|ICE: tree check: expected   |ICE: tree check: expected
   |tree that contains 'decl|tree that contains 'decl
   |common' structure, have |common' structure, have
   |'error_mark' in |'error_mark' in
   |compare_lambda_template_hea |compare_lambda_template_hea
   |d, at cp/lambda.cc:1551 |d, at cp/lambda.cc:1551
   ||since
   ||r13-3601-g2b0e81d5cc2f7e1d

--- Comment #2 from Martin Liška  ---
Likely started with r13-3601-g2b0e81d5cc2f7e1d.

[Bug c++/108972] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551

2023-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108972

Richard Biener  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2023-03-01
   Keywords|lto |error-recovery
 Status|UNCONFIRMED |NEW

--- Comment #1 from Richard Biener  ---
Confirmed.  Happens without any options as well.