--- gcc-3.4.0/gcc/c-typeck.c-backup 2004-06-23 10:31:45.000000000 -0600 +++ gcc-3.4.0/gcc/c-typeck.c 2004-06-23 12:44:05.000000000 -0600 @@ -3455,9 +3455,12 @@ || codel == BOOLEAN_TYPE) && (coder == INTEGER_TYPE || coder == REAL_TYPE || coder == ENUMERAL_TYPE || coder == COMPLEX_TYPE - || coder == BOOLEAN_TYPE)) + || coder == BOOLEAN_TYPE)) { + if (codel == INTEGER_TYPE && coder == REAL_TYPE) + if (warn_conversion) + warning ("real type implicitly converted to integer type"); return convert_and_check (type, rhs); - + } /* Conversion to a transparent union from its member types. This applies only to function arguments. */ else if (codel == UNION_TYPE && TYPE_TRANSPARENT_UNION (type) && ! errtype)