re PR driver/81650 (gcc -m32 mishandles -Walloc-size-larger-than=9223372036854775807)
authorJakub Jelinek <jakub@redhat.com>
Thu, 3 Aug 2017 09:43:11 +0000 (11:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Aug 2017 09:43:11 +0000 (11:43 +0200)
commit2392baa59e266a320c55d9a2245d70fd97a43075
treeb9652eab2486664cf91b4dbd56d4379a20ea49d7
parent1f9be5050fa8869c7a07bd1b0953ce3754917b5d
re PR driver/81650 (gcc -m32 mishandles -Walloc-size-larger-than=9223372036854775807)

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.

From-SVN: r250850
gcc/ChangeLog
gcc/calls.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr81650.c [new file with mode: 0644]