++
Assignee: unassigned at gcc dot gnu.org
Reporter: familiebaumanns at gmail dot com
Target Milestone: ---
Bug 90080 - [8 Regression] SFINAE failure with static_cast
Bug 87748 - [8 Regression] G++-8 treats SFINAE as error
This bug seems to be back in g++-10.1
See the following code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
Bernd Baumanns changed:
What|Removed |Added
URL||https://godbolt.org/z/yVjQf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #3 from Bernd Baumanns ---
Created attachment 48541
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48541&action=edit
ii file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #4 from Bernd Baumanns ---
Created attachment 48543
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48543&action=edit
g++-10 -v -save-temps -std=c++2a /mnt/j/test.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #5 from Bernd Baumanns ---
Created attachment 48544
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48544&action=edit
source
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #6 from Bernd Baumanns ---
simplified source (without include type_traits):
class false_type
{
public:
static constexpr bool value = false;
};
class true_type{
public:
static constexpr bool value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #7 from Bernd Baumanns ---
I hope you have now all you need.
This bug is only triggered in C++20 mode and with inheritance.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #8 from Bernd Baumanns ---
fails with this version:
g++ (Compiler-Explorer-Build) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143
--- Comment #9 from Bernd Baumanns ---
fails with this version:
g++-10.1 (GCC) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABIL
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: familiebaumanns at gmail dot com
Target Milestone: ---
Created attachment 48853
--> https://gcc.gnu.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96141
--- Comment #1 from Bernd Baumanns ---
Here you can see the error at godbolt:
https://godbolt.org/z/PGarTE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96141
--- Comment #2 from Bernd Baumanns ---
Created attachment 48854
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48854&action=edit
II File
II File
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59135
Bernd Baumanns changed:
What|Removed |Added
CC||familiebaumanns at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96141
--- Comment #3 from Bernd Baumanns ---
Is there something missing in that if? What must be changed?
This is assert fails:
/* ??? If this is a local variable, and it has not been seen in any
outer BIND_EXPR, then it's probably the result of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415
Bernd Baumanns changed:
What|Removed |Added
CC||familiebaumanns at gmail dot
com
15 matches
Mail list logo