public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/52478] -ftrapv calls the wrong functions in libgcc Date: Mon, 28 Jul 2014 08:48:00 -0000 [thread overview] Message-ID: <bug-52478-4-bpQFLsU5Yg@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52478-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52478 --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon Jul 28 08:47:38 2014 New Revision: 213117 URL: https://gcc.gnu.org/viewcvs?rev=213117&root=gcc&view=rev Log: 2014-07-28 Richard Biener <rguenther@suse.de> PR middle-end/52478 * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make sure to register SImode ones, not only >= word_mode ones. * expr.c (expand_expr_real_2): When expanding -ftrapv binops do not use OPTAB_LIB_WIDEN. * gcc.dg/torture/ftrapv-1.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/ftrapv-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c trunk/gcc/optabs.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2014-07-28 8:48 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-04 12:59 [Bug middle-end/52478] New: " burnus at gcc dot gnu.org 2012-03-05 10:19 ` [Bug middle-end/52478] " rguenth at gcc dot gnu.org 2012-03-05 10:43 ` burnus at gcc dot gnu.org 2012-03-05 12:02 ` rguenth at gcc dot gnu.org 2012-10-07 19:15 ` pinskia at gcc dot gnu.org 2014-07-24 9:17 ` rguenth at gcc dot gnu.org 2014-07-28 8:48 ` rguenth at gcc dot gnu.org [this message] 2014-07-28 9:06 ` rguenth at gcc dot gnu.org 2014-07-29 11:11 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-52478-4-bpQFLsU5Yg@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).