[Bug target/35646] gcc is not using the overflow flag

2021-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35646 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug target/35646] gcc is not using the overflow flag

2008-03-20 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35646

[Bug target/35646] gcc is not using the overflow flag

2008-03-20 Thread rguenth at gcc dot gnu dot org
--- 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

[Bug target/35646] gcc is not using the overflow flag

2008-03-20 Thread rguenth at gcc dot gnu dot org
--- 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

[Bug target/35646] gcc is not using the overflow flag

2008-03-20 Thread rguenth at gcc dot gnu dot org
--- 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: