------- Comment #3 from dfranke at gcc dot gnu dot org 2009-09-01 11:49 ------- > It turns out, that the PRODUCT is already simplified to EXPR_CONST > before is is checked in expr.c (check_init_expr).
To be more specific, in resolve.c (resolve_unknown_f) the simplification is implied via intrinsic.c (gfc_intrinsic_func_interface). The latter returns MATCH_YES if the call corresponds to an intrinsic, simplification is done if possible. -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-09-01 11:49:55 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41165