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/68046] -ftrapv doesn't catch leaq-based overflows on x86-64 Date: Thu, 22 Oct 2015 11:44:00 -0000 [thread overview] Message-ID: <bug-68046-4-hfzBq7CyOW@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-68046-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68046 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Oct 22 11:44:11 2015 New Revision: 229170 URL: https://gcc.gnu.org/viewcvs?rev=229170&root=gcc&view=rev Log: 2015-10-22 Richard Biener <rguenther@suse.de> PR middle-end/68046 PR middle-end/61893 * optabs.c (emit_libcall_block_1): Allow a NULL_RTX equiv. (expand_binop): For -ftrapv optabs do not record an REG_EQUAL note. (expand_unop): Likewise. * gcc.dg/torture/ftrapv-2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/ftrapv-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/optabs.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2015-10-22 11:44 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-10-21 22:39 [Bug c/68046] New: " eggert at gnu dot org 2015-10-21 22:48 ` [Bug middle-end/68046] " pinskia at gcc dot gnu.org 2015-10-21 23:46 ` joseph at codesourcery dot com 2015-10-22 8:19 ` rguenth at gcc dot gnu.org 2015-10-22 8:47 ` rguenth at gcc dot gnu.org 2015-10-22 11:44 ` rguenth at gcc dot gnu.org [this message] 2015-10-23 8:57 ` ebotcazou 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-68046-4-hfzBq7CyOW@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).