This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/78055] [7 regression] Many new gfortran test failures
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Oct 2016 19:31:24 +0000
- Subject: [Bug libfortran/78055] [7 regression] Many new gfortran test failures
- Auto-submitted: auto-generated
- References: <bug-78055-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78055
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
> As a test, try this patch.
>
> diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
> index edc520a9..00ced533 100644
> --- a/libgfortran/io/io.h
> +++ b/libgfortran/io/io.h
> @@ -514,6 +514,7 @@ typedef struct st_parameter_dt
> large enough to hold a complex value (two reals) of the
> largest kind. */
> char value[32];
> + GFC_IO_INT not_used;
> formatted_dtio fdtio_ptr;
> unformatted_dtio ufdtio_ptr;
> } p;
>
> Maybe it is an alignment issue???
Seems so, especially since sparc is more sensitive here. I've just
rebuilt libgfortran with the patch applied and manually ran the first
failing test: it passes now. Running a full make check-gfortran for
both 32 and 64-bit multilibs now.
Thanks.
Rainer