https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105736
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |siddhesh at gcc dot
gnu.org
Summary|[13 Regression] ICE in |[12 Regression] ICE in
|force_gimple_operand_1, at |force_gimple_operand_1, at
|gimplify-me.cc:79 since |gimplify-me.cc:79 since
|r13-222-g28896b38fabce818 |r13-222-g28896b38fabce818
Version|13.0 |12.0
Keywords| |ice-on-valid-code
--- Comment #1 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> ---
Also affects gcc 12; it's only that it's more easily visible through the ubsan
generated __bdos call like in this reproducer. The valid size check is missing
a check to ensure that it's not an error_mark_node.