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 driver/81650] gcc -m32 mishandles -Walloc-size-larger-than=9223372036854775807


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81650

--- Comment #6 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:25:14 2017
New Revision: 252274

URL: https://gcc.gnu.org/viewcvs?rev=252274&root=gcc&view=rev
Log:
        PR driver/81650
        * calls.c (alloc_max_size): Use HOST_WIDE_INT_UC (10??)
        instead of 10??LU, perform unit multiplication in wide_int,
        don't change alloc_object_size_limit if the limit is larger
        than SSIZE_MAX.

        * gcc.dg/pr81650.c: New test.

Added:
    branches/range-gen2/gcc/testsuite/gcc.dg/pr81650.c
Modified:
    branches/range-gen2/gcc/ChangeLog
    branches/range-gen2/gcc/calls.c
    branches/range-gen2/gcc/testsuite/ChangeLog

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