------- Comment #6 from pault at gcc dot gnu dot org 2006-11-17 16:22 ------- A patch is on its way - the error is in expr.c(find_array_section); the code presently returns FAILURE if the elements of the array section are not constant. This is not correct for any of the simplify functions, which should return SUCCESS even if simplification has not occurred - FAILURE is reserved for errors.
Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2006-11-14 06:31:49 |2006-11-17 16:22:31 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29821