[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096 Andrew Pinski changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2024-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Richard Bie

[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2005-07-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-27 16:38 --- >From comment #7 of PR 22348: extract_muldiv(51 - 7, 3, FLOOR_MOD_EXPR) returns incorrectly 0. The reason is that 51 - 7 is replaced with 51 + ~6, and both 51 and ~6 are divisible by 3, so the result obviou

[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2005-07-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||rakdver at gcc dot gnu dot ||org Status|UNCONFIRMED

[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2005-07-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||22348 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096

[Bug middle-end/23096] Wrong folding for FLOOR_MOD_EXPR

2005-07-27 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn|22348 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096