re PR tree-optimization/81603 (Various compiler UB on very large constant offsets)
authorJakub Jelinek <jakub@redhat.com>
Mon, 31 Jul 2017 08:22:14 +0000 (10:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 31 Jul 2017 08:22:14 +0000 (10:22 +0200)
commit0d1e5925e46184273f930aa45f1ec4f87752998b
tree7be87901463f1ef62952085845540f55e078c437
parent3dd9302511e2f2d01a14d5d7faa682c10a5c4d5b
re PR tree-optimization/81603 (Various compiler UB on very large constant offsets)

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.

From-SVN: r250727
gcc/ChangeLog
gcc/ipa-polymorphic-call.c