This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/59708] clang-compatible checked arithmetic builtins
- 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: Wed, 03 Dec 2014 10:19:42 +0000
- Subject: [Bug c/59708] clang-compatible checked arithmetic builtins
- Auto-submitted: auto-generated
- References: <bug-59708-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59708
--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34179
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34179&action=edit
gcc5-pr59708.patch
Untested fix for the ppc32 builtin-arith-overflow-14.c failure.
expand_widening_mult something, const0_rtx was happily trying to expand double
word shifts by -1.