This is the mail archive of the gcc-patches@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]

Re: [PATH] PR C++/12047


On Sun, Sep 28, 2003 at 01:24:01PM +0200, Jan Hubicka wrote:
> There is another call in build_throw in gcc/cp/except.c

No!  The top-level except.c:

          struct cgraph_varpool_node *node;

          type = lookup_type_for_runtime (type);
          value = expand_expr (type, NULL_RTX, VOIDmode, EXPAND_INITIALIZER);

          /* Let cgraph know that the rtti decl is used.  Not all of the
             paths below go through assemble_integer, which would take
             care of this for us.  */
          if (TREE_CODE (type) == ADDR_EXPR)
            {
              type = TREE_OPERAND (type, 0);
              node = cgraph_varpool_node (type);
              if (node)
                cgraph_varpool_mark_needed_node (node);
            }



r~


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