OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [cp/] [init.c] - Diff between revs 283 and 378

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 283 Rev 378
Line 2156... Line 2156...
        }
        }
      else
      else
        {
        {
          init_expr = cp_build_indirect_ref (data_addr, RO_NULL, complain);
          init_expr = cp_build_indirect_ref (data_addr, RO_NULL, complain);
 
 
          if (TYPE_NEEDS_CONSTRUCTING (type) && !explicit_value_init_p)
          if (TYPE_NEEDS_CONSTRUCTING (type)
 
              && (!explicit_value_init_p || processing_template_decl))
            {
            {
              init_expr = build_special_member_call (init_expr,
              init_expr = build_special_member_call (init_expr,
                                                     complete_ctor_identifier,
                                                     complete_ctor_identifier,
                                                     init, elt_type,
                                                     init, elt_type,
                                                     LOOKUP_NORMAL,
                                                     LOOKUP_NORMAL,
                                                     complain);
                                                     complain);
            }
            }
          else if (explicit_value_init_p)
          else if (explicit_value_init_p)
            {
            {
 
              if (processing_template_decl)
 
                /* Don't worry about it, we'll handle this properly at
 
                   instantiation time.  */;
 
              else
              /* Something like `new int()'.  */
              /* Something like `new int()'.  */
              init_expr = build2 (INIT_EXPR, type,
              init_expr = build2 (INIT_EXPR, type,
                                  init_expr, build_value_init (type));
                                  init_expr, build_value_init (type));
            }
            }
          else
          else

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.