This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/86138] [7/8 Regression] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138

--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Christian Franke from comment #18)
> With patch from r261873, crash on -std=c++17 does no longer occur with
> testcase from comment #3.  Same for a wchar_t version of the testcase.
> According to objdump -p, executable now imports _S_empty_rep_storage[] from
> cygstdc++-6.dll.
> 
> No new regressions with -std=c++14, -static, -D_GLIBCXX_USE_CXX11_ABI.

What if you test with -D_GLIBCXX_ASSERTIONS ?

(I expect you'll get a crash for either c++14 or c++17)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]