This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15449] [gfortran] der_io.f90 failure apparently due to misoptimization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2004 17:09:48 -0000
- Subject: [Bug tree-optimization/15449] [gfortran] der_io.f90 failure apparently due to misoptimization
- References: <20040514224732.15449.tobi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-31 17:09 -------
No it cannot be related to my patch as my only touched the C and C++ front-ends, but rather I think it
was fixed by Paul's patch:
2004-05-30 Paul Brook <paul@codesourcery.com>
PR fortran/15620
* trans-decl.c (gfc_shadow_sym, gfc_restore_sym): New functions.
* trans-expr.c (gfc_trans_string_copy): New function.
(gfc_conv_statement_function): Use them. Create temp vars. Enforce
character lengths.
(gfc_conv_string_parameter): Use gfc_trans_string_copy.
* trans-stmt.c (gfc_trans_forall_1): Use gfc_{shadow,restore}_sym.
* trans.h (struct gfc_saved_var): Define.
(gfc_shadow_sym, gfc_restore_sym): Add prototypes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449