This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/60370] TRANSPOSE on rhs of allocatable array assignment gives error with -fcheck=bounds
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 01 Mar 2014 16:00:02 +0000
- Subject: [Bug fortran/60370] TRANSPOSE on rhs of allocatable array assignment gives error with -fcheck=bounds
- Auto-submitted: auto-generated
- References: <bug-60370-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60370
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> ---
PR52162 might be related. Running the code under comment #0 under
valgrind, I get:
==31023== Memcheck, a memory error detector
==31023== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==31023== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==31023== Command: ./a.out
==31023==
==31023== Conditional jump or move depends on uninitialised value(s)
==31023== at 0x8049D22: MAIN__ (pr60370.f90:10)
==31023== by 0x804A16E: main (pr60370.f90:12)
==31023==
==31023== Conditional jump or move depends on uninitialised value(s)
==31023== at 0x8049D59: MAIN__ (pr60370.f90:10)
==31023== by 0x804A16E: main (pr60370.f90:12)
==31023==
==31023== Conditional jump or move depends on uninitialised value(s)
==31023== at 0x8049D90: MAIN__ (pr60370.f90:10)
==31023== by 0x804A16E: main (pr60370.f90:12)
==31023==
==31023== Conditional jump or move depends on uninitialised value(s)
==31023== at 0x8049DC7: MAIN__ (pr60370.f90:10)
==31023== by 0x804A16E: main (pr60370.f90:12)
==31023==
==31023== Conditional jump or move depends on uninitialised value(s)
==31023== at 0x8049E02: MAIN__ (pr60370.f90:10)
==31023== by 0x804A16E: main (pr60370.f90:12)
==31023==
At line 10 of file pr60370.f90
Fortran runtime error: ==31023== Conditional jump or move depends on
uninitialised value(s)
etc.