[Bug c++/62062] Missed optimization: write ptr reloaded in each loop iteration

2014-08-08 Thread petschy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62062 --- Comment #3 from petschy at gmail dot com --- (In reply to Andrew Pinski from comment #2) > Your inline asm is broken. How? In unaliased_storeb()? That's for only proving that the redundant loads/stores are not an artifact of aliasing, and is n

[Bug c++/62062] Missed optimization: write ptr reloaded in each loop iteration

2014-08-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62062 --- Comment #2 from Andrew Pinski --- Your inline asm is broken. This sounds like a missing partial store not being optimized. Not something we do right now. Refernces are pointers really, syntax hides the semantics.

[Bug c++/62062] Missed optimization: write ptr reloaded in each loop iteration

2014-08-08 Thread petschy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62062 --- Comment #1 from petschy at gmail dot com --- Created attachment 33274 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33274&action=edit source