This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81603] Various compiler UB on very large constant offsets
- 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: Mon, 31 Jul 2017 08:22:46 +0000
- Subject: [Bug tree-optimization/81603] Various compiler UB on very large constant offsets
- Auto-submitted: auto-generated
- References: <bug-81603-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81603
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 31 08:22:14 2017
New Revision: 250727
URL: https://gcc.gnu.org/viewcvs?rev=250727&root=gcc&view=rev
Log:
PR tree-optimization/81603
* ipa-polymorphic-call.c
(ipa_polymorphic_call_context::ipa_polymorphic_call_context): Perform
offset arithmetic in offset_int, bail out if the resulting bit offset
doesn't fit into shwi.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-polymorphic-call.c