------- Comment #3 from jakub at gcc dot gnu dot org 2010-08-15 19:47 ------- Yes, POSIX adds additional requirements about pointer representation and conversion, but AFAIK all targets GCC support and have POSIXish runtime satisfy that. The conversion between pointer types is not the problem in your code, it is aliasing violation, and there is nothing in POSIX that says your code is valid.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45289