diff options
author | Nathaniel Shead <nathanieloshead@gmail.com> | 2024-04-20 14:44:11 +1000 |
---|---|---|
committer | Nathaniel Shead <nathanieloshead@gmail.com> | 2024-04-24 09:24:17 +1000 |
commit | 7318f1a389769ab540f414fcba743e90051d466b (patch) | |
tree | 8951496428cf42bcc5a29d85299e6b377444f865 /gcc/po/ChangeLog | |
parent | 628c2221d38715a64f828e3635317293d150e001 (diff) | |
download | gcc-7318f1a389769ab540f414fcba743e90051d466b.zip gcc-7318f1a389769ab540f414fcba743e90051d466b.tar.gz gcc-7318f1a389769ab540f414fcba743e90051d466b.tar.bz2 |
c++: Fix ICE with xobj parms and maybe incomplete decl-specifiers
This fixes a null dereference issue when decl_specifiers.type is not yet
provided.
gcc/cp/ChangeLog:
* parser.cc (cp_parser_parameter_declaration): Check if
decl_specifiers.type is null.
gcc/testsuite/ChangeLog:
* g++.dg/cpp23/explicit-obj-basic7.C: New test.
Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'gcc/po/ChangeLog')
0 files changed, 0 insertions, 0 deletions