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

2018-08-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #28 from Jonathan Wakely --- Author: redi Date: Tue Aug 7 22:50:55 2018 New Revision: 263383 URL: https://gcc.gnu.org/viewcvs?rev=263383=gcc=rev Log: Declare some explicit instantiations for strings in Debug Mode The empty reps

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

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #27 from Jonathan Wakely --- Author: redi Date: Wed Jul 4 11:44:39 2018 New Revision: 262385 URL: https://gcc.gnu.org/viewcvs?rev=262385=gcc=rev Log: Declare some explicit instantiations for strings in Debug Mode The empty reps

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

2018-06-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #26 from Jonathan Wakely --- (In reply to Christian Franke from comment #25) > (In reply to Jonathan Wakely from comment #23) > > What if you test with -D_GLIBCXX_ASSERTIONS ? > > > > (I expect you'll get a crash for either c++14 or

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

2018-06-29 Thread franke at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #25 from Christian Franke --- (In reply to Jonathan Wakely from comment #23) > What if you test with -D_GLIBCXX_ASSERTIONS ? > > (I expect you'll get a crash for either c++14 or c++17) Yes. Fixed with patch from r262167. New

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

2018-06-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #24 from Jonathan Wakely --- Author: redi Date: Wed Jun 27 00:11:53 2018 New Revision: 262167 URL: https://gcc.gnu.org/viewcvs?rev=262167=gcc=rev Log: Declare some explicit instantiations for strings in Debug Mode The empty reps

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

2018-06-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #23 from Jonathan Wakely --- (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. >

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

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #21 from Jonathan Wakely --- Author: redi Date: Fri Jun 22 15:58:38 2018 New Revision: 261907 URL: https://gcc.gnu.org/viewcvs?rev=261907=gcc=rev Log: PR libstdc++/86138 prevent implicit instantiation of COW empty rep The explicit

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

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #20 from Jonathan Wakely --- Author: redi Date: Fri Jun 22 14:56:18 2018 New Revision: 261902 URL: https://gcc.gnu.org/viewcvs?rev=261902=gcc=rev Log: PR libstdc++/86138 prevent implicit instantiation of COW empty rep The explicit

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

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

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

2018-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #19 from Jonathan Wakely --- Great, thanks very much for checking it and the quick response!

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

2018-06-22 Thread franke at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #18 from Christian Franke --- 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

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

2018-06-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Known to work|