[Bug rtl-optimization/71785] Computed gotos are mostly optimized away

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 20 13:20:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Aleksey from comment #12)
> But adding these two flags "-fno-reorder-blocks-and-partition
> -fno-reorder-blocks"

If you say that basic blocks should not be reordered, then they
are not.  All behaving perfectly as expected.

These options will cause exactly the same kind of "problems"
everywhere else as well.

> Is it possible to fix that?

Yes, don't use compilers options that degrade performance, if
you want good performance?


More information about the Gcc-bugs mailing list