gencodes.c (gencodes): Print the comma for the preceding enum value rather than the...
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 21 Aug 2015 17:23:10 +0000 (17:23 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 21 Aug 2015 17:23:10 +0000 (17:23 +0000)
commit523ba7389abc5dd3f73cb10557edba876b3e1d1f
tree48205e4dfefd1ab26f456d3fbd7f172bbab3cf5b
parentf5dffc0ba1786e6af96fd31e9c04599b818aeedb
gencodes.c (gencodes): Print the comma for the preceding enum value rather than the current one.

gcc/
* gencodes.c (gencodes): Print the comma for the preceding
enum value rather than the current one.  Use aliased enum values
rather than #defines for compiled-out patterns.
(main): Update accordingly.  Replace LAST_INSN_CODE with
NUM_INSN_CODES.
* lra.c (insn_code_data): Update accordingly.
(finish_insn_code_data_once, get_static_insn_data): Likewise.
* recog.h (target_recog): Likewise.
(preprocess_insn_constraints): Change parameter to unsigned int.
* recog.c (preprocess_insn_constraints): Likewise.
(recog_init): Replace LAST_INSN_CODE with NUM_INSN_CODES.
* tree-vect-stmts.c (vectorizable_operation): Simplify.

From-SVN: r227076
gcc/ChangeLog
gcc/gencodes.c
gcc/lra.c
gcc/recog.c
gcc/recog.h
gcc/tree-vect-stmts.c