diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-11-18 20:18:39 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-11-18 20:18:39 +0100 |
commit | 33727b5ecb2653eaa3688a4e9102cb454c1ff6a2 (patch) | |
tree | 783387161f29ac9c3beb6ce47f7af8e82a3bca64 /gcc/fortran/iresolve.c | |
parent | 3c279553647c683018e777eaf6e95f5140bc3425 (diff) | |
download | gcc-33727b5ecb2653eaa3688a4e9102cb454c1ff6a2.zip gcc-33727b5ecb2653eaa3688a4e9102cb454c1ff6a2.tar.gz gcc-33727b5ecb2653eaa3688a4e9102cb454c1ff6a2.tar.bz2 |
re PR middle-end/33335 (FAIL: 26_numerics/complex/inserters_extractors/wchar_t/1.cc)
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.
From-SVN: r130274
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions