[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611) with invalid -fpreprocessed

2024-02-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113612

Marek Polacek  changed:

   What|Removed |Added

   Priority|P4  |P2
 CC||mpolacek at gcc dot gnu.org,
   ||ppalka at gcc dot gnu.org
   Keywords|error-recovery, |ice-on-valid-code
   |ice-on-invalid-code,|
   |needs-bisection |

--- Comment #2 from Marek Polacek  ---
clang++ compiles this, and so did we:

template  T t;
template  extern T *t;
template  T *t = t;

Started with r13-6380:

commit d3d205ab440886164b6de2be2a2efa10cac95b66
Author: Patrick Palka 
Date:   Tue Feb 28 15:05:30 2023 -0500

c++: non-dependent variable template-id [PR108848]

[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611) with invalid -fpreprocessed

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113612

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P4

[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611) with invalid -fpreprocessed

2024-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113612

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||needs-bisection
   Last reconfirmed||2024-01-26
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
Confirmed.

[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611) with invalid -fpreprocessed

2024-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113612

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||error-recovery
   Target Milestone|--- |13.3
Summary|ICE: SIGSEGV in |[13/14 Regression] ICE:
   |get_template_info   |SIGSEGV in
   |(pt.cc:378) or tree_check   |get_template_info
   |(tree.h:3611) with invalid  |(pt.cc:378) or tree_check
   |-fpreprocessed  |(tree.h:3611) with invalid
   ||-fpreprocessed
  Known to work||13.2.0