[Bug tree-optimization/52705] Loop optimization failure with -O2 versus -O1

2012-03-27 Thread veiokej at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52705 --- Comment #3 from Veiokej 2012-03-28 03:58:24 UTC --- -fno-strict-aliasing does indeed fix the problem, so I'm compelled to believe your assertion that the code contains an aliasing violation. For the record, would you mind simply indicating w

[Bug tree-optimization/52705] Loop optimization failure with -O2 versus -O1

2012-03-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52705 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/52705] Loop optimization failure with -O2 versus -O1

2012-03-24 Thread pinskia at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52705 --- Comment #1 from pinskia at gmail dot com 2012-03-25 05:12:44 UTC --- You are volating c/c++ aliasing rules. Use memcpy or -fno-strict-aliasing . Sent from my Palm Pre on AT&T On Mar 24, 2012 21:27, veiokej at gmail dot com