re PR target/77759 (ICE in function_arg_record_value on nested empty class)
authorJames Clarke <jrtc27@jrtc27.com>
Thu, 6 Oct 2016 10:28:23 +0000 (10:28 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 6 Oct 2016 10:28:23 +0000 (10:28 +0000)
commit139dc3c65114ff2497a0391ca7698992eb57f6cd
treea74084b26c37d69e5ce67c00721195990ec7db5b
parent37f6a157f592dcd13f61f693b40257621ac83226
re PR target/77759 (ICE in function_arg_record_value on nested empty class)

PR target/77759
* config/sparc/sparc.c (classify_data_t): Remove int_regs field.
(classify_registers): Don't set it
(function_arg_slotno): Don't initialize and test it.  Tidy up.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r240830
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr77759.C [new file with mode: 0644]