re PR bootstrap/89560 (ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)')
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Mar 2019 09:03:50 +0000 (10:03 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Mar 2019 09:03:50 +0000 (10:03 +0100)
commit386a83c170348577379c4def0bc41090be230333
treef68b8460b2a769abc7e8b4a679c5b72697838172
parentea5212b741b5cc751d0d8271a9666c4ad0b4e799
re PR bootstrap/89560 (ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)')

PR bootstrap/89560
* fold-const.c (fold_checksum_tree): Don't use fixed size buffer,
instead alloca it only when needed with the needed size.

* g++.dg/other/pr89560.C: New test.

From-SVN: r269386
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr89560.C [new file with mode: 0644]