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 <ja...@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