This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/49747] New: warning:dereferencing type-punned pointer will break strict-aliasing rules


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49747

           Summary: warning:dereferencing type-punned pointer will break
                    strict-aliasing rules
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: douganla@gru.com


After emerging sys-devel/gcc-4.4.5 on Gentoo Linux kernel-2.6.38-gentoo-r6 I am
getting this:

Completed installing gcc-4.4.5 into /var/tmp/portage/sys-devel/gcc-4.4.5/image/

ecompressdir: bzip2 -9 /usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/man
ecompressdir: bzip2 -9 /usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/info

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:322: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:677: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:795: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:322: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:677: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:795: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:322: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:677: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:795: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:322: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:677: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:795: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:322: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:677: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:795: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:322: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:677: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:795: 

warning: dereferencing type-punned pointer will break strict-aliasing rules
 * 

/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843: 

warning: dereferencing type-punned pointer will break strict-aliasing rules

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://gcc.gnu.org/

I have seen where others have this same problem but have not seen a solution.
Any help with this would be greatly appreciated.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]