[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-23 13:11:37
Message-ID: bug-371966-17878-xkCX0Yucdx () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=371966

--- Comment #17 from Carl Ponder <CPonder@nVidia.Com> ---
I uploaded the two assembly-files. From the "sdiff", I think this is where the
allocations vary:

              -Mnostack_arrays                             -Mstack_arrays
        --------------------------------          
-------------------------------
    494 ..Dcfi3:                                   ..Dcfi3:
    495         subq    $48, %rsp                |         subq    $32, %rsp
    496         movq    %rbx, -24(%rbp)          |         movq    %rbx,
-16(%rbp)
    497         movq    %r12, -32(%rbp)          |         movq    %r12,
-24(%rbp)
    498         movq    %r13, -40(%rbp)          |         movq    %r13,
-32(%rbp)
    499 ##  lineno: 38                             ##  lineno: 38
    500         movq    %rdi, %rbx                         movq    %rdi, %rbx
    501         movl    (%rbx), %eax                       movl    (%rbx), %eax
    502         movl    %eax, -16(%rbp)          |         movl    %eax,
-8(%rbp)
    503         movslq  -16(%rbp), %rax          |         movslq  -8(%rbp),
%rdi
    504         movq    %rax, -8(%rbp)           |         shlq    $2, %rdi
    505         leaq    -8(%rbp), %rdi           |         call    __builtin_aa
                xorl    %eax, %eax               <
                movl    $.C2_299, %esi           <
                call    pgf90_auto_alloc04       <
                movq    %rax, %r12                         movq    %rax, %r12

(I'm including the line-numbers, up to the point where they correspond between
the two files).
I'm guessing that these pgf90_auto_alloc04 / __builtin_aa are performing the
allocations, I'll check with PGI 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