This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/52353] -ftrapv -fnon-call-exceptions does not work


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  <rguenther@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]