amdgcn: silence warning

gcc/ChangeLog:

	* config/gcn/gcn.cc (print_operand): Adjust xcode type to fix warning.
This commit is contained in:
Andrew Stubbs 2023-09-29 15:45:30 +01:00
parent e0786ba689
commit eb239c7f22

View file

@ -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)
{