PR debug/29436, c/32326
commit881eb642198552d78d7ddd19ec18dc100f968605
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 21:35:13 +0000 (19 21:35 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 21:35:13 +0000 (19 21:35 +0000)
tree1d16dbdc75464cebb92ce8862847635b43953c3f
parente9ec2ec317aabaa5c66d67a70dc4f716125f84f9
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130297 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/doc/extend.texi
gcc/testsuite/gcc.c-torture/execute/mayalias-2.c
gcc/testsuite/gcc.c-torture/execute/mayalias-3.c
gcc/tree-inline.c
gcc/tree.c