This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29397] Constant logical expression with parameter array
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2007 22:42:15 -0000
- Subject: [Bug fortran/29397] Constant logical expression with parameter array
- References: <bug-29397-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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