This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17347] C++ FE produces invalid CONSTRUCTOR trees for vtables
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2004 21:27:31 -0000
- Subject: [Bug c++/17347] C++ FE produces invalid CONSTRUCTOR trees for vtables
- References: <20040907141420.17347.dberlin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2004-09-24 21:27 -------
I suppose you *could* re-allow NULL TREE_PURPOSE for arrays. I'd be hesitant
to do this for structures, but there we don't have a problem of allocating
extra memory.
You'd just need a little bit of code in gimplify.c, and perhaps in tree-sra.c,
to make this work. Feel free to persue it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17347