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: unassig...@gcc.gnu.org ReportedBy: douga...@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.