[Bug libstdc++/67903] std::locale compatibility between gcc4.9 and gcc5.1

2016-03-02 Thread ylow at graphlab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67903 --- Comment #5 from Yucheng Low --- After some deep investigation on a related issue, I think might finally have a root cause. Introduction - We compile as a shared library to be imported into Python as part of a python module.

[Bug libstdc++/67903] std::locale compatibility between gcc4.9 and gcc5.1

2015-10-09 Thread ylow at graphlab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67903 --- Comment #4 from Yucheng Low --- I have tried version scripts and it ought to work but I couldn't quite figure out what symbols to hide. In any case, the proposed modification does fix a questionable bit of code in locale.cc (i.e. the resize

[Bug libstdc++/67903] New: std::locale compatibility between gcc4.9 and gcc5.1

2015-10-08 Thread ylow at graphlab dot com
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ylow at graphlab dot com Target Milestone: --- Created attachment 36466 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36466&action=edit patch to locale.cc This is a complex issue and is prob

[Bug libstdc++/63456] New: unordered_map incorrectly frees _M_single_bucket. Patch Included

2014-10-03 Thread ylow at graphlab dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ylow at graphlab dot com I am sorry I do not have a simple reproduction for this failure. It cropped up in the middle of a rather large project. However, I traced it to this function

[Bug target/58450] New: -fno-trapping-math causes decrease in performance

2013-09-17 Thread ylow at graphlab dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: ylow at graphlab dot com The program computes the Gregory Liebniz Pi approximation for 100M iterations. The algorithm is simple: double pi_apx() { double val = 0.0; for (size_t i = 0;i < PI_ITERATIONS; ++i) {