This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/81603] Various compiler UB on very large constant offsets


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]