PR26044, Some targets can't be compiled with GCC 10 (tilepro)
authorAlan Modra <amodra@gmail.com>
Thu, 28 May 2020 09:16:17 +0000 (18:46 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 28 May 2020 11:41:51 +0000 (21:11 +0930)
commit8eff95bcb6a778c35b91e61ccc066db335d7f06b
tree0f4d5f8651984ab391ab6ed3b6b9229558416c2c
parentab382d64260d6549f57201b80d34035726117e3f
PR26044, Some targets can't be compiled with GCC 10 (tilepro)

Since this value is used in fields of type tilepro_pipeline (as
NO_PIPELINE, see tc-tilepro.c) it is appropriate to put it in
the tilepro_pipelen enum.  This avoids a warning about converting from
one enum type to another.

PR 26044
* opcode/tilepro.h (TILEPRO_NUM_PIPELINE_ENCODINGS): Move to
tilepro_pipeline enum.
include/ChangeLog
include/opcode/tilepro.h