FreeBSD/contrib/gcc/c-common.c
/* Print a warning if a constant expression had overflow in folding.
   Invoke this function on every expression that the language
   requires to be a constant expression.
   Note the ANSI C standard says it is erroneous for a
   constant expression to overflow.  */
Print a warning if a constant expression had overflow in folding.
Invoke this function on every expression that the language
requires to be a constant expression.
Note the ANSI C standard says it is erroneous for a
constant expression to overflow.
Print a warning if a constant expression had overflow in folding . Invoke this function on every expression that the language requires to be a constant expression . Note the ANSI C standard says it is erroneous for a constant expression to overflow .
void
constant_expression_warning (tree value)
{
  if ((TREE_CODE (value) == INTEGER_CST || TREE_CODE (value) == REAL_CST
       || TREE_CODE (value) == VECTOR_CST
       || TREE_CODE (value) == COMPLEX_CST)
      && TREE_CONSTANT_OVERFLOW (value)
      && warn_overflow
      && pedantic)
    pedwarn ("overflow in constant expression");
}
void constant_expression_warning ( tree value ) { if ( ( TREE_CODE ( value ) == INTEGER_CST || TREE_CODE ( value ) == REAL_CST || TREE_CODE ( value ) == VECTOR_CST || TREE_CODE ( value ) == COMPLEX_CST ) && TREE_CONSTANT_OVERFLOW ( value ) && warn_overflow && pedantic ) pedwarn ( " " ) ; }
Print a warning if a constant expression had overflow in folding.
Print a warning if a constant expression had overflow in folding .