https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 30 08:05:47 2017 New Revision: 248651 URL: https://gcc.gnu.org/viewcvs?rev=248651&root=gcc&view=rev Log: Backported from mainline 2017-02-25 Jakub Jelinek <ja...@redhat.com> PR middle-end/79396 * tree-eh.c (operation_could_trap_p, stmt_could_throw_1_p): Handle FMA_EXPR like tcc_binary or tcc_unary. * g++.dg/opt/pr79396.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/pr79396.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-eh.c