This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68560] [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Dec 2015 15:55:35 +0000
- Subject: [Bug fortran/68560] [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto
- Auto-submitted: auto-generated
- References: <bug-68560-4 at http dot gcc dot gnu dot org/bugzilla/>
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. ;-)