Fix -Wenum-compare-switch warning in i386.c.
authorMartin Liska <mliska@suse.cz>
Tue, 30 Apr 2019 09:16:36 +0000 (11:16 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 30 Apr 2019 09:16:36 +0000 (09:16 +0000)
commit791536baadc9f469ec8eef2d7213c6f6091c5fa9
tree162745673eda57f83b55a362c54d0f3240a0790b
parentae8f39886b954f37941a72c8e020604f27fff14f
Fix -Wenum-compare-switch warning in i386.c.

2019-04-30  Martin Liska  <mliska@suse.cz>

* config/i386/i386.c (ix86_builtin_reciprocal): Cast
DECL_FUNCTION_CODE into ix86_builtins enum before
the switch statement.

From-SVN: r270681
gcc/ChangeLog
gcc/config/i386/i386.c