[Bug c/56980] C pretty-printer does not handle well pointer to typedef of struct
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 24 16:31:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56980
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Oct 24 16:29:56 2014
New Revision: 216674
URL: https://gcc.gnu.org/viewcvs?rev=216674&root=gcc&view=rev
Log:
PR c/56980
* c-pretty-print.c (c_pretty_printer::simple_type_specifier): Don't
print "struct"/"union"/"enum" for typedefed names.
* gcc.dg/pr56980.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr56980.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-pretty-print.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list