This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18191] [4.0 Regression] Struct member is not getting default-initialized
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 14:56:34 -0000
- Subject: [Bug middle-end/18191] [4.0 Regression] Struct member is not getting default-initialized
- References: <20041028081035.18191.grigory.zagorodnev@intel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-12-15 14:56 -------
>From gimplify.c:
/* A subroutine of gimplify_modify_expr. Break out elements of a
CONSTRUCTOR used as an initializer into separate MODIFY_EXPRs.
Note that we still need to clear any elements that don't have explicit
initializers, so if not all elements are initialized we keep the
original MODIFY_EXPR, we just remove all of the constructor elements. */
static enum gimplify_status
gimplify_init_constructor (tree *expr_p, tree *pre_p,
tree *post_p, bool want_value)
So apparently we fail here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18191