------- Comment #18 from jason at gcc dot gnu dot org 2007-11-19 21:35 ------- Subject: Bug 29436
Author: jason Date: Mon Nov 19 21:35:13 2007 New Revision: 130297 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130297 Log: PR debug/29436, c/32326 * tree.c (build_type_attribute_qual_variant): Refuse to make a distinct copy of a struct/enum type. Use build_distinct_type_copy. * doc/extend.texi (Type Attributes): Don't encourage people to add attributes to struct/enum types in a typedef. Fix transparent_union example. * tree-inline.c (remap_type_1): Remove code that's redundant with remap_type. (build_duplicate_type): Set id.copy_decl. * c-common.c (handle_transparent_union_attribute): Simplify logic. Modified: trunk/gcc/ChangeLog trunk/gcc/c-common.c trunk/gcc/doc/extend.texi trunk/gcc/testsuite/gcc.c-torture/execute/mayalias-2.c trunk/gcc/testsuite/gcc.c-torture/execute/mayalias-3.c trunk/gcc/tree-inline.c trunk/gcc/tree.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29436