This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [vta, trunk] avoid aliasing warning in decimal128.c
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 1 Mar 2009 11:38:29 +0100
- Subject: Re: [vta, trunk] avoid aliasing warning in decimal128.c
- References: <or8wnpwzac.fsf@livre.oliva.athome.lsd.ic.unicamp.br>
On Sun, Mar 1, 2009 at 7:08 AM, Alexandre Oliva <aoliva@redhat.com> wrote:
> GCC reports strict-aliasing violations in decimal128.c. ?This patch
> silences the warning.
>
> I'm installing this in the VTA branch. ?Ok for trunk?
This is an ugly fix. I suggest to build libdecnumber with -fno-strict-aliasing
instead.
Thanks,
Richard.
>
> --
> Alexandre Oliva ? ? ? ? ? http://www.lsd.ic.unicamp.br/~oliva/
> You must be the change you wish to see in the world. -- Gandhi
> Be Free! -- http://FSFLA.org/ ? FSF Latin America board member
> Free Software Evangelist ? ? ?Red Hat Brazil Compiler Engineer
>
>