https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95982
Bence Kodaj changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95986
Bence Kodaj changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95986
--- Comment #2 from Bence Kodaj ---
For what it's worth #2: In gcc 11.2, instead of a failed static assertion, we
get an internal compiler error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95982
--- Comment #6 from Bence Kodaj ---
For what it's worth, the bug is no longer present in gcc 11.1.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95986
Richard Biener changed:
What|Removed |Added
Keywords||rejects-valid
W E Brown changed:
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: bence.kodaj at gmail dot com
Target Milestone: ---
In the code below I would expect the static assertion __not__ to fail, but it
does.
OS: Ubuntu 18.04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95982
--- Comment #2 from Bence Kodaj ---
Note: the ICE goes away if I remove the -Wall option.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95982
Bence Kodaj changed:
What|Removed |Added
URL|https://wandbox.org/permlin |https://godbolt.org/z/6BpK2
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: bence.kodaj at gmail dot com
Target Milestone: ---
The code below causes an ICE saying "unexpected expression ‘’ of
kind template_parm_index".
OS: Ubun
++
Assignee: unassigned at gcc dot gnu.org
Reporter: bence.kodaj at gmail dot com
Target Milestone: ---
The following code causes an ICE in extract_call_expr, at cp/call.c:6614:
--
#include
template< std::size_t N >
struct StrLiteral
{
const std:
10 matches
Mail list logo