diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index f6cff659703..ef3b6472a52 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -6991,7 +6991,7 @@ print_operand_address (FILE *file, rtx mem) void print_operand (FILE *file, rtx x, int code) { - int xcode = x ? GET_CODE (x) : 0; + rtx_code xcode = x ? GET_CODE (x) : UNKNOWN; bool invert = false; switch (code) {