[Bug libstdc++/99306] cross compiler bootstrap failure on msdosdjgpp: error: alignment of 'm' is greater than maximum object file alignment 16

2021-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99306 --- Comment #3 from Jonathan Wakely --- It's intended to be the cacheline size, so would use std::hardware_destructive_interference_size, but that's not implemented yet for the reasons given in PR 88466. And also because it's just a very verbose

[Bug libstdc++/99327] ENOTSUP macro does not exist on djgpp crt

2021-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99327 Jonathan Wakely changed: What|Removed |Added Keywords||build Status|UNCONFIRMED

[Bug c++/99335] Comma Operator Evaluation Order - C++ 11 and newer

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99335 --- Comment #1 from Jonathan Wakely --- (In reply to AJ D from comment #0) > I was using CentOS6.8 with gcc 6.2. However, trying other versions of GCC > didn't make any difference. GCC 6.2 is no longer supported, so we don't want bug reports for

[Bug c++/99335] Comma Operator Evaluation Order - C++ 11 and newer

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99335 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/82959] g++ doesn't appreciate C++17 evaluation order rules for overloaded operators

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82959 Jonathan Wakely changed: What|Removed |Added CC||aatsnps at gmail dot com --- Comment #

[Bug c++/82959] g++ doesn't appreciate C++17 evaluation order rules for overloaded operators

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82959 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/99333] std::filesystem::path().is_absolute() thinks UNC paths aren't absolute

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99333 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/99338] -f and -l variants of cmath functions missing (e.g. std::cosf() and std::cosl())

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99338 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/79700] std::fabsf and std::fabsl missing from

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 Jonathan Wakely changed: What|Removed |Added CC||tilman.vogel at web dot de --- Comment

[Bug libstdc++/99338] -f and -l variants of cmath functions missing (e.g. std::cosf() and std::cosl())

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99338 --- Comment #2 from Jonathan Wakely --- As I said in bug 79700, their existence prior to C++17 was underspecified. They were never mentioned in the previous standards.

[Bug libstdc++/99333] std::filesystem::path().is_absolute() thinks UNC paths aren't absolute

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99333 --- Comment #1 from Jonathan Wakely --- The problem is not path::is_absolute(), it's path::has_root_name(), which (by design) only handles //rootname on Cygwin: #ifdef __CYGWIN__ // Interpret "//x" as a root-name, not root-dir + filename # defin

[Bug libstdc++/99333] std::filesystem::path().is_absolute() thinks UNC paths aren't absolute

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99333 --- Comment #3 from Jonathan Wakely --- (In reply to Moritz Bunkus from comment #2) > while Boost recognizes both. That's what I wanted to know, thanks. > Note that __CYGWIN__ is not defined with the compiler from MXE! Obviously, because it's

[Bug libstdc++/99341] New: [11 Regression] new std::call_once is not backwards compatible

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99341 Bug ID: 99341 Summary: [11 Regression] new std::call_once is not backwards compatible Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ABI Sev

[Bug libstdc++/99341] [11 Regression] new std::call_once is not backwards compatible

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99341 Jonathan Wakely changed: What|Removed |Added Known to fail||11.0 Known to work|

[Bug libstdc++/99341] [11 Regression] new std::call_once is not backwards compatible

2021-03-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99341 --- Comment #2 from Jonathan Wakely --- The new implementation added these new symbols to libstdc++.so: _ZNSt9once_flag11_M_activateEv _ZNSt9once_flag9_M_finishEb I think I'd like to keep them, but have the new implementation disabled by defaul

[Bug libstdc++/99356] Recursive std::shared_future:s with std::launch::deferred sporadically deadlock

2021-03-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99356 --- Comment #1 from Jonathan Wakely --- This is probably due to PR 97949 again, because shared_future uses call_once internally.

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99382 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99382 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99382 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/99374] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99374] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374 --- Comment #2 from Jonathan Wakely --- It seems more likely (i.e. very likely) to be caused by r241944 instead.

[Bug c++/99374] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug c++/99386] std::variant overhead much larger compared to clang

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 --- Comment #5 from Jonathan Wakely --- See PR 78113 and PR 86912

[Bug tree-optimization/99396] std::rotl and std::rotr Does not convert into ROTATE on the gimple level

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99396 Jonathan Wakely changed: What|Removed |Added CC|jwakely.gcc at gmail dot com | --- Comment #5 from Jonathan W

[Bug c++/99403] New: Add header fix-it hints for std::this_thread::* and std::jthread

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99403 Bug ID: 99403 Summary: Add header fix-it hints for std::this_thread::* and std::jthread Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug c++/99404] New: Diagnostics for undeclared members of a namespace don't say "namespace"

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99404 Bug ID: 99404 Summary: Diagnostics for undeclared members of a namespace don't say "namespace" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnost

[Bug c++/48396] std::type_info is implicitly declared

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid See Also|

[Bug tree-optimization/99396] std::rotl and std::rotr Does not convert into ROTATE on the gimple level

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99396 --- Comment #10 from Jonathan Wakely --- As you noted on IRC, these functions are undefined for anything except unsigned integral types. Adding that here for observers wondering about comments 7 and 8.

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Known to work|

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #2 from Jonathan Wakely --- (In reply to Kip Warner from comment #0) > // This results in memory corruption, or an abort with STL debugging I don't see any memory corruption, I think it's just a bug in the Debug Mode checks, whic

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #3 from Jonathan Wakely --- François, this can't be right: return std::make_pair(-__seq_dist.first, __seq_dist.second == __dp_exact ? __dp_sign_max_size : __se

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #4 from Jonathan Wakely --- This causes __valid_range to return {11, __dp_sign_max_size} and then we check __result._M_can_advance(11) which fails. We don't want to advance the result by the size of the other sequence, only by distan

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > You should be using __base_dist.second, no? No, it's not that simple. I don't understand how this code is meant to work, but this can't be right: if (

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #6 from Jonathan Wakely --- Reduced: #include #include #include using namespace std; int main() { // any container with non-random access iterators: const set source = { 0, 1 }; vector dest(1); copy(source.begin(

[Bug libstdc++/99413] internal library headers are not header-unit ready

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/70508] libstdc++.*-gdb.py': No such file or directory

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70508 Jonathan Wakely changed: What|Removed |Added Component|other |libstdc++ Keywords|

[Bug libstdc++/70508] libstdc++.*-gdb.py': No such file or directory

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70508 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-03-07 Status|UNCONFIR

[Bug libstdc++/99453] New: libstdc++*-gdb.py installation depends on library naming

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 Bug ID: 99453 Summary: libstdc++*-gdb.py installation depends on library naming Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/99429] [10/11 Regression] ICE for bool return from <=>

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99429 --- Comment #4 from Jonathan Wakely --- Dup of PR 94162 ?

[Bug libstdc++/99439] use_facet> (l); get() API with kMonthDayYearFormat = L"%m/%d/%Y" should allow missing leading zero

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99439 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug libstdc++/45896] [C++0x] Facet time_get not reading dates according to the IEEE 1003 standard.

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45896 Jonathan Wakely changed: What|Removed |Added CC||lewis at sophists dot com --- Comment

[Bug libstdc++/99430] std::filesystem::path: UNC device paths with \\?\… not supported properly

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99430 --- Comment #1 from Jonathan Wakely --- They're simply not supported at all.

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-03-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #2 from Jonathan Wakely --- Yup

[Bug c++/96464] GCC accepts 'auto' in template argument

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96464 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/86826] deduction fails on auto-returning function template

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86826 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/64194] [C++14] for function template with auto return

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 Jonathan Wakely changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comm

[Bug c++/91798] Compiler rejects code due to template specialization of auto parameter value.

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91798 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/78710] suggest better exception text for stoi, stol, ...

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78710 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/99460] [C++20] Template with complex non-type argument re-uses different specialisation

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99460 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/78710] suggest better exception text for stoi, stol, ...

2021-03-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78710 --- Comment #2 from Jonathan Wakely --- (In reply to Nicolai Josuttis from comment #0) > stoi("hello") currently throws an exception where what() only outputs "stoi" > (nothing else). The type of the exception is significant too. It can either t

[Bug libstdc++/93628] ranges::equal_to doesn't work for types convertible to function pointers

2021-03-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93628 --- Comment #1 from Jonathan Wakely --- LWG 3530 should mean we don't have to support such silly types. https://wg21.link/lwg3530 However, we are still required to impose a total order on function pointers, which means ranges::less/greater/less_

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 Jonathan Wakely changed: What|Removed |Added Keywords||build Component|libstdc++

[Bug libstdc++/99533] "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99533 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/99533] "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99533 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > > On Linux, called with / it stops when hitting for example a > > "/proc/1/task/1/cwd", resulting in EPERM too. > > But that happens in your code, not in the

[Bug libstdc++/99413] internal library headers are not header-unit ready

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/99535] g++ rejects valid code in constexpr copy ctor and volatile submember

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99535 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/99536] unexplained warning on "uninitialized value" in std::normal_distribution

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536 --- Comment #1 from Jonathan Wakely --- GCC 5 is old and no longer supported. This is probably a jump threading bug. The _M_saved member is only ever used if _M_saved_available says it can be used, and that is only the case after it's been initi

[Bug libstdc++/99172] Build failure with slibtool and vtv

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99172 --- Comment #12 from Jonathan Wakely --- Comment on attachment 50360 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50360 Proposed patch to fix issue The patch looks good but please CC the libstdc++ list for libstdc++ patches, thanks.

[Bug libstdc++/99537] Wrong memory_order used in stop_token ref-counting

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99537 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-03-11 Ever confirmed|0

[Bug c++/99546] Weird return value of C++20 requires expression

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|wrong-code

[Bug libstdc++/99533] "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99533 --- Comment #3 from Jonathan Wakely --- The standard says that skip_permission_denied means to ignore "an error indicating that permission to access p is denied" and it's pretty clearly intended to correspond to std::errc::permission_denied error

[Bug libstdc++/99552] FAIL: 29_atomics/atomic/wait_notify/bool.cc (test for excess errors)

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99552 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-03-11 Ever confirmed|0

[Bug c++/99536] unexplained warning on "uninitialized value" in std::normal_distribution

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-03-11 Ever confirmed|0

[Bug c++/99546] Weird return value of C++20 requires expression

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546 Jonathan Wakely changed: What|Removed |Added Keywords|accepts-invalid |wrong-code --- Comment #3 from Jonatha

[Bug libstdc++/99552] FAIL: 29_atomics/atomic/wait_notify/bool.cc (test for excess errors)

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99552 --- Comment #4 from Jonathan Wakely --- That's useful to know, thanks. The current header-based implementation is experimental and those aligned objects will be moved into the library at some point, where we can probably control their placement

[Bug libstdc++/99556] time_get::date_order() returns no_order on en_US - it should return mdy

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99556 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/9635] time_get<>::date_order unimplemented

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9635 Jonathan Wakely changed: What|Removed |Added CC||lewis at sophists dot com --- Comment #

[Bug c++/99536] unexplained warning on "uninitialized value" in std::normal_distribution

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536 --- Comment #3 from Jonathan Wakely --- Worked around in libstdc++ on master only for now.

[Bug libstdc++/99533] "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99533 --- Comment #4 from Jonathan Wakely --- Fixed for gcc-11 only for now. This got added to the wrong bug because I used the wrong PR number in the changelog ... The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8cfb38

[Bug libstdc++/97949] Recursive calls of std::call_once together with cout leads to deadlock under mingw64

2021-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97949 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/99558] wrong argument types reported for "no matching function" error message if ctor argument is a variable

2021-03-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99558 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/99599] [11 Regression] Concepts requirement falsely reporting cyclic dependency, breaks tag_invoke pattern

2021-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 Jonathan Wakely changed: What|Removed |Added Known to fail||11.0 CC|

[Bug analyzer/99614] diagnostic-manager.cc:85: possible missing copy constructor ?

2021-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99614 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/99612] Remove "#pragma GCC system_header" from atomic file to warn on incorrect memory order

2021-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99612 --- Comment #1 from Jonathan Wakely --- I'd prefer if the compiler just got it right. This seems like a warning that should fire even in system headers. Or it should track that the value is a function parameter and came from a non-system header a

[Bug c++/76262] list-initialization prefers initializer_list over copy constructor

2021-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76262 --- Comment #6 from Jonathan Wakely --- This behaviour is what the standard (still) requires.

[Bug c++/99629] Misleading diagnostic when looking up rewritten candidate and failing

2021-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99629 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/76262] list-initialization prefers initializer_list over copy constructor

2021-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76262 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/99637] bit_cast doesn't work with padding bits and it should

2021-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99637 --- Comment #4 from Jonathan Wakely --- I think the relevant sentence is "Each bit of the value representation of the result is equal to the corresponding bit in the object representation of from." For one of the bits in the result, there is no

[Bug c++/99637] bit_cast doesn't work with padding bits and it should

2021-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99637 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > So the result cannot be created. Not during constant evaluation, anyway.

[Bug c++/99637] bit_cast doesn't work with padding bits and it should

2021-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99637 --- Comment #7 from Jonathan Wakely --- Yes. If the result type is a class type and the padding bits in the input correspond to unsigned char or std::byte subobjects in the result, that's OK (because the only parts with indeterminate values are b

[Bug c++/99644] New: Add fix-it hint for

2021-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99644 Bug ID: 99644 Summary: Add fix-it hint for Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component:

[Bug c++/99631] decltype of non-type template-parameter shouldn't be const

2021-03-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99631 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/99664] Overriding virtual function with different return type (and not covariant) is allowed to compiled, when it shouldn’t be

2021-03-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99664 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-03-19 Ever confirmed|0

[Bug c++/61961] Add new warning when initializer-list constructor chosen for uniform init that doesn't intend to use initializer_list

2021-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61961 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > The semantics I suggest are to warn when: > > * an initializer-list constructor is selected by overload resolution > * the elements of the braced-init-list a

[Bug libstdc++/99692] Lookup for operator<< skips global scope

2021-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 --- Comment #4 from Jonathan Wakely --- (In reply to Sergey Kaniskin from comment #3) > I was unsure whether to file it under compiler or stdlibc++ as it’s accepted > by another compilers using stdlibc++. There's no such component, it's libstdc+

[Bug libstdc++/99692] Lookup for operator<< skips global scope

2021-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > But by definition at this point operator << does not exist and is not > considered as it is not found via ADL because both std::basic_ostream > and std::vector

[Bug libstdc++/99692] Lookup for operator<< skips global scope

2021-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 --- Comment #7 from Jonathan Wakely --- I mean that the test used in the library code is doing the right thing. I haven't investigated whether the compiler is not handling the lookup correctly, but I don't think there's a libstdc++ bug here.

[Bug c++/87699] Implement CWG 1512

2021-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/99701] std::nullptr_t can be compared with relational ops

2021-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99701 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/98389] [11 regression] libstdc++-abi/abi_check fails after r11-6249 on powerpc64 big endian

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98389 --- Comment #7 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #4) > The demangler does the right, although confusing thing. Because the Itanium > ABI says that g is __float128: >::= f # float >:

[Bug libstdc++/98389] [11 regression] libstdc++-abi/abi_check fails after r11-6249 on powerpc64 big endian

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98389 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > So if we had a time machine we could mangle double-double as 'u8__ibm128' Or even 'u2dd' for "double double" :-)

[Bug c++/51066] [C++0x] warning about binding an rvalue-reference to an implicit conversion result

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51066 --- Comment #3 from Jonathan Wakely --- This warning would also help with this horror: https://twitter.com/zygoloid/status/1367301323838812160 #include void f(float&&) { puts("float"); } void f(int&&) { puts("int"); } template void g(T x) { f(x

[Bug c++/51066] [C++0x] warning about binding an rvalue-reference to an implicit conversion result

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51066 --- Comment #4 from Jonathan Wakely --- And this one https://twitter.com/wakomeup/status/1274778577087627267 struct B { }; struct D : B { }; B b; D&& d(b); // binds to implicit conversion result D&& dd(std::move(b)); // binds to im

[Bug c++/99728] code pessimization when using wrapper classes around SIMD types

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #8 from Jonathan Wakely --- It's landed r11-6935 aka g:2bcceb6fc59fcdaf51006d4fcfc71c2d26761396

[Bug c++/99730] gcc cannot choose the best overload resolution with constrained function

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99730 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/99730] gcc cannot choose the best overload resolution with constrained function

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99730 --- Comment #2 from Jonathan Wakely --- See https://wg21.link/p2113 which was implemented in r11-1571

[Bug target/99733] darwin: missing ':' in error message about munmap

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/99732] gcc accepts overload a member function without ref-qualifier with a member function with a ref-qualifier

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99732 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97653 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97653 --- Comment #9 from Jonathan Wakely --- [test@ibm-p8-cluster-02 ~]$ cat 97653.c int printf(const char*, ...); const unsigned long k = 256; int main() { long double r[] = { 0.1L, 0.2L, 0.5L, 0.9L }; for (int i = 0; i < 4; ++i) { unsign

  1   2   3   4   5   6   7   8   9   10   >