<div dir="ltr">We are currently building with clang 14.0.6.  I haven't filed a bug report with llvm, will work on doing that.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 16, 2022 at 5:43 AM Petr Vorel <<a href="mailto:pvorel@suse.cz" target="_blank">pvorel@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Edward,<br>
<br>
> Hi!<br>
> > I think I finally understand what you mean by this now; it is rather<br>
> > strange that the volatility of D does not protect loop from being<br>
> > optimized away by the compiler.  I don't have a good explanation as to<br>
> > why it's happening but I'm not sure how to evaluate what's going on<br>
> > either.  Should I do anything to move this patch forward?<br>
<br>
> It all boils down if we want to work around something that looks like a<br>
> compiler bug in tests or not. I would be inclined not to do so since LTP<br>
> was littered with quite a lot of workarounds for glibc/compiler bugs and<br>
> we spend quite some time cleaning that mess up. But in this case I can<br>
> agree that this is a borderland issue so I'm not strongly against that<br>
> either.<br>
<br>
Edward, which which clang version requires it? It'd be nice to document it, so<br>
that it can be removed in the future.<br>
Is there any bug report for it?<br>
<br>
Kind regards,<br>
Petr<br>
</blockquote></div>