https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61838

Harald van Dijk <harald at gigawatt dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harald at gigawatt dot nl

--- Comment #1 from Harald van Dijk <harald at gigawatt dot nl> ---
Not specific to Windows. On x86_64-pc-linux-gnu, both 4.9.1 and master as of
today ICE. It works from 4.4 to 4.8.

cc1plus: internal compiler error: Segmentation fault
0xbbc02f crash_signal
    ../../gcc/gcc/toplev.c:337
0x880df5 analyze_functions
    ../../gcc/gcc/cgraphunit.c:1054
0x88273f finalize_compilation_unit()
    ../../gcc/gcc/cgraphunit.c:2338
0x671c70 cp_write_global_declarations()
    ../../gcc/gcc/cp/decl2.c:4684

      /* If decl is a clone of an abstract function,
      mark that abstract function so that we don't release its body.
      The DECL_INITIAL() of that abstract function declaration
      will be later needed to output debug info.  */
      if (DECL_ABSTRACT_ORIGIN (decl))
        {
          struct cgraph_node *origin_node
          = cgraph_get_node (DECL_ABSTRACT_ORIGIN (decl));
1054      origin_node->used_as_abstract_origin = true;
        }

Reply via email to