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] warning:dereferencing type-punned pointer will break strict-aliasing rules


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-14 14:49:53 UTC ---
(In reply to comment #0)
> After emerging sys-devel/gcc-4.4.5 on Gentoo Linux kernel-2.6.38-gentoo-r6

What does this mean?  Not everyone uses gentoo or wants to understand its pkg
system.

I assume you're building gcc-4.4.5 with a newer gcc?


> 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
>  * 


That code has already changed to avoid those warnings:
http://gcc.gnu.org/viewcvs?view=revision&revision=147705

So I think this is FIXED


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