pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:730: Inside #if SIZEOF_INT_TYPE > 4
  {   #if SIZEOF_INT_TYPE > 4   /* a bit kludgy: should maybe really allow 64 bit INT_TYPE */   /* see also extract_type_int */    if (min<MIN_INT32) min=MIN_INT32;    else if (min>MAX_INT32) min=MAX_INT32;    if (max<MIN_INT32) max=MIN_INT32;    else if (max>MAX_INT32) max=MAX_INT32;   #endif    - #ifdef PIKE_DEBUG -  if (min > max) + #ifdef PIKE_DEBUG /* FIXME: Kludge to support 2^32-1 */ +  if ((min>0 && max>0 || min<0 && max<0) && min > max)    Pike_fatal("push_int_type(): Bad integer range:"    " min:%"PRINTPIKEINT"d, max:%"PRINTPIKEINT"d.\n",    min, max);   #endif /* PIKE_DEBUG */       if (!min && !max) {    /* Special case... */    push_type(T_ZERO);    } else {    *(++Pike_compiler->type_stackp) = mk_type(T_INT,