This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C] Avoid aka types that just add tags


On Mon, 30 Sep 2019, Richard Sandiford wrote:

> 2019-09-30  Richard Sandiford  <richard.sandiford@arm.com>
> 
> gcc/c/
> 	* c-objc-common.c (useful_aka_type_p): New function.
> 	(print_type): Use it to decide whether an aka type is worth printing.
> 
> gcc/testsuite/
> 	* gcc.dg/diag-aka-1.c (T): Turn into a pointer typedef.
> 	(foo): Update accordingly.
> 	* gcc.dg/diag-aka-4.c: New test.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]