On(c)e more: optimizer failure
Stefan Kanthak
stefan.kanthak@nexgo.de
Sun Aug 22 21:22:03 GMT 2021
Gabriel Ravier <gabravier@gmail.com> wrote:
> On 8/21/21 10:19 PM, Stefan Kanthak wrote:
>> Jakub Jelinek <jakub@redhat.com> wrote:
[...]
>>> GCC doesn't do value range propagation of floating point values, not even
>>> the special ones like NaNs, infinities, +/- zeros etc., and without that the
>>> earlier ifs aren't taken into account for the earlier code.
>> Ouch, to bad! That was but the very least expectation I had.
>> And indeed, removing the 3 other if-clauses doesn't change how the
>> final if-clause gets translated.
[...]
>>> You should file missed optimizations into gcc bugzilla where they can be
>>> seen any time.
You should better implement such missing optimisations your users might
expect from a mature compiler.
>> I don't have a bugzilla account, and I don't use GCC for anything serious.
>>
>> Stefan
>
> It's *that* demanding for you to create a Bugzilla account ?
You (and everybody else) if free to use GCC bugzilla.
Everybody and me is but also free NOT to use GCC bugzilla.
Stefan
More information about the Gcc
mailing list