Lese selbst:
http://brandenburg.rz.fhtw-berlin.de/poetschke.html
y(arg2));
Note (fix 2): if 'const int' is replaced with 'int' everywhere, everything
works fine.
--
Summary: const rvalue cast results in internal compiler error
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: nor
ssigned at gcc dot gnu dot org
ReportedBy: wsf at fultondesigns dot co dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34822
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wsf at fultondesigns dot co.uk
Target Milestone: ---
Observed in gcc-13.1.0, 13.2.0, gcc-14 (gcc-trunk-20240318).
Minimal testcase:
#include
template< class String_t
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wsf at fultondesigns dot co.uk
Target Milestone: ---
Standalone code is below and triggers warning
gcc-14.1.0/include/c++/14.1.0/bits/stl_algobase.h:452:30: warning: '