This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/62062] Missed optimization: write ptr reloaded in each loop iteration
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Aug 2014 12:44:28 +0000
- Subject: [Bug c++/62062] Missed optimization: write ptr reloaded in each loop iteration
- Auto-submitted: auto-generated
- References: <bug-62062-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62062
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.