This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/29436] [4.0/4.1/4.2/4.3 Regression] ICE in modified_type_die
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2007 21:35:27 -0000
- Subject: [Bug debug/29436] [4.0/4.1/4.2/4.3 Regression] ICE in modified_type_die
- References: <bug-29436-12219@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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