http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59252

--- Comment #3 from janus at gcc dot gnu.org ---
-fdump-tree-orginial shows that some code for the initialization of the
component 'label' is inserted:

      {
        struct branch_plot_results_ppv_type branch_plot_results_ppv_type.0;

        if (appv != 0B) goto L.1;
        appv = (struct branch_plot_results_ppv_type *) __builtin_calloc (1, 8);
        L.1:;
        __builtin_memcpy ((void *) branch_plot_results_ppv_type.0.label, (void
*) &0B, 1);
        *appv = branch_plot_results_ppv_type.0;
      }


This is clearly wrong and apparently causes the segfault.

Reply via email to