This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] (4/5-regression) PR61831 side-effect deallocation of variable components)
- From: Dominique d'HumiÃres <dominiq at lps dot ens dot fr>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: Andre Vehreschild <vehre at gmx dot de>, Mikael Morin <mikael dot morin at sfr dot fr>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Fortran List <fortran at gcc dot gnu dot org>
- Date: Mon, 18 Jan 2016 14:10:23 +0100
- Subject: Re: [Patch, fortran] (4/5-regression) PR61831 side-effect deallocation of variable components)
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGi+AQoRxnLpu5wbs=_21yogVn+aLv1KGueoaKjjwV+PEog at mail dot gmail dot com> <20160117181412 dot 3f5bbe55 at vepi2> <CAGkQGiJsXuP18ixfY-7XxmZxQ5qMaxeoJt9N=T9beVf8pmTVfg at mail dot gmail dot com> <988402C5-5327-475F-B132-B90D712AAD2B at lps dot ens dot fr> <CAGkQGiKTL5PKc+6v04nDj2p9oJQXGnh3cKUi1ESKDzYAAV0+8w at mail dot gmail dot com>
The failures with -m32 are
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Without the closing brace, I get
UNRESOLVED: gfortran.dg/derived_constructor_comps_6.f90 -O0 scan-tree-dump-times original "__builtin_free  33
Dominique
> Le 18 janv. 2016 Ã 13:48, Paul Richard Thomas <paul.richard.thomas@gmail.com> a Ãcrit :
>
> Hi Dominique,
>
> Late or not, thanks for the feedback. I'll fix the right brace. More
> worrying is the failure with -m32. I presume that the failure with
> -O0/O1 is at runtime? If not, the correction of the missing right
> brace is a mysterious trigger for a fault that is optimization
> dependent.
>
> Cheers
>
> Paul