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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The problem here is that check_case_bounds is getting NOP_EXPRs:
(const A) 0
introduced in convert_and_check called in c_add_case_label, and then it tries
tree_int_cst_compare on that, oops.  STRIP_NOPS-ing case_low and case_high
would fix this...

Reply via email to