http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59519
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to bin.cheng from comment #7) > (In reply to Jakub Jelinek from comment #6) > > Created attachment 31562 [details] > > gcc49-pr59519.patch > > > > I wonder if this isn't just a checking issue, the two PHI nodes created in > > *new_exit_bb have the same argument, so I think it is just fine if the two > > PHI results are used interchangeably, later optimization passes should > > hopefully coalesce them into a single IV. > > I tested one similar patch before. It passed x86_64 bootstrap and normal > regression test. It failed some ada (also one go) cases if I ran regression > test with "-O3" option. The failures look like noise to me, which I am not > sure about. What's your test results? I admit I haven't performed -O3 bootstrap but normal, saw no bootstrap failures nor testsuite regressions. I'll try to run make check with RUNTESTFLAGS='--target_board=unix/-O3'.