diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index f04cf30b2e5..988e893e4a0 100644 --- a/gcc/config/a29k/a29k.h +++ b/gcc/config/a29k/a29k.h @@ -133,7 +133,7 @@ extern int target_flags; #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \ if (GET_MODE_CLASS (MODE) == MODE_INT \ && GET_MODE_SIZE (MODE) < 4) \ - (MODE) == SImode; + (MODE) = SImode; /* Define this if most significant bit is lowest numbered in instructions that operate on numbered bit-fields. diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index b5cc26a2f50..7e8e0cd6ab3 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -114,7 +114,7 @@ extern int target_flags; #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \ if (GET_MODE_CLASS (MODE) == MODE_INT \ && GET_MODE_SIZE (MODE) < 4) \ - (MODE) == SImode; + (MODE) = SImode; /* Define this if most significant bit is lowest numbered in instructions that operate on numbered bit-fields. */