[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 --- Comment #10 from Jonathan Wakely --- FTR this was found by https://github.com/antlr/antlr4/issues/1608
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Wed Feb 15 19:10:43 2017 New Revision: 245492 URL: https://gcc.gnu.org/viewcvs?rev=245492=gcc=rev Log: PR libstdc++/79114 use dg-require-atomic-builtins for new test PR libstdc++/79114 * testsuite/18_support/nested_exception/79114.cc: Add dg-require. Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 --- Comment #8 from Jonathan Wakely --- Ah yes, because throw_with_nested still depends on atomics in gcc-6-branch, and so we need a dg-require- in the test (but only on the branch). I'll add that.
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 --- Comment #7 from Christophe Lyon --- I should probably mention that the test passes on trunk in the same configurations.
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #6 from Christophe Lyon --- Hi Jonathan, Since you backported this to the gcc-6-branch, I've noticed that the new test (79114.cc) fails on old ARM versions (eg. when using -march=armv5t). The error message is: gccsrc/libstdc++-v3/testsuite/18_support/nested_exception/79114.cc:25: error: 'throw_with_nested' is not a member of 'std'
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Jonathan Wakely --- Fixed for 6.4 and 7.1
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Tue Feb 14 20:07:48 2017 New Revision: 245449 URL: https://gcc.gnu.org/viewcvs?rev=245449=gcc=rev Log: PR79114 use decayed type in std::throw_with_nested assertion Backport from mainline 2017-01-17 Jonathan WakelyPR libstdc++/79114 * libsupc++/nested_exception.h (throw_with_nested): Use decay instead of remove_reference. * testsuite/18_support/nested_exception/79114.cc: New test. Added: branches/gcc-6-branch/libstdc++-v3/testsuite/18_support/nested_exception/79114.cc Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog branches/gcc-6-branch/libstdc++-v3/libsupc++/nested_exception.h
[Bug libstdc++/79114] [6 Regression] std::throw_with_nested("string literal") is rejected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114 Jonathan Wakely changed: What|Removed |Added Summary|[6/7 Regression]|[6 Regression] |std::throw_with_nested("str |std::throw_with_nested("str |ing literal") is rejected |ing literal") is rejected --- Comment #3 from Jonathan Wakely --- Fixed on trunk so far, backport to follow.