diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-21 10:59:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-21 11:35:39 +0930 |
commit | 40c9c8deb94be6576f5729172dce117cbe155856 (patch) | |
tree | 3e3a7ef3b12540e734d439b87ab45d07bb577620 /gas/config | |
parent | f9d949fb7b85323e3f307884a4a3cef6ba52607b (diff) | |
download | gdb-40c9c8deb94be6576f5729172dce117cbe155856.zip gdb-40c9c8deb94be6576f5729172dce117cbe155856.tar.gz gdb-40c9c8deb94be6576f5729172dce117cbe155856.tar.bz2 |
tc-i386.c gcc10 warning fix
.../gas/config/tc-i386.c: In function ‘md_parse_option’:
.../gas/config/tc-i386.c:11441:9: error: implicit conversion from ‘enum <anonymous>’ to ‘enum <anonymous>’ [-Werror=enum-conversion]
11441 | vexwig = evexw0;
| ^
.../gas/config/tc-i386.c:11443:9: error: implicit conversion from ‘enum <anonymous>’ to ‘enum <anonymous>’ [-Werror=enum-conversion]
11443 | vexwig = evexw1;
| ^
* config/tc-i386.c (md_parse_option): Fix warning on vexwig assignment.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 349b36d..5d783b4 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -11438,9 +11438,9 @@ md_parse_option (int c, const char *arg) case OPTION_MVEXWIG: if (strcmp (arg, "0") == 0) - vexwig = evexw0; + vexwig = vexw0; else if (strcmp (arg, "1") == 0) - vexwig = evexw1; + vexwig = vexw1; else as_fatal (_("invalid -mvexwig= option: `%s'"), arg); break; |