Commit 40c9c8de authored by Alan Modra's avatar Alan Modra
Browse files

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.
parent f9d949fb
2019-09-21 Alan Modra <amodra@gmail.com>
* config/tc-i386.c (md_parse_option): Fix warning on vexwig assignment.
2019-09-20 Alan Modra <amodra@gmail.com>
* config/tc-tic6x.c (tc_gen_reloc): Correct common symbol check.
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment