http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41165
--- Comment #4 from Dominique d'Humieres 2011-03-07
10:11:36 UTC ---
As shown by pr47850, the problem is not restricted to PRODUCT, but likely to
the whole list in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29962#c3.
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-08-25 17:09 ---
Without checking, I'd expect it's not only PRODUCT, but all of the intrinsics
allowed in init-expr by F2003.
Offhand I'd blame expr.c (check_transformational), in particular:
2151 functions = (gfc_option.allow_std
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-08-25 17:37 ---
It turns out, that the PRODUCT is already simplified to EXPR_CONST before is is
checked in expr.c (check_init_expr).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41165
--- 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 intrin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41165
Thomas Koenig changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|