This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41165] -std=f95: Reject PRODUCT in initialization expressions.
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2009 17:09:29 -0000
- Subject: [Bug fortran/41165] -std=f95: Reject PRODUCT in initialization expressions.
- References: <bug-41165-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 & GFC_STD_F2003)
2152 ? trans_func_f2003 : trans_func_f95;
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41165