[Bug tree-optimization/88598] simplification of multiplication by 1 or 0 fails
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 27 12:18:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88598
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think I had a patch for that kind of thing, see
https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01559.html , but Richi wanted to
do it differently if I remember well. In any case, the patch didn't handle
RANGE_EXPRs efficiently, and it would be nice if we canonicalized ctors like {
1, 1, 1, 1, 1, 1, 1 } into { [0..6] = 1 }.
More information about the Gcc-bugs
mailing list