------- Comment #1 from frederic dot devernay at m4x dot org 2005-11-29 13:30 ------- Created an attachment (id=10361) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10361&action=view) test case
this source generates wrong code without issueing a warning, using: g++ -DMAIN -O -Wstrict-aliasing -fstrict-aliasing cxcopy-preproc.cpp -o testcase it generates the right code with: g++ -DMAIN -O cxcopy-preproc.cpp -o testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25152