This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/81698] expand_omp_sections generates unusual switch


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]