[Bug libgomp/81698] expand_omp_sections generates unusual switch

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 3 14:56:00 GMT 2017


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That seems like expand_case bug to me.  We don't rely on order of edges for say
GIMPLE_COND either, but determine which one is which by EDGE_FALSE_VALUE vs.
EDGE_TRUE_VALUE.  For GIMPLE_SWITCH, I think it should just determine the
label, from that find which bb it is in and find the corresponding edge.


More information about the Gcc-bugs mailing list