[Bug libstdc++/94032] Please provide std::string::__resize_default_init

2020-03-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94032 --- Comment #1 from Jonathan Wakely --- We'll add it when it's in the draft standard. Adding it before then would either mean only making it available for C++20 mode, or adding it to the shared library exports as a stable ABI artefact. Neither se

[Bug libstdc++/94033] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #1 from Jonathan Wakely --- Probably another instance of PR 93983 and PR PR 93923.

[Bug c++/94025] Expected-to-fail compilation goes through by not detecting mutable-specifier on lambda

2020-03-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94025 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/94003] is_constructible seems to have sideeffects

2020-03-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/94041] [10 Regression] temporary object destructor called before the end of the full-expression since r10-5577

2020-03-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94041 --- Comment #2 from Jonathan Wakely --- Runtime test: struct Temp { ~Temp(); }; struct A{ A(const Temp&) noexcept; }; struct B{ ~B(); }; struct Pair{ A a; B b; }; Temp make_temp() noexcept; void foo(const Pair&) noexcept; void bar(const Pair&

[Bug libstdc++/94051] #include & is not enough for operator<

2020-03-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94051 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug libstdc++/94051] #include & is not enough for operator<

2020-03-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94051 Jonathan Wakely changed: What|Removed |Added Keywords|rejects-valid | Severity|normal

[Bug libstdc++/94063] New: filesystem::path concatenation doesn't work for Windows root-paths

2020-03-05 Thread redi at gcc dot gnu.org
ormal Priority: P3 Component: libstdc++ Assignee: redi at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Target: *-*-mingw* This should pass on mingw* targets, but doesn't. #include #include int main() { path p =

[Bug libstdc++/94063] filesystem::path concatenation doesn't work for Windows root-paths

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

[Bug libstdc++/94069] New: [9/10 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

2020-03-06 Thread redi at gcc dot gnu.org
words: rejects-valid Severity: normal Priority: P3 Component: libstdc++ Assignee: redi at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- If we simulate a target without PTHREAD_RWLOCK_INITIALIZER then cannot be com

[Bug libstdc++/94069] [9/10 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94069 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/94069] [9/10 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94069 --- Comment #1 from Jonathan Wakely --- This causes a bootstrap failure on darwin8 for gcc-9 and master.

[Bug libstdc++/94069] [9 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94069 Jonathan Wakely changed: What|Removed |Added Summary|[9/10 Regression] |[9 Regression] | doe

[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244 --- Comment #9 from Jonathan Wakely --- Doh, copy&paste error from the previous commit. That belongs to PR 94069.

[Bug libstdc++/94069] [9 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94069 --- Comment #4 from Jonathan Wakely --- Fixed in commit r10-7064-gb0815713a32c5cc062bd41fa75dac4d4408215fb but I put the wrong PR number in the commit log.

[Bug libstdc++/94069] [9 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94069 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/94063] filesystem::path concatenation doesn't work for Windows root-paths

2020-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94063 --- Comment #2 from Jonathan Wakely --- Oops, the testcase is missing "using std::filesystem::path;" There's a similar problem for Cygwin with path("/") += "/"

[Bug libstdc++/94080] -mabi=ieeelongdouble and -mfloat128 cause libstc++ header breakage

2020-03-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94080 There is a HUGE amount of work to do to make libstdc++ support it properly. I think I've already done most of it, but last time I tried to test it everything failed because glibc didn't have the necessary ieee long double support yet. I should ch

[Bug libstdc++/94080] -mabi=ieeelongdouble and -mfloat128 cause libstc++ header breakage

2020-03-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94080 --- Comment #1 from Jonathan Wakely --- Due to a server move, bugzilla seems to have lost the original comments on this bug. They are archived at https://gcc.gnu.org/ml/gcc-bugs/2020-03/msg01310.html and https://gcc.gnu.org/ml/gcc-bugs/2020-03/ms

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/94082] __builtin_memcpy in constexpr context should compile

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94082 --- Comment #3 from Jonathan Wakely --- (In reply to Deniz Bahadir from comment #1) > Reading P0202 (wg21.link/p0202) (which made it into C++20) it sounds as if > `__builtin_memcpy` should be usable from a `constexpr` context. Why? std::memcpy i

[Bug c++/92648] Handling of unknown attributes

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92648 Jonathan Wakely changed: What|Removed |Added CC||bruno-gcc at defraine dot net --- Comm

[Bug c++/88086] gcc only allows valid expressions as unknown C++ attribute argument clause

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88086 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/94082] __builtin_memcpy in constexpr context should compile

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94082 --- Comment #5 from Jonathan Wakely --- (In reply to Deniz Bahadir from comment #4) > (In reply to Jonathan Wakely from comment #3) > > (In reply to Deniz Bahadir from comment #1) > > > Reading P0202 (wg21.link/p0202) (which made it into C++20) i

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 --- Comment #8 from Jonathan Wakely --- Sorry, I read "Creating and using **a** `std::random_device` object fails when used from multiple threads" to mean creating one object, and then apparently didn't read the code properly to dispel my misunde

[Bug libstdc++/94063] filesystem::path concatenation doesn't work for Windows root-paths

2020-03-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94063 --- Comment #2 from Jonathan Wakely --- The test case for Cygwin (which is expected to fail on other targets) is #include #include using std::filesystem::path; int main() { path p; p = "/"; p += path("/x"); assert( p.has_root_name(

[Bug c++/94115] Wrong constructor called when 2 classes have the same name

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94115 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/94063] filesystem::path concatenation doesn't work for Windows root-paths

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94063 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.4 Status|NEW

[Bug c++/94117] non-dependent expr treated as-if dependent

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94117 --- Comment #4 from Jonathan Wakely --- (In reply to Nathan Sidwell from comment #0) > filing a separate issue to fix libstdc++ Fixed in r10-7103-gc222eabcf8be0e3f644e4bd4c3316b40dba4b514 libstdc++: Fix invalid noexcept-specifier (PR 94117)

[Bug c++/94117] non-dependent expr treated as-if dependent

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94117 --- Comment #5 from Jonathan Wakely --- Oh we have more occurrences of it in libstdc++, e.g. in split_view friend constexpr decltype(auto) iter_move(const _InnerIter& __i) noexcept(noexcept(__iter_move())) { return

[Bug libstdc++/89991] Complex numbers: Calculation of imaginary part is not correct

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89991 --- Comment #27 from Jonathan Wakely --- Not in stage 4.

[Bug libstdc++/61761] [C++11] std::proj returns incorrect values

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61761 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/94112] Please add a warning for potentially throwing code in noexcept function

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94112 --- Comment #3 from Jonathan Wakely --- That would likely be far too noisy for use 99% of the time.

[Bug libstdc++/89991] Complex numbers: Calculation of imaginary part is not correct

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89991 --- Comment #28 from Jonathan Wakely --- (In reply to kargl from comment #21) > Created attachment 46102 [details] > fix g++ problem with sqrt(z) where z is complex and imag(z) = -0 This one assumes copysign is valid for arguments of type _Tp, w

[Bug preprocessor/94127] #pragma system_header marks unrelated files as system headers

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94127 --- Comment #1 from Jonathan Wakely --- I think it's intended. You should put the pragma after including other headers if you don't want them to be affected.

[Bug preprocessor/94127] #pragma system_header marks unrelated files as system headers

2020-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94127 --- Comment #3 from Jonathan Wakely --- Well it comes before the #include for sys2.h so affects that, but you're right it shouldn't affect a header that isn't being included by sys.h.

[Bug c++/94117] deferred noexcept specifications and friend fns

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94117 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > Oh we have more occurrences of it in libstdc++, e.g. in split_view Fixed in r10-7108-gcf0c3a457319df1e8dc9321227162a7c57169a39

[Bug c++/94132] Valid usage of flexible array member failing to compile

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132 --- Comment #4 from Jonathan Wakely --- https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html "A structure containing a flexible array member, or a union containing such a structure (possibly recursively), may not be a member of a structure or an

[Bug c++/93699] Invalid operator== (returning non-bool type) candidate

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699 Jonathan Wakely changed: What|Removed |Added Summary|[gcc10] Invalid operator== |Invalid operator== |

[Bug c++/93699] Invalid operator== (returning non-bool type) candidate

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93699 --- Comment #3 from Jonathan Wakely --- P.S. it helps to provide a testcase that doesn't have lots of spurious warnings when compiled with -Wall -Wextra, because one of the first things I'm going to do when triaging bug reports is compile with th

[Bug c++/90301] RangeV3 usage, ICE internal compiler error: canonical types differ for identical types

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90301 Jonathan Wakely changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Jonathan W

[Bug c++/91590] ICE in : canonical types differ for identical types std::enable_if::ViewConcept< >()> and std::enable_if::ViewConcept< >()

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91590 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2019-09-02 00:00:00 |2020-3-11 See Also|

[Bug libstdc++/93470] [9 Regression] [C++2a] std::reference_wrapper to function type is broken with Clang

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-11 Thread redi at gcc dot gnu.org
|--- |10.0 Version|unknown |10.0 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Known to fail||10.0 Summary|is_trivially_copy_construct |[10 Regression

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #6 from Jonathan Wakely --- I think that change to the compiler was OK, but it looks like the accompanying "simplification" of was the culprit. Thanks for the bisection.

[Bug c/94142] typeof enum member appears to give wrong signedness

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94142 --- Comment #1 from Jonathan Wakely --- (In reply to Matthew Fernandez from comment #0) > This seems surprising to me. Shouldn't x and y have the same signedness as > they're both the type of the enum? It seems like somehow the type of an enum >

[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813 --- Comment #60 from Jonathan Wakely --- There's no wiggle room, we're definitely non-conforming. Maybe the changes could be limited to -std=gnu++NN modes only, although Paolo argued strongly against that in this bug report. It doesn't seem to

[Bug c++/91484] Error message: std::is_constructible with incomplete types.

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91484 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.0 Status|WAITING

[Bug libstdc++/94003] is_constructible seems to have sideeffects

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 Jonathan Wakely changed: What|Removed |Added Depends on||41437 --- Comment #2 from Jonathan Wak

[Bug c++/94149] New: __is_constructible doesn't know about C++20 parenthesized init for arrays

2020-03-11 Thread redi at gcc dot gnu.org
erity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- In C++20 this is well-formed: using T = int[2]; T t(1, 2); which means that std::is_constructible_v should be true. T

[Bug c++/94149] __is_constructible doesn't know about C++20 parenthesized init for arrays

2020-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94149 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/59002] [meta-bug] Access checking in templates

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 45011, which changed state. Bug 45011 Summary: template function specialization: does not respect access specifier https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45011 What|Removed |Added

[Bug c++/45011] template function specialization: does not respect access specifier

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45011 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/94152] Mistyped destructor name diagnostic suboptimal

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

[Bug c++/53281] poor error message for calling a non-const method from a const object

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53281 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.4 |11.0

[Bug preprocessor/81419] GCC wrongly suggests function-like macro as fixit hint for undefined object-like macro

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81419 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.4 |11.0

[Bug libstdc++/83077] sso-string @ gnu-versioned-namespace.

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.4 |11.0

[Bug c++/94155] New: internal compiler error: in gimplify_init_ctor_eval, at gimplify.c:4664

2020-03-12 Thread redi at gcc dot gnu.org
-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org CC: mpolacek at gcc dot gnu.org Target Milestone: --- I get an ICE with this use of parenthesized

[Bug c++/94155] internal compiler error: in gimplify_init_ctor_eval, at gimplify.c:4664

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94155 Jonathan Wakely changed: What|Removed |Added Keywords||needs-reduction --- Comment #1 from Jo

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #8 from Jonathan Wakely --- 5c7938eb3f1a116b1cf9a28090f2cc5e08814ce4 is a different change to 58487c21b6a47c3fff6c6958684de866216a5593 The gcc-9 commit that corresponds to 58487c21b6a47c3fff6c6958684de866216a5593 is d9940358fa463060

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #10 from Jonathan Wakely --- I have a fix for master, I'm just trying to figure out why we aren't seeing this on the gcc-9 branch too.

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #11 from Jonathan Wakely --- I think it doesn't show up for gcc-9 because there are also std::tuple changes on master that make the bug show up. And I think what's happening is another instance of PR 41437. When std::optional is inst

[Bug c++/66475] Access checking in templates circumvented with 'using' (C++11)

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66475 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |7.0 Resolution|---

[Bug c++/59002] [meta-bug] Access checking in templates

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 66475, which changed state. Bug 66475 Summary: Access checking in templates circumvented with 'using' (C++11) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66475 What|Removed |Added

[Bug c++/79163] Access-checking not done in template argument list of partial specialization

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79163 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/59002] [meta-bug] Access checking in templates

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 79163, which changed state. Bug 79163 Summary: Access-checking not done in template argument list of partial specialization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79163 What|Removed

[Bug c++/90925] gcc allows calling private overridden operators

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2019-06-19 00:00:00 |2020-3-12 --- Comment #5 from Jonathan

[Bug c++/41437] No access control for classes in template functions

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Last reconfirmed|2010-09-

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/94063] filesystem::path concatenation doesn't work for Windows root-paths

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94063 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/94160] std::pmr::pool_options::max_blocks_per_chunk=1 causes pool resources to return null pointers

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94160 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-03-12 Status|UNCONFIR

[Bug libstdc++/94160] New: std::pmr::pool_options::max_blocks_per_chunk=1 causes pool resources to return null pointers

2020-03-12 Thread redi at gcc dot gnu.org
Keywords: wrong-code Severity: normal Priority: P3 Component: libstdc++ Assignee: redi at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- This calculation in __pool_resource::_M_alloc_pools() can result in

[Bug libstdc++/94164] [10 Regression] std::unintialized_fill_n fails to compile

2020-03-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94164 --- Comment #1 from Jonathan Wakely --- That's not an iterator.

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #14 from Jonathan Wakely --- Created attachment 48044 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48044&action=edit Candidate patch

[Bug c++/94197] New: __is_constructible gives an access error

2020-03-16 Thread redi at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- This fails to compile, but I think should be valid: template _Up __declval(int); template _Tp __declval(long); template auto declval

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #15 from Jonathan Wakely --- The reason I haven't committed it yet is I had to figure out a workaround for PR 94197 which caused some tests to fail with my earlier patch.

[Bug c++/94197] __is_constructible gives an access error

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

[Bug driver/94198] Placement of source file in GCC command line has impact on whether the link succeeds

2020-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94198 --- Comment #2 from Jonathan Wakely --- See also http://c-faq.com/lib/libsearch.html Order of source files (or generated object files) relative to libraries matters, and preserving it matters,

[Bug libstdc++/94199] std::experimental::net::v1::make_service function template not instantiatable

2020-03-16 Thread redi at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Version|unknown |9.3.0 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Target Milestone|--- |9.4 Ever confirmed|0 |1 Last reconfirmed

[Bug c++/94197] __is_constructible gives an access error

2020-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94197 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #3 from Jonathan Wak

[Bug libstdc++/94199] std::experimental::net::v1::make_service function template not instantiatable

2020-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94199 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/94199] std::experimental::net::v1::make_service function template not instantiatable

2020-03-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94199 --- Comment #5 from Jonathan Wakely --- I've reported a new library issue (LWG 3414) suggesting we add a public default constructor.

[Bug libstdc++/94203] experimental/executor and socket header issues-

2020-03-17 Thread redi at gcc dot gnu.org
||2020-03-17 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Version|unknown |9.3.0 Status|UNCONFIRMED |ASSIGNED Target Milestone|--- |9.4 Ever

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 --- Comment #17 from Jonathan Wakely --- Thanks! And PR 94197 is also now fixed.

[Bug libstdc++/94209] std::variant can't be initialized from unsigned int with gcc trunk

2020-03-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94209 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/94213] doesn

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94213 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/94214] function lookup with overloaded operators accepts invalid

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94214 --- Comment #1 from Jonathan Wakely --- Looks like a dup of PR 51577

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||niklas at nolte dot dev --- Comment #1

[Bug c++/94214] function lookup with overloaded operators accepts invalid

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94214 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88466 Jonathan Wakely changed: What|Removed |Added Keywords||ABI --- Comment #8 from Jonathan Wakel

[Bug libstdc++/94033] [10 Regression] is_trivially_copy_constructible<> fails with compiler error on complicated object with private default constructor

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/93923] [10 Regression] std::is_copy_constructible raises compilation error

2020-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93923 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libstdc++/94062] Cannot construct tuple from convertible types

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94062 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/94062] Cannot construct tuple from convertible types

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94062 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Jonathan Wakel

[Bug c++/94062] Cannot construct tuple from convertible types

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94062 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #5 from Jonathan Wakel

[Bug c++/82113] RVO isn't applied to base class constructor call in C++17

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82113 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/94062] Cannot construct tuple from convertible types

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94062 --- Comment #6 from Jonathan Wakely --- Further reduced: struct Bar1 { Bar1(Bar1&&) = delete; }; struct Foo1 { operator Bar1() const; }; struct tuple : Bar1 { tuple() : Bar1(Foo1{}) { } }; tuple t; elide.cc: In constructor 'tuple::tu

[Bug libstdc++/93147] std::tuple of empty structs with member equality operators has ambiguous equality operator

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93147 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/94062] Cannot construct tuple from convertible types

2020-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94062 --- Comment #8 from Jonathan Wakely --- (In reply to m.cencora from comment #7) > But I guess to fix this you would have to break ABI (or change C++ standard). No, we can switch to using a data member with the [[no_unique_address]] attribute, wh

  1   2   3   4   5   6   7   8   9   10   >