[Bug 1772] New: There are some strict-aliasing warnings during the compillation

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu May 27 21:00:11 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1772

           Summary: There are some strict-aliasing warnings during the
                    compillation
           Product: Portable OpenSSH
           Version: 5.5p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build system
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: jchadima at redhat.com


The gcc's strict-aliasing warnings may lead to problems in optimization
time, especially in newer versions of the compiler. 

there are the occurences of the warnings:

channels.c :
((struct in_addr *)&dest_addr)->s_addr = INADDR_ANY;

monitor_fdpass.c:
*(int *)CMSG_DATA(cmsg) = fd;
fd = (*(int *)CMSG_DATA(cmsg));

umac.c:
*(UINT32 *)tmp_nonce_lo = ((UINT32 *)nonce)[1];
if ( (((UINT32 *)tmp_nonce_lo)[0] != ((UINT32 *)pc->nonce)[1]) ||
         (((UINT32 *)nonce)[0] != ((UINT32 *)pc->nonce)[0]) )

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list