https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95171
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:1e676cfbe1e13fba2c636b560362ed4f0a56893d commit r10-9100-g1e676cfbe1e13fba2c636b560362ed4f0a56893d Author: Richard Biener <rguent...@suse.de> Date: Mon May 18 08:51:23 2020 +0200 middle-end/95171 - inlining of trapping compare into non-call EH fn This fixes always-inlining across -fnon-call-exception boundaries for conditions which we do not allow to throw. 2020-05-18 Richard Biener <rguent...@suse.de> PR middle-end/95171 * tree-inline.c (remap_gimple_stmt): Split out trapping compares when inlining into a non-call EH function. * gcc.dg/pr95171.c: New testcase. (cherry picked from commit fe168751c5c1c517c7c89c9a1e4e561d66b24663)