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

Eric Fiselier <eric at efcs dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric at efcs dot ca

--- Comment #4 from Eric Fiselier <eric at efcs dot ca> ---
Hi Jonathan,

Can you re-open this bug? GCC still accepts a number of conversions from void
that it shouldn't.

// g++ -std=c++2a 
float dummy = {};
static_assert((int*)(void*)&dummy);

https://godbolt.org/z/_DtmUc

Reply via email to