X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fc-pretty-print.c;h=5fdaf2f5e12fbd30d9e25fb6771263a2dd0c7240;hb=79112414239490d11c9bf27ff3af14a4fd75169a;hp=a5dd82fb0b5bfedd5d3e23b3cb757be9908dd6ab;hpb=227d73b492c7629695c3669029bb788f9679149f;p=pf3gnuchains%2Fgcc-fork.git 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;