This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix loop-header copying do-while loop detection (PR85116)


On Fri, 27 Apr 2018, Richard Biener wrote:

> On Fri, 27 Apr 2018, David Edelsohn wrote:
> 
> > Hi, Richi
> > 
> > This patches causes a boostrap failure on AIX.  Everything miscompares.
> > The code itself is the same, but the DWARF debug information contains many
> > differences.
> 
> Does AIX use bootstrap-debug by default?  I don't see how the patch
> can cause this kind of issue directly but of course it will change
> CH decisions which may expose latent bugs somewhere.
> 
> Can you provide more details please, like actual differences?
> I would have expected the dwarf2out.c change to be a more likely
> candidate for such symtoms but I trust that you did properly
> bisect to my patch?

OK, so the x86-64 -O3 bootstrap failure is not caused by this patch,
reverting it doesn't fix the issue.

The difference w/ the patch reverted is in debug info, all (indirect)
strings reside at different offsets.  If I strip the objects they
compare identical.

I'm trying reversal of that dwarf2out patch now.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]