diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2023-09-29 15:45:30 +0100 |
---|---|---|
committer | Andrew Stubbs <ams@codesourcery.com> | 2023-10-06 14:16:32 +0100 |
commit | eb239c7f22b646873e93f8115ee992c4fb4d878a (patch) | |
tree | a686543618d0a9569ce3c7931e8072017608a3bc /gcc | |
parent | e0786ba68946dd21e875d11ceeef9024a311286a (diff) | |
download | gcc-eb239c7f22b646873e93f8115ee992c4fb4d878a.zip gcc-eb239c7f22b646873e93f8115ee992c4fb4d878a.tar.gz gcc-eb239c7f22b646873e93f8115ee992c4fb4d878a.tar.bz2 |
amdgcn: silence warning
gcc/ChangeLog:
* config/gcn/gcn.cc (print_operand): Adjust xcode type to fix warning.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/gcn/gcn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index f6cff65..ef3b647 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) { |