optabs.h (optab_handlers): Change type of insn_code to int.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 4 Jul 2010 22:14:02 +0000 (22:14 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 4 Jul 2010 22:14:02 +0000 (22:14 +0000)
commit596455ce057d68deec9e7a3e308a10364c2d4498
tree485e2dfab01d9fdfedead6728bacde5e33853595
parent947131ba4e351e264f3aa3a7ccd6b0c82bcc7ebd
optabs.h (optab_handlers): Change type of insn_code to int.

gcc/
* optabs.h (optab_handlers): Change type of insn_code to int.
(optab_handler, set_optab_handler, convert_optab_handler)
(set_convert_optab_handler): Treat the insn_code field as "insn_code -
CODE_FOR_nothing".
* optabs.c (optab_table, convert_optab_table): Always zero-initialize.
(init_insn_codes): Zero both the above arrays.
(init_optabs): Never call init_insn_codes first time around.

From-SVN: r161809
gcc/ChangeLog
gcc/optabs.c
gcc/optabs.h