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 fortran/68560] [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68560

--- Comment #13 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #12)
> The statement in fortran/trans-intrinsic.c
> 
>   gfc_copy_formal_args_intr (sym, expr->value.function.isym,
>                              ignore_optional ? expr->value.function.actual
>                                              : NULL);
> 
> looks suspicious: if ignore_optional means what indicated by the name and is
> true, why passing expr->value.function.actual and NULL otherwise?
> 
Seeing how the argument is used would tell you the answer. ;-)

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