++
Assignee: unassigned at gcc dot gnu.org
Reporter: cbcode at gmail dot com
Target Milestone: ---
The following generates
internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3869
for gcc-10.1.0 (x86_64 and i686, Linux), gcc-9.x also ICEs.
gcc-8.x and gcc-7.x are fine, so are clang
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cbcode at gmail dot com
Target Milestone: ---
Created attachment 47157
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47157&action=edit
minimal example showing
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56862
Bug #: 56862
Summary: std::complex constructor ambiguous overload
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: cbcode at gmail dot com
Target Milestone: ---
x86_64 gcc-6 (tested with 6.4.0 and 6.3.0 under linux and 6.4.0 under
windows/mingw) generates incorrect code when optimizing with -O3 in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87139
cbcode at gmail dot com changed:
What|Removed |Added
CC||cbcode at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87139
--- Comment #3 from cbcode at gmail dot com ---
-fno-strict-aliasing makes no difference.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87139
--- Comment #5 from cbcode at gmail dot com ---
(In reply to H.J. Lu from comment #4)
> (In reply to cbcode from comment #2)
> > Created attachment 44621 [details]
> > test reproducing the problem
>
> How to show t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26461
cbcode at gmail dot com changed:
What|Removed |Added
CC||cbcode at gmail dot com
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cbcode at gmail dot com
Target Milestone: ---
ICE on the line indicated below.
void test() {
constexpr int N = 1;
constexpr auto a1 = [](auto){
static_assert(N == 1
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cbcode at gmail dot com
Target Milestone: ---
// gcc has known problems with variadic CTAD, not sure if this is related.
// regression (was fine in v8.3.0).
template struct F0 { //OK
10 matches
Mail list logo