Fix ARM bootstrap failure due to an odd warning:
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 30 May 2017 14:29:55 +0000 (14:29 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Tue, 30 May 2017 14:29:55 +0000 (14:29 +0000)
commit064263c11dcac67efa859c8b1896f0a18f5c38dc
tree94c4b145feeacbc06bf57da2b05b7e189a1006ba
parent1a58f770e487e94227fc75a42eee385d86b7bee9
Fix ARM bootstrap failure due to an odd warning:

/src/gcc/gcc/config/arm/arm-builtins.c: In function 'rtx_def* arm_expand_builtin(tree, rtx, rtx, machine_mode, int)':
/src/gcc/gcc/config/arm/arm-builtins.c:3056:46: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
     if (d->code == (const enum arm_builtins) fcode)
                                              ^~~~~

Avoid the warning by removing const, and bootstrap is OK again.

Committed as trivial patch.

    gcc/
* config/arm/arm-builtins.c (arm_expand_builtin): Remove const.

From-SVN: r248686
gcc/ChangeLog
gcc/config/arm/arm-builtins.c