Jeffrey A Law
fc82f2f1dd
pa.c (store_reg): Do not call add_high_const generator directly.
...
* pa.c (store_reg): Do not call add_high_const generator directly.
(load_reg, set_reg_plus_d): Likewise.
* pa.md (add_high_const): No longer a named pattern.
From-SVN: r28327
1999-07-28 16:34:57 -06:00
Jeffrey A Law
2a0a6f69ea
pa.c (legitimize_address): Consistently use Pmode rather than SImode.
...
* pa.c (legitimize_address): Consistently use Pmode rather than
SImode. Do not call gen_pic2_highpart directly anymore.
* pa.md (pic2_highpart): No longer a named pattern.
(pic2_lo_sum): Similarly. Reformat to make more readable.
From-SVN: r28326
1999-07-28 15:46:39 -06:00
Jeff Law
b70a1fb1c2
fix typo.
...
From-SVN: r28324
1999-07-28 13:50:47 -06:00
Jeffrey A Law
3195128c18
* README: Update.
...
From-SVN: r28322
1999-07-28 13:50:11 -06:00
Jeffrey A Law
f8b20fd0c9
pa.md (call, call_value): Use "word_mode" instead of "SImode" as needed.
...
* pa.md (call, call_value): Use "word_mode" instead of "SImode" as
needed.
From-SVN: r28321
1999-07-28 13:38:02 -06:00
Jeffrey A Law
885ae155e9
pa.md (reload_indi, [...]): Scratch register should be a DImode register.
...
* pa.md (reload_indi, reload_outdi): Scratch register should
be a DImode register.
(call, call_value): Use "word_mode" instead of "SImode" as needed.
From-SVN: r28320
1999-07-28 13:21:34 -06:00
Franz Sirl
895f233648
* builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
...
From-SVN: r28319
1999-07-28 11:29:01 -07:00
Richard Henderson
00e6c09cc1
Wrong patch -- builtin_saveregs has already corrected for !stdarg_p.
...
From-SVN: r28318
1999-07-28 11:26:26 -07:00
Richard Henderson
ca5f4364b4
pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set and tag the spill mems.
...
* pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
and tag the spill mems.
(hppa_va_start): New.
(hppa_va_arg): New.
* pa.h (EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
From-SVN: r28317
1999-07-28 11:24:29 -07:00
Richard Henderson
fc2acc8727
mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set and tag the spill mems.
...
* mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
and tag the spill mems.
(mn10300_va_start): New.
(mn10300_va_arg): New.
* mn10300.h (EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
From-SVN: r28316
1999-07-28 11:23:04 -07:00
Richard Henderson
8bb793f37f
mn10200.c (mn10200_va_arg): New.
...
* mn10200.c (mn10200_va_arg): New.
* mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
From-SVN: r28315
1999-07-28 11:21:02 -07:00
Richard Henderson
d0be05dbc4
builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes rather than play with TREE_INT_CST_LOW.
...
* builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
rather than play with TREE_INT_CST_LOW.
From-SVN: r28314
1999-07-28 11:20:07 -07:00
Alexandre Oliva
1a618a5a8b
egcs_update (files_and_dependencies): Fixed typo in gcc/cstamp-h.in.
...
* egcs_update (files_and_dependencies): Fixed typo in
gcc/cstamp-h.in. Added gcc/config.in.
From-SVN: r28313
1999-07-28 17:52:02 +00:00
Philip Blundell
483f6332cd
Patch from Phillip Blundell <pb@nexus.co.uk> to add arm/thumb uclinux support.
...
From-SVN: r28312
1999-07-28 08:52:05 +00:00
Richard Henderson
b7df86dc88
Kill CYGNUS LOCAL tags.
...
From-SVN: r28311
1999-07-28 01:32:34 -07:00
Mark Mitchell
4f0aa41654
call.c (conditional_conversion): Don't build BASE_CONVs for conversions between things that have the same type.
...
* call.c (conditional_conversion): Don't build BASE_CONVs for
conversions between things that have the same type.
(build_conditional_expr): Tweak.
(convert_like): Some BASE_CONVs really do require the generation
of code.
* init.c (perform_member_init): Don't go through build_modify_expr
for simple initializations.
From-SVN: r28310
1999-07-28 08:20:09 +00:00
Jeff Law
f66bbb410c
Daily bump.
...
From-SVN: r28309
1999-07-28 01:47:15 -06:00
Jeffrey A Law
30d1e8483f
pa.md (post_store, pre_load): New expanders.
...
* pa.md (post_store, pre_load): New expanders.
(post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
(post_ldwm, pre_stwm): Make these unnamed patterns since we never
need to directly generate RTL for them.
* pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
changes.
From-SVN: r28307
1999-07-27 23:21:38 -06:00
Jason Merrill
adec3b83de
new
...
From-SVN: r28305
1999-07-27 20:45:57 -04:00
Jason Merrill
3927874dcd
cp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.
...
* cp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.
* typeck.c (expand_ptrmemfunc_cst): Calculate delta correctly for
virtual functions and MI. Simplify.
From-SVN: r28304
1999-07-27 20:45:12 -04:00
Jason Merrill
2401a452d8
tweak whitespace
...
From-SVN: r28303
1999-07-27 18:58:58 -04:00
Jason Merrill
9dfce8fded
method.c: Remove prototype for largest_union_member.
...
* method.c: Remove prototype for largest_union_member.
* pt.c (determine_specialization): Fix uninitialized warning.
* lex.c (real_yylex): Likewise.
From-SVN: r28302
1999-07-27 18:58:38 -04:00
Mark Mitchell
a36622c207
class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS here too.
...
* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
here too.
From-SVN: r28301
1999-07-27 20:17:13 +00:00
David Edelsohn
3cb999d87f
aix43.h (ASM_CPU_SPEC, [...]): Add rs64a and PPC630.
...
* aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
* rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
(rs6000_cpu): Choose between 32-bit and 64-bit default processors.
(secndary_reload_class): Make TARGET_ELF conditional compile.
(print_operand_address): Similar.
(output_toc): Print all values as hex.
(get_issue_rate): Rearrange and add RS64A and PPC630.
* rs6000.h (processor_type): Add RS64A and PPC630.
(PROCESSOR_POWERPC): Change to PROCESSOR_750.
(PROCESSOR_POWERPC64): New.
(PROMOTE_MODE): Use word_mode.
(RTX_COSTS): Add RS64A and PPC630.
* rs6000.md (scheduling information): Add lmul and ldiv
representing 64-bit integer multiply and divide. Add rs64a and
PPC630 information.
(ashldi3): Add support for "rldic" instruction.
* sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
From-SVN: r28300
1999-07-27 16:10:38 -04:00
Vladimir Makarov
d3ec6b06ee
sparc.c (sparc_override_options): Enable SPARCLITE instead of V8 for sparclite86x in cpu_table.
...
Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
* config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
instead of V8 for sparclite86x in cpu_table.
From-SVN: r28299
1999-07-27 19:44:41 +00:00
Mark Mitchell
83f2ccf4f8
cp-tree.h (BINFO_VIRTUALS): Document new format.
...
* cp-tree.h (BINFO_VIRTUALS): Document new format.
* class.c (modify_one_vtable): Change prototype accordingly.
(modify_all_vtables): Likewise.
(modify_all_direct_vtables): Likewise.
(modify_all_indirect_vtables): Likewise.
(build_vtable_entry_for_fn): New function.
(set_rtti_entry): Simplify for new BINFO_VIRTUALS format.
(modify_vtable_entry): Likewise.
(add_virtual_function): Likewise.
(build_vtbl_initializer): New function.
(finish_vtbls): Simplify for new BINFO_VIRTUALS format.
(fixup_vtable_deltas1): Likewise.
(fixup_vtable_deltas): Likewise.
(override_one_vtable): Likewise.
(finish_struct_1): Likewise.
* error.c (dump_expr): Likewise.
* search.c (get_abstract_virtuals_1): Likewise.
(get_abstract_virtuals): Likewise.
(expand_upcast_fixups): Likewise.
* tree.c (debug_binfo): Likewise.
* decl2.c (mark_vtable_entries): Don't bash abstract virtuals to
__pure_virtual here.
From-SVN: r28298
1999-07-27 18:15:21 +00:00
Bernd Schmidt
f55dcd41d0
Fix SDB debug output generation for ARM/COFF
...
From-SVN: r28297
1999-07-27 17:02:42 +00:00
Michael Meissner
59159a105e
Add clones of fp-cmp-1 for float/long double; Change name of unknown register
...
From-SVN: r28296
1999-07-27 15:03:03 +00:00
Alexandre Oliva
94b82f2bcf
egcs_update (files_and_dependencies): New function...
...
* egcs_update (files_and_dependencies): New function, with
complete list of files to be updated, as well as their
dependencies.
(touch_files): Check the timestamp of each generated file against
its dependencies'.
(main): New flags --touch, --list and --help. Remove the
pre-update step.
From-SVN: r28295
1999-07-27 13:26:37 +00:00
Jeff Law
3efd811ad1
add EOL to keep patch happy.
...
From-SVN: r28294
1999-07-27 04:35:03 -06:00
Jason Merrill
a5efcd6370
expr.c (expand_expr, [...]): Get the mode from the tree for op1, not the rtl.
...
* expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
tree for op1, not the rtl.
From-SVN: r28292
1999-07-27 06:23:05 -04:00
Jason Merrill
3c56dbcfe2
try again
...
From-SVN: r28291
1999-07-27 06:10:49 -04:00
Jeff Law
0068735be1
Daily bump.
...
From-SVN: r28288
1999-07-27 01:45:11 -06:00
Richard Henderson
a9b8384d6e
m88k.c (m88k_builtin_saveregs): Break out the constructor code to m88k_va_start, leaving only the register spill.
...
* m88k.c (m88k_builtin_saveregs): Break out the constructor code
to m88k_va_start, leaving only the register spill.
(m88k_build_va_list): New.
(m88k_va_start): New.
(m88k_va_arg): New.
* m88k.h (BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
From-SVN: r28287
1999-07-27 00:21:59 -07:00
Geoffrey Keating
cc95be936a
Correct typo in my last change
...
From-SVN: r28286
1999-07-27 06:49:29 +00:00
Geoff Keating
05e4a2abdf
rs6000.c (rs6000_expand_builtin_saveregs): Rename from expand_builtin_saveregs.
...
* config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
Rename from expand_builtin_saveregs.
* config/rs6000/rs6000.c (EXPAND_BUILTIN_SAVEREGS): Change caller.
From-SVN: r28285
1999-07-27 06:34:43 +00:00
Richard Henderson
c2749e2df1
i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set for the register spill block.
...
* i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
for the register spill block.
(i960_build_va_list): New.
(i960_va_start): New.
(i960_va_arg): New.
* i960.h (BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
* i960.md (store_multiple): Use change_address on individul mems.
From-SVN: r28284
1999-07-26 22:53:14 -07:00
Richard Henderson
daf68dd71f
builtins.c (stabilize_va_list): Don't INDIRECT_REF through an ARRAY_TYPE.
...
* builtins.c (stabilize_va_list): Don't INDIRECT_REF through
an ARRAY_TYPE.
(std_expand_builtin_va_start): Back out one word if !stdarg_p.
(expand_builtin_va_end): Evaluate arg for side effects.
* c-common.c (c_common_nodes_and_builtins): Construct a
va_list_arg_type_node to handle array decomposition to pointer.
From-SVN: r28283
1999-07-26 22:43:56 -07:00
Richard Henderson
f654e52683
except.c (start_dynamic_cleanup): Use force_operand on the buffer's address.
...
* except.c (start_dynamic_cleanup): Use force_operand on the
buffer's address.
From-SVN: r28282
1999-07-26 18:53:02 -07:00
Mark Mitchell
5bb2f1e705
tree.c (build_cplus_new): Adjust call to abstract_virtuals_error as per 1999-07-26 change.
...
* tree.c (build_cplus_new): Adjust call to abstract_virtuals_error
as per 1999-07-26 change.
* typeck.c (c_sizeof): Don't allow non-static data members.
(expr_sizeof): Likewise.
From-SVN: r28280
1999-07-27 01:35:35 +00:00
Jason Merrill
4c8a3a8994
new
...
From-SVN: r28279
1999-07-26 21:11:10 -04:00
Jason Merrill
809a5db6e4
input.c (feed_input): Only touch lineno and input_filename if !USE_CPPLIB.
...
* input.c (feed_input): Only touch lineno and input_filename
if !USE_CPPLIB. Save the old values before setting the new ones.
From-SVN: r28278
1999-07-26 20:37:44 -04:00
Richard Henderson
cc7fd3980a
c4x.h (EXPAND_BUILTIN_VA_ARG): New.
...
* c4x.h (EXPAND_BUILTIN_VA_ARG): New.
* c4x.c (c4x_va_arg): New.
From-SVN: r28277
1999-07-26 16:44:33 -07:00
Jason Merrill
1946537baa
input.c (feed_input): Add file, line parms.
...
* input.c (feed_input): Add file, line parms.
* lex.c (begin_definition_of_inclass_inline, feed_defarg): Adjust.
(real_yylex): Check linemode before input_redirected().
* typeck.c (c_expand_return): Downgrade pedwarn about returning NULL
from op new to warning.
From-SVN: r28276
1999-07-26 18:24:00 -04:00
Jason Merrill
e7f9deaeff
cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer has manual_pop set.
...
* cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
has manual_pop set.
From-SVN: r28275
1999-07-26 18:01:44 -04:00
Ian Lance Taylor
e428b1a8c6
* ansidecl.h: Copy attribute support macros from egcs.
...
From-SVN: r28274
1999-07-26 13:22:19 -06:00
Mark Mitchell
4f8fb8c43e
New test
...
From-SVN: r28273
1999-07-26 18:26:21 +00:00
Mark Mitchell
4143af330f
cp-tree.h (ncp_convert): Rename to perform_implicit_conversion.
...
* cp-tree.h (ncp_convert): Rename to perform_implicit_conversion.
* call.c: All uses changed.
* typeck.c: Likewise.
From-SVN: r28272
1999-07-26 18:12:16 +00:00
Nathan Sidwell
8bc6495183
exception.cc (__cplus_type_matcher): Match __eh_matcher prototype.
...
* exception.cc (__cplus_type_matcher): Match __eh_matcher
prototype.
From-SVN: r28271
1999-07-26 18:00:41 +00:00
Nathan Sidwell
1652ca3e7f
eh-common.h (__eh_matcher): Prototype correctly.
...
1999-07-26 Nathan Sidwell <nathan@acm.org>
* eh-common.h (__eh_matcher): Prototype correctly.
From-SVN: r28270
1999-07-26 18:00:03 +00:00