[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Tue Jul 24 06:50:00 GMT 2012


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

--- Comment #7 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-07-24 06:49:57 UTC ---
(In reply to comment #5)
> What are the callers of gt_pch_p_9line_maps?

It is only called from gt_pch_nx_line_maps of ./gcc/gtype-desc.c (generated):

gt_pch_nx_line_maps (void *x_p)
{
  struct line_maps * const x = (struct line_maps *)x_p;
  if (gt_pch_note_object (x, x, gt_pch_p_9line_maps, gt_ggc_e_9line_maps))
    {
      {
        size_t l0 = (size_t)(((*x).info_ordinary).used);
        if ((*x).info_ordinary.maps != NULL) {
          size_t i0;
          for (i0 = 0; i0 != (size_t)(l0); i0++) {
            switch (((*x).info_ordinary.maps[i0]).reason == LC_ENTER_MACRO)
              {
              case 0:
                gt_pch_n_S ((*x).info_ordinary.maps[i0].d.ordinary.to_file);
                break;
              case 1:
                {
                  size_t l1 = (size_t)(2 *
((*x).info_ordinary.maps[i0].d.macro).n_tokens);
                  {
                    union tree_node * const x2 =
                      ((*x).info_ordinary.maps[i0].d.macro.macro) ?
HT_IDENT_TO_GCC_IDENT (HT_NODE (((*x).info_ordinary.maps[i0].d.macro.macro))) :
NULL;
                    gt_pch_n_9tree_node (x2);
                  }
                  if ((*x).info_ordinary.maps[i0].d.macro.macro_locations !=
NULL) {
                    size_t i1;
                    for (i1 = 0; i1 != (size_t)(l1); i1++) {
                    }
                    gt_pch_note_object
((*x).info_ordinary.maps[i0].d.macro.macro_locations, x, gt_pch_p_9line_maps,
gt_types_enum_last);
                  }
                }
                break;
              default:
                break;
              }
          }
          gt_pch_note_object ((*x).info_ordinary.maps, x, gt_pch_p_9line_maps,
gt_types_enum_last);
        }
      }
      {
        size_t l3 = (size_t)(((*x).info_macro).used);
        if ((*x).info_macro.maps != NULL) {
          size_t i3;
          for (i3 = 0; i3 != (size_t)(l3); i3++) {
            switch (((*x).info_macro.maps[i3]).reason == LC_ENTER_MACRO)
              {
              case 0:
                gt_pch_n_S ((*x).info_macro.maps[i3].d.ordinary.to_file);
                break;
              case 1:
                {
                  size_t l4 = (size_t)(2 *
((*x).info_macro.maps[i3].d.macro).n_tokens);
                  {
                    union tree_node * const x5 =
                      ((*x).info_macro.maps[i3].d.macro.macro) ?
HT_IDENT_TO_GCC_IDENT (HT_NODE (((*x).info_macro.maps[i3].d.macro.macro))) :
NULL;
                    gt_pch_n_9tree_node (x5);
                  }
                  if ((*x).info_macro.maps[i3].d.macro.macro_locations != NULL)
{
                    size_t i4;
                    for (i4 = 0; i4 != (size_t)(l4); i4++) {
                    }
                    gt_pch_note_object
((*x).info_macro.maps[i3].d.macro.macro_locations, x, gt_pch_p_9line_maps,
gt_types_enum_last);
                  }
                }
                break;
              default:
                break;
              }
          }
          gt_pch_note_object ((*x).info_macro.maps, x, gt_pch_p_9line_maps,
gt_types_enum_last);
        }
      }
    }
}



More information about the Gcc-bugs mailing list