------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-02-09 22:42 ------- When we enter into gfc_trans_transfer, we have the following:
if (ss == gfc_ss_terminator) { /* Transfer a scalar value. */ and we come here with a EXPR_CONST array, for which ss is set to gfc_ss_terminator, but it's not a scalar. It's pretty similar to PR29400, in a different place of the front-end code. I don't know the translation of constant arrays enough to understand if a temporary should be create there or earlier (and where?). -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2007-02-06 14:05:37 |2007-02-09 22:42:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29397