https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113217
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Alex Coplan from comment #4) > Looks like the fix in r14-6784-gaca1f9d7cab3dc1a374a7dc0ec6f7a8d02d2869a > wasn't sufficient to prevent trying to move throwing accesses above debug > insns. ICEs with just -O -fnon-call-exceptions -g. I'll see what can be > done about that. I don't think we need to punt on such opportunities. Please note we also want to keep with and without -g code generation the same too. -fcompare-debug can helpful there too ...