[Bug c++/92194] New: maybe-uninitialized false positive with c++2a

2019-10-23 Thread malcolm.parsons at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: malcolm.parsons at gmail dot com Target Milestone: --- For this code: #include #include #include void f(const std::string& t) { if (std::any_of(t.begin(), t.end(), [](const auto& c) {

[Bug c++/86993] New: assignment of read-only variable error reported at wrong location

2018-08-17 Thread malcolm.parsons at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: malcolm.parsons at gmail dot com Target Milestone: --- For this C++ code: int main() { const int i = 5; i = 5 + 6; } g++ 5.1 reports: : In function 'int main()': :3:7: error

[Bug c++/85576] New: A template union containing a friend function causes non-template type used as a template error

2018-04-30 Thread malcolm.parsons at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: malcolm.parsons at gmail dot com Target Milestone: --- For this code: template union Union { friend bool operator==(const Union& a, const Unio

[Bug libstdc++/63345] Multiple undefined behaviors (static_cast<>) in libstdc++-v3/include/bits

2016-04-06 Thread malcolm.parsons at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63345 --- Comment #11 from Malcolm Parsons --- (In reply to Jonathan Wakely from comment #10) > > The attached patch fixes it for me. > > That seems to be a backport of r223746 from trunk, right? I'll look into > applying that to the gcc-5 branch.

[Bug libstdc++/63345] Multiple undefined behaviors (static_cast<>) in libstdc++-v3/include/bits

2016-04-06 Thread malcolm.parsons at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63345 Malcolm Parsons changed: What|Removed |Added CC||malcolm.parsons at gmail dot com

[Bug libstdc++/66145] [5/6 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-04-01 Thread malcolm.parsons at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 Malcolm Parsons changed: What|Removed |Added CC||malcolm.parsons at gmail dot com

[Bug libstdc++/67214] New: undefined behaviour in std::num_get::_M_extract_int()

2015-08-14 Thread malcolm.parsons at gmail dot com
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: malcolm.parsons at gmail dot com Target Milestone: --- $ cat num_get.cpp #include iostream #include sstream #include boost/math/special_functions/nonfinite_num_facets.hpp int main() { std::locale loc

[Bug c++/54984] New: Array allocated with new in a template class is default initialised

2012-10-19 Thread malcolm.parsons at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54984 Bug #: 54984 Summary: Array allocated with new in a template class is default initialised Classification: Unclassified Product: gcc Version: 4.6.3 Status:

[Bug lto/52722] New: ICE in lto_output_varpool_node

2012-03-26 Thread malcolm.parsons at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52722 Bug #: 52722 Summary: ICE in lto_output_varpool_node Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/52722] ICE in lto_output_varpool_node

2012-03-26 Thread malcolm.parsons at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52722 --- Comment #1 from Malcolm Parsons malcolm.parsons at gmail dot com 2012-03-26 12:27:46 UTC --- Created attachment 26998 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26998 gzipped preprocessed source