[Bug libstdc++/55713] std::tuple incorrectly is convertible to "ElementType" when it is an empty class

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

[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 #10 from Jonathan Wakely --- No.

[Bug driver/92757] Documentation ambiguous/misleading about interplay of optimization and warning flags

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

[Bug c++/93001] bogus is private within this context error with scoped enum

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

[Bug c++/69089] C++11: alignas(0) causes an error

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

[Bug c++/58601] [meta-bug] alignas

2020-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58601 Bug 58601 depends on bug 69089, which changed state. Bug 69089 Summary: C++11: alignas(0) causes an error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69089 What|Removed |Added --

gcc-bugs@gcc.gnu.org

2020-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92640 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2019-11-26 00:00:00 |2020-3-20 --- Comment #1 from Jonathan

[Bug c++/69373] GCC emits incorrect warning that "exception of type ‘void (*)()’ will be caught by earlier handler for 'void*'"

2020-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69373 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2016-08-06 00:00:00 |2020-3-20 --- Comment #2 from Jonathan

gcc-bugs@gcc.gnu.org

2020-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92640 --- Comment #2 from Jonathan Wakely --- Also in GCC 4.0.4

[Bug c++/92894] "declared using local type 'test01()::X', is used but never defined" during concept satisfaction

2020-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92894 Jonathan Wakely changed: What|Removed |Added CC||cjdb.ns at gmail dot com --- Comment #

[Bug c++/94241] ranges::find_if doesn't like data structures defined in a function

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

[Bug c++/92894] "declared using local type 'test01()::X', is used but never defined" during concept satisfaction

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

[Bug libstdc++/94242] New: filesystem::path::generic_string() only works with std::allocator

2020-03-20 Thread redi at gcc dot gnu.org
-valid Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- #include template struct A { using value_type = T; T* allocate(std::size_t n) { return std

[Bug libstdc++/94242] filesystem::path::generic_string() only works with std::allocator

2020-03-20 Thread redi at gcc dot gnu.org
gcc dot gnu.org |redi at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-03-20

[Bug libstdc++/94244] std::sort corrupts memory

2020-03-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94244 --- Comment #2 from Jonathan Wakely --- In other words, you have failed to meet the requirement that the comparison is a strict weak ordering. https://en.wikipedia.org/wiki/Weak_ordering#Strict_weak_orderings

[Bug libstdc++/93983] std::filesystem::path is not concept-friendly

2020-03-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93983 --- Comment #5 from Jonathan Wakely --- (In reply to Paco Arjonilla from comment #4) > There is no reason why an extra constructor would affect the semiregularity > of a type. That's not true. A private or deleted constructor that is a better m

[Bug libstdc++/94242] filesystem::path::generic_string() only works with std::allocator

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

[Bug libstdc++/94275] /usr/ccs/bin/ld: Unsatisfied symbols: _ZNSs4_Rep20_S_empty_rep_storageE

2020-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94275 --- Comment #1 from Jonathan Wakely --- That symbol has been there (unchanged) for a couple of decades, so I'm not sure what causes this.

[Bug c++/94303] [8/9/10 Regression] Program result error When using global object array (partially initialized with a special constructor, and the rest with the default constructor)

2020-03-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94303 Jonathan Wakely changed: What|Removed |Added Known to fail||10.0, 8.3.0, 9.2.0 Known to work|

[Bug c++/94306] New: Improve diagnostic when "requires" used instead of "requires requires" and add fix-it

2020-03-24 Thread redi at gcc dot gnu.org
Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- template struct S { }; template requires { typename T::type; } struc

[Bug c++/94316] An error occurs when a globally defined array of classes is initialized with values

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

[Bug middle-end/94303] [8/9/10 Regression] Program result error When using global object array (partially initialized with a special constructor, and the rest with the default constructor)

2020-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94303 Jonathan Wakely changed: What|Removed |Added CC||rookiezjz at gmail dot com --- Comment

[Bug c++/94336] template keyword accepted before destructor names

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

[Bug libstdc++/94345] std::chrono overflows due to c++14 non-compliance

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

[Bug web/94349] Bugzilla user preferences are blank

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

[Bug web/94349] Bugzilla user preferences are blank

2020-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94349 --- Comment #4 from Jonathan Wakely --- The entire server was replaced, with new hardware, new OS, and new versions of most software.

[Bug web/94349] Bugzilla user preferences are blank

2020-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94349 --- Comment #5 from Jonathan Wakely --- The "Detailed Bug Information" part of the Advanced Search page is also not properly populated now. It used to have fields for searching comments, keywords and more.

[Bug web/94351] bugzilla search is not as useful as before

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

[Bug libstdc++/94353] std::copy* breaks when one type is volatile

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

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 Jonathan Wakely changed: What|Removed |Added CC||alex at grundis dot de --- Comment #7

[Bug libstdc++/94354] New: std::reverse_iterator comparison operators defined incorrectly

2020-03-27 Thread redi at gcc dot gnu.org
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- We define the comparison operators for reverse_iterator slightly differently to how the standard

[Bug libstdc++/94354] std::reverse_iterator comparison operators defined incorrectly

2020-03-27 Thread redi at gcc dot gnu.org
|1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Jonathan Wakely --- We also retain the pre-LWG280 homogeneous overloads: template inline _GLIBCXX17_CONSTEXPR

[Bug analyzer/94355] support for C++ new expression

2020-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94355 --- Comment #1 from Jonathan Wakely --- This is already being actively discussed, and will probably be a GSoC project.

[Bug libstdc++/94354] std::reverse_iterator comparison operators defined incorrectly

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

[Bug libstdc++/93904] LWG 561 not implemented: std::inserter overly generic

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

[Bug web/94349] Bugzilla user preferences are blank

2020-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94349 --- Comment #9 from Jonathan Wakely --- I created a pull request for the patch, it's linked to from that issue now.

[Bug target/94383] New: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17

2020-03-28 Thread redi at gcc dot gnu.org
: ABI Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Target: aarch64-*-linux This code is miscompiled on aarch64 with -std=c++17, apparently

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17

2020-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 Jonathan Wakely changed: What|Removed |Added Known to work||6.4.0 Known to fail|

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17

2020-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 --- Comment #2 from Jonathan Wakely --- https://godbolt.org/z/BnTEsn is an example with both functions in the same translation unit, showing the generated code is different for both caller and callee. If the caller and callee are not in the same

[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux

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

[Bug target/94372] pthread doesn't define _REENTRANT in preprocessor on OpenRISC

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

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

2020-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 --- Comment #3 from Jonathan Wakely --- Is the difference maybe related to the empty field that is added for c++17 mode, mentioned in Bug 89358 comment 12? Is the aarch64 back end not ignoring that field?

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

2020-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 --- Comment #4 from Jonathan Wakely --- That would be consistent with the new field being introduced in gcc-7 (by r241187).

[Bug middle-end/90794] [8/9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE

2020-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794 --- Comment #7 from Jonathan Wakely --- (In reply to Nicholas Krause from comment #6) > I can confirm about building trunk from yesterday that this code no longer > ICEs on 03. Can someone please close this bug as it no longer blocks C++ VLA > fo

[Bug libstdc++/94409] std::regexp (std::collate?) with GCC 7.3.1 on AIX, Japanese

2020-03-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94409 Jonathan Wakely changed: What|Removed |Added Target||powerpc-ibm-aix7.1.0.0 Sta

[Bug libstdc++/94418] Please make reverse_iterator nothrow constructible when possible

2020-03-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94418 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-03-31 Target Milestone|---

[Bug c++/94414] only `--` gives constexpr

2020-03-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94414 --- Comment #2 from Jonathan Wakely --- Right, this has nothing to do with constexpr. The contfilt view is not a constant expression, so nothing you do with it will be constant evaluated, so whether it's constexpr is irrelevant.

[Bug libstdc++/94418] Please make reverse_iterator nothrow constructible when possible

2020-03-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94418 --- Comment #3 from Jonathan Wakely --- (Adding the noexcept-specifier *should* be harmless, but it seems every time we use one of the is_constructible traits something breaks).

[Bug c++/94422] [9 Regression] static_cast from std::array operator[] to enum class

2020-03-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94422 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/94422] [9/10 Regression] static_cast from std::array operator[] to enum class

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

[Bug rtl-optimization/90214] UBSAN: signed integer overflow: 162675373468811328 - -9060696663385964544 cannot be represented in type 'long int'

2020-03-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90214 --- Comment #2 from Jonathan Wakely --- This is a ubsan error in GCC when GCC is built with ubsan. It's useless to test on godbolt, because their GCC builds are not built with ubsan.

[Bug libstdc++/92546] [10 Regression] Large increase in preprocessed file sizes in C++2a mode

2020-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 --- Comment #7 from Jonathan Wakely --- Yes this is just a nice-to-have, not critical. I already made some big improvements, but then some new features made the sizes jump up again. I'll take another look for low-hanging fruit, but if it doesn't

[Bug c++/94429] Bogus sequence point warning

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

[Bug libstdc++/93960] std::to_address doesn't work with past-the-end Debug Mode iterators

2020-04-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93960 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.5 --- Comment #3 from Jonathan Wakel

[Bug libstdc++/93960] std::to_address doesn't work with past-the-end Debug Mode iterators

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

[Bug libstdc++/94498] std::basic_string_view::copy not qualified constexpr in c++2a

2020-04-06 Thread redi at gcc dot gnu.org
|1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-04-06 Keywords||rejects-valid

[Bug c++/94505] Logical operator inside fold-expression: strange warning

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

[Bug c++/94492] no way to silence -Wdeprecated-copy for aggregates

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

[Bug c++/94510] [9/10 Regression] nullptr_t implicitly cast to zero twice in std::array

2020-04-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94510 Jonathan Wakely changed: What|Removed |Added Known to fail||10.0, 9.3.0 Known to work|

[Bug libstdc++/94520] [10 Regression] no longer compiles in C++14

2020-04-07 Thread redi at gcc dot gnu.org
|1 Known to work||9.3.0 Target Milestone|--- |10.0 Last reconfirmed||2020-04-07 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Status|UNCONFIRMED

[Bug libstdc++/94520] New: [10 Regression] no longer compiles in C++14

2020-04-07 Thread redi at gcc dot gnu.org
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- This is supposed to be supported in C++14 as an extension: #include int main() { } But since r272695 it no longer works: /home/jwakely

[Bug libstdc++/94520] [10 Regression] no longer compiles in C++14

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

[Bug middle-end/94527] RFE: Add an __attribute__ that marks a function as freeing an object

2020-04-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94527 --- Comment #6 from Jonathan Wakely --- I can see uses that aren't just "frees the memory", e.g. after fclose and close any further uses of their argument are probably errors. The close case is interesting because it's not a pointer argument.

[Bug c++/70790] Can't mangle noexcept expressions

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

[Bug c++/94529] Wrong error message for template member function specialization

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

[Bug c++/94529] [8/9/10 Regression] Wrong error message for template member function specialization

2020-04-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94529 Jonathan Wakely changed: What|Removed |Added Known to work||4.4.7 Summary|Wrong error m

[Bug c++/94529] [8/9/10 Regression] Wrong error message for template member function specialization

2020-04-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94529 --- Comment #2 from Jonathan Wakely --- Started with r154518: pt.c (determine_specialization): Give helpful error about missing "template<>". * pt.c (determine_specialization): Give helpful error about missing "template<>".

[Bug libstdc++/68350] std::uninitialized_copy overly restrictive for trivially_copyable types

2020-04-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68350 --- Comment #7 from Jonathan Wakely --- (In reply to Arthur O'Dwyer from comment #6) > What do you mean "if an exception is thrown"? If we call std::copy from > here, then it's because we are taking the memmove path. The whole point of the bug i

[Bug libstdc++/94540] New: stack overflow populating std::vector

2020-04-09 Thread redi at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- #include struct yooj_type { char data[20*1024*1024]; }; int main() { std::vector v(1); } This dies with SIGSEGV due to a stack overflow, because a yooj_type temporary is

[Bug libstdc++/94540] stack overflow populating std::vector

2020-04-09 Thread redi at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/94545] std::to_integer(std::numeric_limits::max()) returns 0

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

[Bug libstdc++/94545] std::to_integer(std::numeric_limits::max()) returns 0

2020-04-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94545 --- Comment #3 from Jonathan Wakely --- (In reply to Thomas Mercier from comment #2) > I thought that might be the response. Then why does it compile? Because the standard requires it to. > The fact that it does, and produces a result is surpri

[Bug libstdc++/94545] std::to_integer(std::numeric_limits::max()) returns 0

2020-04-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94545 --- Comment #4 from Jonathan Wakely --- cppreference does document this, see the second row of the "Return value" table at https://en.cppreference.com/w/cpp/types/numeric_limits/max

[Bug libstdc++/94562] C++20: std::shared_ptr{} <=> nullptr ill-formed

2020-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94562 --- Comment #1 from Jonathan Wakely --- No, it's because that operator isn't implemented yet.

[Bug web/94581] Error in upcoming release notes

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

[Bug tree-optimization/94566] conversion between std::strong_ordering and int

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

[Bug libstdc++/94565] C++20: Comparing comparison category types against 0/nullptr is not noexcept

2020-04-13 Thread redi at gcc dot gnu.org
||2020-04-13 Ever confirmed|0 |1 Target Milestone|--- |10.0 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug web/94581] Error in upcoming release notes

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

[Bug c++/92856] incorrectly accepts invalid C++11 braced initialisation of double from long double

2020-04-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92856 --- Comment #6 from Jonathan Wakely --- That's a different bug, so thanks for filing it separately (PR 94590).

[Bug c++/94590] Incorrectly accepts invalid C++11 braced initialisation of double from long double if sizeof(long double)==sizeof(double)

2020-04-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94590 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug libstdc++/94565] C++20: Comparing comparison category types against 0/nullptr is not noexcept

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

[Bug c++/94569] alignas(object) with a weaker (smaller) alignment than the alignas(type) of it's type compiles, inconsistent with the C++ standard

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

[Bug libstdc++/94562] C++20: std::shared_ptr{} <=> nullptr ill-formed

2020-04-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94562 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug libstdc++/91153] New test case 29_atomics/atomic_float/1.cc execution test fails

2020-04-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91153 --- Comment #3 from Jonathan Wakely --- It's just a buggy test, the code in the library is fine. I'll fix the test for GCC 10 if I get a chance, but it's not a priority.

[Bug c++/89657] [concepts] ICE when calling lambda returning requires-expression

2020-04-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89657 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.0 Keywords|

[Bug libstdc++/94049] For better diagnostics CPOs should not use concepts for operator()

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

[Bug libstdc++/93793] std::ostream_iterator doesn't satisfy std::weakly_incrementable

2020-04-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93793 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

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

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

[Bug c++/85363] Throwing exception from member constructor (brace initializer vs initializer list)

2020-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85363 Jonathan Wakely changed: What|Removed |Added CC||stephane.zimmermann@trust-i

[Bug c++/94616] Incorrect destruction for partially built objects

2020-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94616 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Keywords|

[Bug c++/94616] [8 Regression] Incorrect destruction for partially built objects

2020-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94616 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED

[Bug c++/94616] [8 Regression] Incorrect destruction for partially built objects

2020-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94616 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target M

[Bug c++/94616] [8 Regression] Incorrect destruction for partially built objects

2020-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94616 Jonathan Wakely changed: What|Removed |Added CC||paolo at gcc dot gnu.org --- Comment #

[Bug libstdc++/94627] [9/10 Regression] std::match_results equality comparisons should not be noexcept

2020-04-16 Thread redi at gcc dot gnu.org
|1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Target Milestone|--- |9.4 Status|UNCONFIRMED |ASSIGNED Known to fail||10.0, 9.1.0 Last reconfirmed

[Bug libstdc++/94627] New: [9/10 Regression] std::match_results equality comparisons should not be noexcept

2020-04-16 Thread redi at gcc dot gnu.org
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- This should exit cleanly: #include struct iterator { using value_type = char; using difference_type = std

[Bug libstdc++/58929] condition_variable does not wait without -pthread

2020-04-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58929 --- Comment #9 from Jonathan Wakely --- The GNU libc has no-op stubs for several pthread functions. I think that is done so that single threaded programs which don't actually need those functions can still link to libraries that have references t

[Bug c++/94644] Wrong is_nothrow_move_constructible result if used in a template first

2020-04-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94644 Jonathan Wakely changed: What|Removed |Added Depends on||41437 Status|UNCONFIRMED

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2020-04-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #17 from Jonathan Wakely --- (In reply to David Binderman from comment #14) > There is also this one from cppcheck: > > trunk.git/libstdc++-v3/include/debug/formatter.h:302:40: warning: Redundant > assignment of '_M_variant._M_iterat

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

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

[Bug c++/94671] Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #1 from Jonathan Wakely --- No, this conforms to the standard. See [expr.new] > An implementation is allowed to omit a call to a replaceable global allocation > function (17.6.2.1, 17.6.2.2). When it does so, the storage is instead >

<    1   2   3   4   5   6   7   8   9   10   >