This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/18191] [4.0 Regression] Struct member is not getting default-initialized


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]