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 fortran/60370] TRANSPOSE on rhs of allocatable array assignment gives error with -fcheck=bounds


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.


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