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

2019-11-21 Thread rndfax at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #20 from Aleksey --- (In reply to Segher Boessenkool from comment #19) > '-freorder-blocks' > Reorder basic blocks in the compiled function in order to reduce > number of taken branches and improve code locality. > >

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

2019-11-21 Thread rndfax at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #18 from Aleksey --- (In reply to Andrew Pinski from comment #17) > First off internal documentation is not user documentation. > Second internal documentation is not always in sync with the code. In this > case it seems like it

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

2019-11-21 Thread rndfax at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #16 from Aleksey --- > > It would be helpful if you give the explanation how these options affect > > "un-factoring". > > What options? -fno-reorder-blocks? Those doo the same to this code as > they do anywhere else: the compiler

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

2019-11-20 Thread rndfax at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #14 from Aleksey --- (In reply to Segher Boessenkool from comment #13) > (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

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

2019-11-20 Thread rndfax at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 Aleksey changed: What|Removed |Added CC||rndfax at yandex dot ru --- Comment #12 from