http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762
--- Comment #2 from Jonathan Wakely 2012-06-24
16:30:54 UTC ---
These are allowed:
pa = static_cast(pb);
pb = static_cast(pa);
All the other casts are not because they involve dereferencing a null pointer
which is not allowed by [expr.unary
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762
Jonathan Wakely changed:
What|Removed |Added
Severity|major |normal
--- Comment #1 from Jonathan Wak