https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98636
--- Comment #10 from prathamesh3492 at gcc dot gnu.org --- Created attachment 49997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49997&action=edit untested fix Hi, Sorry for late response. The option that seemed to be causing the issue was arm_fp16_format. The attached patch fixes the issue by excluding it from checks in cl_optimization_compare, which prevents the ICE for me. Does this look OK ? Thanks, Prathamesh