------- Comment #2 from falk at debian dot org  2006-04-25 12:19 -------
It's a valid C++ fragment. However, this code accesses "ptr", which is of type
void*, via an lvalue of type U16*. This is undefined behavior, so there is no
gcc bug here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27306

Reply via email to