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: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Dec 2015 16:31:58 +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 #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > 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. ;-)
Sorry to be dense, but I don't understand.