This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fortran/67616 -- Fix ICE within a BLOCK construct
- From: Mikael Morin <mikael dot morin at sfr dot fr>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 26 Sep 2015 15:34:22 +0200
- Subject: Re: [PATCH] fortran/67616 -- Fix ICE within a BLOCK construct
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header dot from=mikael dot morin at sfr dot fr
- References: <20150925214129 dot GA19593 at troutmask dot apl dot washington dot edu>
Le 25/09/2015 23:41, Steve Kargl a Ãcrit :
The attached patch has been built and regression
tested on x86_64-*-freebsd. No regression occurred.
The patch removes a conditional within an assert()
that triggers when a BLOCK construct is encountered.
What happens here, I think, is symtree is a new block-local symbol
instead of the host-associated one.
symtree is basically unused here, yet playing with the wrong one is not
right.
Can you try using gfc_get_ha_sym_tree a few lines above instead of
gfc_get_sym_tree?
A patch like that is preapproved.
Mikael