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

--- Comment #18 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
...but presumably a question here is "what is the ideal output of the compiler
for that code?", and the answer might be:

constexpr-reinterpret1.C:19:??: error: reinterpret_cast from integer to pointer
   { return *((Inner *)4); }
              ^~~~~~~~~~

and it ought to be possible to implement that with the more ambitious v3 patch
kit.

Reply via email to