diff options
Diffstat (limited to 'gcc/c-pretty-print.c')
-rw-r--r-- | gcc/c-pretty-print.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-pretty-print.c b/gcc/c-pretty-print.c index a5dd82fb0b5..5fdaf2f5e12 100644 --- a/gcc/c-pretty-print.c +++ b/gcc/c-pretty-print.c @@ -1012,6 +1012,13 @@ pp_c_constant (c_pretty_printer *pp, tree e) pp_c_string_literal (pp, e); break; + case COMPLEX_CST: + /* Sometimes, we are confused and we think a complex literal + is a constant. Such thing is a compound literal which + grammatically belongs to postifx-expr production. */ + pp_c_compound_literal (pp, e); + break; + default: pp_unsupported_tree (pp, e); break; |