I've just committed this simple patch to silence an enum warning.
Andrew
amdgcn: silence warning
gcc/ChangeLog:
* config/gcn/gcn.cc (print_operand): Adjust xcode type to fix warning.
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)
{