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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
typedef int vv __attribute__((__vector_size__(sizeof(int))));
constexpr vv ff(int code) { return vv{code}; }
template <typename _Tp> struct h {
    typedef _Tp type;
};
template <class T> void f() {
    using ut = h<unsigned char>::type;
    constexpr auto c = ff(static_cast<ut>('\\'));
}
```

Reply via email to