http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52353
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-05 13:08:59 UTC --- Author: rguenth Date: Mon Mar 5 13:08:55 2012 New Revision: 184932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184932 Log: 2012-03-05 Richard Guenther <rguent...@suse.de> PR middle-end/52353 * optabs.h (trapv_unoptab_p): New function. (trapv_binoptab_p): Likewise. * optabs.c (expand_binop): Use emit_libcall_block_1 with a proper equiv_may_trap argument. (expand_unop): Likewise. (emit_libcall_block_1): Take extra argument whether the instruction may trap. Renamed from ... (emit_libcall_block): ... this. New wrapper. Modified: trunk/gcc/ChangeLog trunk/gcc/optabs.c trunk/gcc/optabs.h