https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85848
--- Comment #4 from Tom Westerhout ---
A few configurations on which the attached example fails to compile:
$ g++-6 -v
Using built-in specs.
COLLECT_GCC=g++-6
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85848
--- Comment #3 from Tom Westerhout ---
Created attachment 44153
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44153&action=edit
Preprocessed source
Result after preprocessing test.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85848
--- Comment #2 from Tom Westerhout ---
Created attachment 44152
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44152&action=edit
Sample code triggering the error
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kot.tom97 at gmail dot com
Target Milestone: ---
See
https://stackoverflow.com/questions/50430149/clang-vs-gcc-when-static-casting-to-a-move-only-type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71504
Tom Westerhout changed:
What|Removed |Added
CC||kot.tom97 at gmail dot com
--- Comment