------- Comment #3 from kkojima at gcc dot gnu dot org  2006-11-30 00:26 -------
Thanks for the confirmation.  I've found that

#define CONST0_RTX(MODE) (const_tiny_rtx[0][(int) (MODE)])

and const_tiny_rtx[0][(int) CDImode] isn't initialized in
init_emit_once.  With adding

  for (mode = GET_CLASS_NARROWEST_MODE (MODE_COMPLEX_INT);
       mode != VOIDmode;
       mode = GET_MODE_WIDER_MODE (mode))
    const_tiny_rtx[0][(int) mode] = gen_rtx_raw_CONST_INT (mode, 0);

to init_emit_once, the segfault went away, though I'm not sure
whether it makes sense or not.


-- 


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

Reply via email to