https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35646
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |11.0
Resolution|---
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35646
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-03-20 10:18 ---
It works if you rewrite addto to
void addto(unsigned int *a,unsigned int b) {
if ((*a+b)http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35646
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-03-20 10:09 ---
Ok, usually combine does the transformation, but it doesn't match
(insn 7 4 8 2 t.c:2 (parallel [
(set (reg:SI 58 [ D.1549 ])
(plus:SI (reg/v:SI 60 [ b ])
(mem:SI (re
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-20 09:41 ---
I believe the backend currently does not model flags in a way that allow
the combining with the intermediate store (we might even have a bug about this
already).
--
rguenth at gcc dot gnu dot org changed: