[Bug rtl-optimization/49235] [4.7 Regression] ICE: in int_mode_for_mode, at stor-layout.c:424 with -O -fno-delete-null-pointer-checks -fno-tree-scev-cprop -ftree-vectorize -fno-vect-cost-model

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 31 09:45:00 GMT 2011


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-31 09:34:04 UTC ---
get_address_description only does that if TMR_INDEX2 is present:
      addr->symbol = NULL_TREE;
      if (TMR_INDEX2 (op))
        {
          gcc_assert (integer_zerop (TMR_BASE (op)));
          addr->base = TMR_INDEX2 (op);
        }
      else
        addr->base = TMR_BASE (op);

In this case TMR_BASE (op) is (void *) 0 and TMR_OFFSET is INTEGER_CST, the
rest is all NULL.



More information about the Gcc-bugs mailing list