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 libfortran/78055] [7 regression] Many new gfortran test failures


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

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