[Bug 22413] New: [telepathy-gabble 0.7.29] gcc 4.4 -O2 strict-aliasing warning

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 22 15:20:44 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=22413

           Summary: [telepathy-gabble 0.7.29] gcc 4.4 -O2 strict-aliasing
                    warning
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: biru.ionut at gmail.com


Created an attachment (id=27006)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=27006)
com

my CFLAGS is -march=x86-64 -mtune=generic -O2 -pipe. is not x86_64 related and
is working if i add -fno-strict-aliasing.

asyncns.c: In function ‘asyncns_wait’:
asyncns.c:984: warning: dereferencing pointer ‘ai_resp’ does break
strict-aliasing rules
asyncns.c:985: warning: dereferencing pointer ‘ai_resp’ does break
strict-aliasing rules
asyncns.c:986: warning: dereferencing pointer ‘ai_resp’ does break
strict-aliasing rules
asyncns.c:976: note: initialized from here
asyncns.c:1017: warning: dereferencing pointer ‘ni_resp’ does break
strict-aliasing rules
asyncns.c:1018: warning: dereferencing pointer ‘ni_resp’ does break
strict-aliasing rules
asyncns.c:1019: warning: dereferencing pointer ‘ni_resp’ does break
strict-aliasing rules
asyncns.c:1021: warning: dereferencing pointer ‘ni_resp’ does break
strict-aliasing rules


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


More information about the telepathy-bugs mailing list