------- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-25 17:35 ------- (In reply to comment #5) > Yes, but the problem appears with -O1 which has -fno-strict-aliasing. Now > whether -fno-strict-aliasing makes the testcase valid is another question ;)
Nope, unaligned access is different from strict aliasing. With the cast to uint64_t* you say the alignment is correct for that type. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27299