[Bug c++/96592] Tuple element w/ member reference to incomplete template type rejected

2020-08-13 Thread johnilacqua at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96592 John changed: What|Removed |Added CC||johnilacqua at hotmail dot com --- Comment #1

[Bug libstdc++/92522] valid code using deque throws bad_alloc when compiled with -flto

2019-11-15 Thread johnilacqua at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92522 --- Comment #2 from John --- (In reply to Richard Biener from comment #1) > Isn't this undefined since you require 'test' to be constructed before > 'sample' > but the order of global CTORs is undefined between translation units? > > IIRC there'

[Bug libstdc++/92522] New: valid code using deque throws bad_alloc when compiled with -flto

2019-11-14 Thread johnilacqua at hotmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: johnilacqua at hotmail dot com Target Milestone: --- Minimal example: //sample.cc #include std::deque test; //main.cc #include extern std::deque test; static const auto sample