This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49636] [F03] ASSOCIATE construct confused with slightly complicated case
- 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: Tue, 11 Feb 2014 23:40:07 +0000
- Subject: [Bug fortran/49636] [F03] ASSOCIATE construct confused with slightly complicated case
- Auto-submitted: auto-generated
- References: <bug-49636-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49636
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 32098 [details]
> A fix for this problem
AFAICT it fixes the problem for 64 bit mode only. In 32 bit mode the ICE is
gone, but I get at run time
i_good= 1 3 5
i_bad= 1********** 3
> I am sure that this trick will fix pr57019 too. This latter is claimed
> to be a regression but I am sure that it never worked :-) Nonetheless,
> I will take advantage of the regression label!
>
> I will work on it tomorrow night.
>
> By the way, this patch regtests OK on trunk. I have to make sure
> that substrings of character arrays work OK with ASSOCIATE.
Did you regtest with -m32? I see gfortran.dg/associated_target_5.f03 failing at
execution time with -m32, as well as the first test in pr57522
0 1 2 3
0 4 1 5