This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] "Fix" PR39497, dfp.c is not C
On Wed, 25 Mar 2009, Diego Novillo wrote:
> 2009/3/24 Richard Guenther <rguenther@suse.de>:
>
> > This "fixes" the loads of alias warnings we now see with compiling
> > dfp.c by building it with -fno-strict-aliasing instead of just
> > ignoring errors with -Wno-error.
> >
> > Bootstrap / regtest in progress. ÂAny objections?
>
> None from me. I guess they can't be type cast away, right?
You can replace every 2nd line of that file with a memcpy. With
some local mods on a-i branch we now "miscompile" dfp.c and all
dfp tests fail.
Thus, if the maintainers of dfp.c want to fix it, fine. It looked
too much excercising for me.
Richard.