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 }.