[Webkit-unassigned] [Bug 92797] New: gcc 4.7 complains uninitialized variable.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 15:38:56 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92797

           Summary: gcc 4.7 complains uninitialized variable.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shenhan at google.com


GCC 4.7 gives uninitialized value warning (treated as errors) against the following - 

  (a)
  uint32x2_t temporary1 = vset_lane_u32(*source, temporary1, 0);

This need to be fixed. The obvious way to do this is - 

  (b)
  uint32x2_t temporary1 = {0, 0};
  temporary1 = vset_lane_u32(*source, temporary1, 0);

(a) and (b) generates exactly the same asm. 

A patch is attached.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list