[Bug c++/95143] SFINAE failure with static_cast

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 --- Comment #13 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:be464161b4ae128681958d94aa460531cf30e0a4 commit r11-459-gbe464161b4ae128681958d94aa460531cf30e0a4 Author: Marek Polacek Date: Mo

[Bug c++/95143] SFINAE failure with static_cast

2020-05-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 --- Comment #11 from Jonathan Wakely --- Possibly fixed as part of PR 94885.

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 Jonathan Wakely changed: What|Removed |Added Known to fail||10.1.0 Keywords|

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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.

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
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

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/95143] SFINAE failure with static_cast

2020-05-14 Thread familiebaumanns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 Bernd Baumanns changed: What|Removed |Added URL||https://godbolt.org/z/yVjQf