OSDN Git Service

* except.c (expand_start_all_catch): If the machine needs to
[pf3gnuchains/gcc-fork.git] / gcc / bc-typecd.h
index 243cd3d..2dcea0e 100644 (file)
@@ -15,7 +15,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 #ifndef TYPECODE_H
 #define TYPECODE_H
@@ -30,19 +31,19 @@ enum typecode
 };
 
 /* Determine if a given type is integer.  */
-#define TYPECODE_INTEGER_P(TYPECODE) ((TYPECODE) < SFcode)
+#define TYPECODE_INTEGER_P(TYPECODE) ((int) (TYPECODE) < (int) SFcode)
 
 /* Determine if a given type is unsigned.  */
 #define TYPECODE_UNSIGNED_P(TYPECODE) \
-  (TYPECODE_INTEGER_P(TYPECODE) && (TYPECODE) & 1)
+  (TYPECODE_INTEGER_P(TYPECODE) && (int) (TYPECODE) & 1)
 
 /* Determine if a given type is signed.  */
 #define TYPECODE_SIGNED_P(TYPECODE) \
-  (TYPECODE_INTEGER_P(TYPECODE) && !((TYPECODE) & 1))
+  (TYPECODE_INTEGER_P(TYPECODE) && !((int) (TYPECODE) & 1))
 
 /* Determine if a given type is floating.  */
 #define TYPECODE_FLOAT_P(TYPECODE) \
-  ((TYPECODE) < Pcode && !TYPECODE_INTEGER_P(TYPECODE))
+  ((int) (TYPECODE) < (int) Pcode && !TYPECODE_INTEGER_P(TYPECODE))
 
 /* Determine if the given type is arithmetic. */
 #define TYPECODE_ARITH_P(TYPECODE) \