[Bug tree-optimization/81603] Various compiler UB on very large constant offsets
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 16:06:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81603
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:05:54 2017
New Revision: 252184
URL: https://gcc.gnu.org/viewcvs?rev=252184&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:
branches/range-gen2/gcc/ChangeLog
branches/range-gen2/gcc/ipa-polymorphic-call.c
More information about the Gcc-bugs
mailing list