diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-17 20:05:22 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-18 20:42:35 +0000 |
commit | 08028093211c1b57f33e5669f816157934ab23dd (patch) | |
tree | 3c640e6d313469f9d95d0a8d845fa5cd328d935f /gcc/ada/gcc-interface/misc.c | |
parent | f44e6091627372bd8fc4e72874a003643b021dca (diff) | |
download | gcc-08028093211c1b57f33e5669f816157934ab23dd.zip gcc-08028093211c1b57f33e5669f816157934ab23dd.tar.gz gcc-08028093211c1b57f33e5669f816157934ab23dd.tar.bz2 |
Objective-C++ : Avoid ICE on invalid with empty attributes.
Empty prefix attributes like:
__attribute__ (())
@interface MyClass
@end
cause an ICE at present, check for that case and skip them.
gcc/cp/ChangeLog:
* parser.c (cp_parser_objc_valid_prefix_attributes): Check
for empty attributes.
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
0 files changed, 0 insertions, 0 deletions