[Bug driver/81650] gcc -m32 mishandles -Walloc-size-larger-than=9223372036854775807
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 7 20:21:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81650
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 7 20:20:43 2017
New Revision: 251850
URL: https://gcc.gnu.org/viewcvs?rev=251850&root=gcc&view=rev
Log:
Backported from mainline
2017-08-03 Jakub Jelinek <jakub@redhat.com>
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/gcc-7-branch/gcc/testsuite/gcc.dg/pr81650.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/calls.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list