------- Additional Comments From falk at debian dot org 2005-03-30 12:23 ------- (In reply to comment #2) > I mean that since in case where you are doing "void *p=(void *)&i" then > according to strict-aliasing rules we get " warning: dereferencing type-punned > pointer will break strict-aliasing rules"
No, you don't. Please provide a *complete* test case, with the command line you use and the output you get. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20689