Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: achuah at drwsg dot com
Target Milestone: ---
This probably should be classified under meta-bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002
See this example on Godbolt's com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85943
--- Comment #1 from Anthony Chuah ---
Clarifications:
This bug applies to static variables, not non-static ones.
Please use this example instead: https://godbolt.org/g/LzrzDj
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85943
Anthony Chuah changed:
What|Removed |Added
Summary|Template function permits |Template function permits
: unassigned at gcc dot gnu.org
Reporter: achuah at drwsg dot com
Target Milestone: ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67632
I've tested it on gcc 6.1.0, and the same problem is still there. From the bug
tracker it looks like the bug was acknowledged to be an issue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67632
Anthony Chuah changed:
What|Removed |Added
CC||achuah at drwsg dot com
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67632
--- Comment #9 from Anthony Chuah ---
Forgot to add: this bug exists also for clang 5.0.0.
% clang++ -std=c++11 --gcc-toolchain=/path/to/gcc t.o x.cc
/tmp/x-063634.o: In function `copy(std::unordered_map,
std::equal_to, std::allocator > > const&