------- Comment #5 from darkjames at darkjames dot ath dot cx  2006-10-25 17:11 
-------
Yeah, I know, but why gcc generate good code if we add that printf to test1.c
(test2.c) ? It's still wchar * -> char * still aliasing violation.

or if we replace:
__SN(&str, 1); with
str = (CHAR_T *) (((char *) str) + 1);

it generate good code too. it's still aliasing violation?


-- 


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

Reply via email to