------- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-14 05:01 ------- This is a bit complex, we could use a loop reroller to roll this into a loop and then transform that loop into memset for test1. For test2 it is simple and a patch was presented at last year's gcc summit (and I posted an older version of that patch a year or two ago).
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu | GCC target triplet|i686-pc-linux-gnu | Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2007-01-14 05:01:04 date| | Summary|Array initialization can use|Expanded array |memset builtin function |initialization can use | |memset builtin function http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30442