]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/7741 (ICE on conflicting types (make_decl_rtl at varasm.c:834))
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 10 Feb 2003 13:01:50 +0000 (14:01 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 10 Feb 2003 13:01:50 +0000 (13:01 +0000)
commit68060abb2c38caa677007b7aaba287c058c73c76
tree2e23fa472f01a02d348113e13507151dc8118a5f
parent3bcb4bfafb93f8b7d47ea3581e761ff32b1c0bb2
re PR c/7741 (ICE on conflicting types (make_decl_rtl at varasm.c:834))

PR c/7741
* c-decl.c (duplicate_decls): Discard the initializer of the
new decl when the types are conflicting.

Co-Authored-By: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
From-SVN: r62636
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog