aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.cc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2022-09-20 14:54:57 -0400
committerMarek Polacek <polacek@redhat.com>2022-09-22 20:23:59 -0400
commit8b449dcd84334068c769a2f427812dadb95e61de (patch)
tree1723d7be6875f40e003a4b40d609d0b73d46cd42 /gcc/value-range.cc
parent279c671509d6b2fbaa8dff360c4f8d85f84a20c6 (diff)
downloadgcc-8b449dcd84334068c769a2f427812dadb95e61de.zip
gcc-8b449dcd84334068c769a2f427812dadb95e61de.tar.gz
gcc-8b449dcd84334068c769a2f427812dadb95e61de.tar.bz2
c++: ICE-on-invalid with designated initializer [PR106983]
We ICE in the code added in r12-7117: type_build_dtor_call gets the error_mark_node because the type of 'prev' wasn't declared. PR c++/106983 gcc/cp/ChangeLog: * typeck2.cc (split_nonconstant_init_1): Check TYPE_P. gcc/testsuite/ChangeLog: * g++.dg/other/error36.C: New test.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions