On Jun 22, 2017, Alexandre Oliva <aol...@redhat.com> wrote:

> The patch below (is this what you meant?) fixes the PR testcase, and the
> new else block doesn't get exercised in an x86_64-linux-gnu bootstrap.

Err, I misdescribed the situation.  It's not that it doesn't get
exercised, it's that this new block doesn't make any noticeable
difference in the generated code.  I checked that by adding a new option
in common.opt, running the new block conditionally on the new option,
building stage1 host normally, then continuing bootstrap with
GCC_COMPARE_DEBUG=-fthe-new-option set in the environment, building
target libs and stage2 build and host like that.  GCC_COMPARE_DEBUG,
like -fcompare-debug, checks that the compiler dumps at final are the
same.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
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 Brasil GNU Toolchain Engineer

Reply via email to