[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [valgrind] [Bug 371966] No uninitialised values reported with PGI -Mstack_arrays
From: Carl Ponder <bugzilla_noreply () kde ! org>
Date: 2016-11-03 21:14:07
Message-ID: bug-371966-17878-syCWSHuu2j () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=371966
--- Comment #10 from Carl Ponder <CPonder@nVidia.Com> ---
Stopping at line 70 puts it right after the array-allocation but before the
array-writes are happening:
62 implicit none
63 integer, intent(in) :: N
64 integer ( kind = 4 ) i
65 integer ( kind = 4 ) :: x(1:N)
66
67 !
68 ! X = { 0, 1, 2, 3, 4, ?a, ?b, ?c, ?d, ?e }.
69 !
70 do i = 1, 5
The data-state still says initialized, even though the array contains junk
values:
(gdb) print x
$2 = (40, 0, 117993993, 0, 117993992, 0, 69349896, 0, 19, 0)
(gdb) print &x
$3 = (PTR TO -> ( integer (10))) 0xffeffed90
(gdb) monitor xb 0xffeffed90 40
00 00 00 00 00 00 00 00
0xFFEFFED90: 0x28 0x00 0x00 0x00 0x00 0x00 0x00 0x00
00 00 00 00 00 00 00 00
0xFFEFFED98: 0x09 0x72 0x08 0x07 0x00 0x00 0x00 0x00
00 00 00 00 00 00 00 00
0xFFEFFEDA0: 0x08 0x72 0x08 0x07 0x00 0x00 0x00 0x00
00 00 00 00 00 00 00 00
0xFFEFFEDA8: 0x08 0x32 0x22 0x04 0x00 0x00 0x00 0x00
00 00 00 00 00 00 00 00
0xFFEFFEDB0: 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00
I'm checking with the compiler guys on this.
--
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic