This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
unreviewed patch: performing decl operation on type
- From: Robert Bowdidge <bowdidge at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Robert Bowdidge <bowdidge at apple dot com>
- Date: Tue, 21 Oct 2003 15:01:33 -0700
- Subject: unreviewed patch: performing decl operation on type
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg01248.html
Dead code in cp_finish_decl() tries to manipulate a type as if it were
a decl. I'm removing the related code because it must never be called
(or the compiler would have raised an assertion failure because of the
node type mismatch). The patch also includes test cases for the
related code (asm directives on fields of a class).
Ok to commit?
Thanks,
Robert