VOIDmode CONST_INTs cause abort()

C Wilkie cawilkie@yahoo.com
Fri Jun 27 19:45:00 GMT 2003


Hi,

  My understanding is that all CONST_INTs have
VOIDmode
mode.  What has to happen to them to avoid the
explicit
abort() calls that appear in various places: eg,
symplify_rtx.c: 505

        case ZERO_EXTEND:
          /* When zero-extending a CONST_INT, we need
to know its
             original mode.  */
          if (op_mode == VOIDmode)
            abort ();

  This is causing muldi3.c to fail on a 16 bit 
architecture.  I have seen it on both the 3.1 and 3.3
branches.

Regards,
Calum

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the Gcc mailing list