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: "Tobias dot Schlueter at physik dot uni-muenchen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2004 17:26:43 -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 Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-05-31 17:26 -------
Subject: Re: [gfortran] der_io.f90 failure apparently
due to misoptimization
pinskia at gcc dot gnu dot org wrote:
> ------- 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.
>
Looking at this again, I agree. I had thought this only dealt with
statement functions, but the changes to string parameters also affect
external functions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449