On Tue, Mar 27, 2007 at 02:41:51PM +0100, Richard Guenther wrote:
> On 3/27/07, H. J. Lu <[EMAIL PROTECTED]> wrote:
> >On Tue, Mar 27, 2007 at 12:28:18PM +0200, François-Xavier Coudert wrote:
> >> >My nightly bootstrap of mainline on i386-linux failed tonight, on
> >> >revision 123192.
> >>
> >> This issue is still not fixed as of now. A diff was posted to PR31344
> >> with the mention "This isn't a real patch." Is a real patch planned in
> >> the near future, or is there any other short-time plan to get
> >> i386-linux bootstrap back?
> >
> >Just configure gcc with --disable-decimal-float. I don't think
> >dfp works on x86 very well.
> 
> If it doesn't work it shouldn't be the default.

I am trying to find a way to expose the dfp bugs on x86. Many DFP
testcases will fail on x86 at any optimization with error like

bash-3.1$ ./xgcc -B./ -m32 -S /tmp/foo.i -mtune=generic
bash-3.1$ ./xgcc -B./ -m32 -S /tmp/foo.i -O1 -mtune=generic
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/compat/scalar-by-value-dfp_x.c:
 In function ‘checkd128’:
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/compat/scalar-by-value-dfp_x.c:149:
internal compiler error: in cgraph_local_info, at cgraph.c:618
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

But for some reason, x86-64 works fine:

bash-3.1$ ./xgcc -B./ -O3 -S /tmp/foo.i -mtune=generic


H.J.

Reply via email to