[Bug bootstrap/59985] stage2/3 compare error on lto-streamer-in.o

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Thu Jan 30 07:40:00 GMT 2014


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

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Richard Biener from comment #1)
> does it work if you configure with --without-build-config?  (thus, disable
> bootstrap-debug)

Ok with this option, stage 2 is not compiled with -gtoggle, and the check
skipped?

I will give it a try, but it will take a few days before I have results.

It is however quite likely that it will work, because both assembler
variants are equivalent, only some instructions moved, and the stage 2
has an intermediate result in [r0,r1] but it is not used afterwards.

What I tried before was this:

I copied the command-lines which build lto-streamer-in.o in stage 2 and 3
in a batch file, and played with them.

Both stage1-gcc/xg++ and stage2-gcc/xg++ produce different output dependent
on the -gtoggle option, but only with this single file.
If the same command line is used the output is identical.

-fdump-tree-all-all and -fdump-rtl-all-all have no influence.



More information about the Gcc-bugs mailing list