This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/15449] [gfortran] der_io.f90 failure apparently due to misoptimization


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]