This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/67089] [4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Nov 2015 18:43:26 +0000
- Subject: [Bug target/67089] [4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64
- Auto-submitted: auto-generated
- References: <bug-67089-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67089
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 36830
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36830&action=edit
gcc6-pr67089.patch
Untested patch for matching hand written unsigned addition/subtraction overflow
checks as {ADD,SUB}_OVERFLOW if target has u{add,sub}v4 optabs.