diff options
| author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-18 19:18:39 +0000 |
|---|---|---|
| committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-18 19:18:39 +0000 |
| commit | be5cecfdc1ad76fa8b4ef703bcdc5dc5499e2934 (patch) | |
| tree | 783387161f29ac9c3beb6ce47f7af8e82a3bca64 /libjava/classpath/gnu/java/math | |
| parent | d271f84a27f62bae843ef0be751096f274a2a6ab (diff) | |
| download | ppe42-gcc-be5cecfdc1ad76fa8b4ef703bcdc5dc5499e2934.tar.gz ppe42-gcc-be5cecfdc1ad76fa8b4ef703bcdc5dc5499e2934.zip | |
PR middle-end/33335
* optabs.h (optab_table): Change type to struct optab from optab.
(convert_optab_table): Similarly.
Adjust all _optab macros to expand to addresses of optab_table
resp. convert_optab_table elements rather than the values of the
elements.
* optabs.c (optab_table): Change typype to struct optab from optab.
If compiled by recent GCC, initialize all the insn_code fields in
the array using designated range initializers.
(convert_optab_table): Similarly.
(convert_optab_libfunc, optab_libfunc, set_optab_libfunc,
set_conv_libfunc): Into libfunc_entry's optab field store index within
optab_table resp. convert_optab_table array instead of difference
between two separately malloced addresses.
(new_optab): Add op argument, don't return anything. Initialize
just the insn_code field in handlers array and only when needed.
(init_optab, init_optabv): Add op argument, don't return anything.
Adjust new_optab caller.
(new_convert_optab): Removed.
(init_convert_optab): Add op argument, don't return anything, don't
call new_convert_optab. If needed, initialize insn_code field in
handlers array.
(init_optabs): Adjust init_optab, init_optabv and init_convert_optab
callers.
(debug_optab_libfuncs): Adjust uses of optab_table and
convert_optab_table arrays.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/math')
0 files changed, 0 insertions, 0 deletions

