https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80363
Bug ID: 80363 Summary: #'vec_cond_expr' not supported by dump_expr#<expression error> Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jwjagersma at gmail dot com Target Milestone: --- Created attachment 41157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41157&action=edit test case Not sure if this is valid code, see attached source file. (I was kinda hoping std::max would use the maxps sse instruction. that was a wild guess...) In any case, the error message here seems wrong: $ g++ vectest.cpp In file included from D:/msys64/mingw64/include/c++/6.3.0/algorithm:61:0, from vectest.cpp:1: D:/msys64/mingw64/include/c++/6.3.0/bits/stl_algobase.h: In instantiation of 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = __vector(4) float]': vectest.cpp:16:22: required from here D:/msys64/mingw64/include/c++/6.3.0/bits/stl_algobase.h:224:7: error: could not convert '#'vec_cond_expr' not supported by dump_expr#<expression error>' from '__vector(4) int' to 'bool' if (__a < __b) ^~