geoffk [Thu, 29 Jul 1999 03:31:26 +0000 (03:31 +0000)]
* config/mips/mips.c: system.h handles MIN and MAX, don't undefine
them here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28329
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 23:19:44 +0000 (23:19 +0000)]
* pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
pair.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28328
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 22:34:57 +0000 (22:34 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28327
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 21:46:39 +0000 (21:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28326
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 19:50:47 +0000 (19:50 +0000)]
fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28324
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 19:50:11 +0000 (19:50 +0000)]
* README: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28322
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 19:38:02 +0000 (19:38 +0000)]
* pa.md (call, call_value): Use "word_mode" instead of "SImode" as
needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28321
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 19:21:34 +0000 (19:21 +0000)]
* pa.md (reload_indi, reload_outdi): Scratch register should
be a DImode register.
(call, call_value): Use "word_mode" instead of "SImode" as needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28320
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 18:29:01 +0000 (18:29 +0000)]
* builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28319
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 18:26:26 +0000 (18:26 +0000)]
Wrong patch -- builtin_saveregs has already corrected for !stdarg_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28318
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 18:24:29 +0000 (18:24 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28317
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 18:23:04 +0000 (18:23 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28316
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 18:21:02 +0000 (18:21 +0000)]
* mn10200.c (mn10200_va_arg): New.
* mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28315
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 18:20:07 +0000 (18:20 +0000)]
* builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
rather than play with TREE_INT_CST_LOW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28314
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 28 Jul 1999 17:52:02 +0000 (17:52 +0000)]
* egcs_update (files_and_dependencies): Fixed typo in
gcc/cstamp-h.in. Added gcc/config.in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28313
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 28 Jul 1999 08:52:05 +0000 (08:52 +0000)]
Patch from Phillip Blundell <pb@nexus.co.uk> to add arm/thumb uclinux support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28312
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 28 Jul 1999 08:32:34 +0000 (08:32 +0000)]
Kill CYGNUS LOCAL tags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28311
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 28 Jul 1999 08:20:09 +0000 (08:20 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28310
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 07:47:15 +0000 (07:47 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28309
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 28 Jul 1999 05:21:38 +0000 (05:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28307
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 28 Jul 1999 00:45:57 +0000 (00:45 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28305
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 28 Jul 1999 00:45:12 +0000 (00:45 +0000)]
* cp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.
* typeck.c (expand_ptrmemfunc_cst): Calculate delta correctly for
virtual functions and MI. Simplify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28304
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Jul 1999 22:58:58 +0000 (22:58 +0000)]
tweak whitespace
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28303
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Jul 1999 22:58:38 +0000 (22:58 +0000)]
* method.c: Remove prototype for largest_union_member.
* pt.c (determine_specialization): Fix uninitialized warning.
* lex.c (real_yylex): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28302
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 27 Jul 1999 20:17:13 +0000 (20:17 +0000)]
* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
here too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28301
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 27 Jul 1999 20:10:38 +0000 (20:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28300
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Tue, 27 Jul 1999 19:44:41 +0000 (19:44 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28299
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 27 Jul 1999 18:15:21 +0000 (18:15 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28298
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Tue, 27 Jul 1999 17:02:42 +0000 (17:02 +0000)]
Fix SDB debug output generation for ARM/COFF
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28297
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Tue, 27 Jul 1999 15:03:03 +0000 (15:03 +0000)]
Add clones of fp-cmp-1 for float/long double; Change name of unknown register
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28296
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Tue, 27 Jul 1999 13:26:37 +0000 (13:26 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28295
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 27 Jul 1999 10:35:03 +0000 (10:35 +0000)]
add EOL to keep patch happy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28294
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Jul 1999 10:23:05 +0000 (10:23 +0000)]
* expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
tree for op1, not the rtl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28292
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Jul 1999 10:10:49 +0000 (10:10 +0000)]
try again
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28291
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 27 Jul 1999 07:45:11 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28288
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 27 Jul 1999 07:21:59 +0000 (07:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28287
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 27 Jul 1999 06:49:29 +0000 (06:49 +0000)]
Correct typo in my last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28286
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 27 Jul 1999 06:34:43 +0000 (06:34 +0000)]
* config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
Rename from expand_builtin_saveregs.
* config/rs6000/rs6000.c (EXPAND_BUILTIN_SAVEREGS): Change caller.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28285
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 27 Jul 1999 05:53:14 +0000 (05:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28284
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 27 Jul 1999 05:43:56 +0000 (05:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28283
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 27 Jul 1999 01:53:02 +0000 (01:53 +0000)]
* except.c (start_dynamic_cleanup): Use force_operand on the
buffer's address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28282
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 27 Jul 1999 01:35:35 +0000 (01:35 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28280
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Jul 1999 01:11:10 +0000 (01:11 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28279
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 Jul 1999 00:37:44 +0000 (00:37 +0000)]
* input.c (feed_input): Only touch lineno and input_filename
if !USE_CPPLIB. Save the old values before setting the new ones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28278
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 23:44:33 +0000 (23:44 +0000)]
* c4x.h (EXPAND_BUILTIN_VA_ARG): New.
* c4x.c (c4x_va_arg): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28277
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 26 Jul 1999 22:24:00 +0000 (22:24 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28276
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 26 Jul 1999 22:01:44 +0000 (22:01 +0000)]
* cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
has manual_pop set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28275
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 26 Jul 1999 19:22:19 +0000 (19:22 +0000)]
* ansidecl.h: Copy attribute support macros from egcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28274
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 26 Jul 1999 18:26:21 +0000 (18:26 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28273
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 26 Jul 1999 18:12:16 +0000 (18:12 +0000)]
* cp-tree.h (ncp_convert): Rename to perform_implicit_conversion.
* call.c: All uses changed.
* typeck.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28272
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 26 Jul 1999 18:00:41 +0000 (18:00 +0000)]
* exception.cc (__cplus_type_matcher): Match __eh_matcher
prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28271
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 26 Jul 1999 18:00:03 +0000 (18:00 +0000)]
1999-07-26 Nathan Sidwell <nathan@acm.org>
* eh-common.h (__eh_matcher): Prototype correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28270
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 26 Jul 1999 17:57:25 +0000 (17:57 +0000)]
* splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28269
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 26 Jul 1999 16:35:08 +0000 (16:35 +0000)]
Apply Philip Blundell <pb@nexus.co.uk>'s patch to add PIC support to the Thumb.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28268
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 26 Jul 1999 16:31:02 +0000 (16:31 +0000)]
Update my email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28267
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 26 Jul 1999 12:19:16 +0000 (12:19 +0000)]
1999-07-26 Andrew Haley <aph@cygnus.com>
* config/m32r/initfini.c (__init): Use a full word immediate for
__fini: this allows it to be placed in any memory region.
* config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
-mmodel=medium. This is OK for all memory models.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28266
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 26 Jul 1999 10:59:55 +0000 (10:59 +0000)]
Replace %R%s with %r
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28264
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 26 Jul 1999 09:25:29 +0000 (09:25 +0000)]
Implement new macro: ASM_FPRINTF_EXTENSIONS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28263
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 26 Jul 1999 08:18:19 +0000 (08:18 +0000)]
* cp-tree.h (CP_INTEGRAL_TYPE_P): New macro.
(ARITHMETIC_TYPE_P): Adjust definition for standard conformance.
(strip_top_quals): Declare.
(ncp_convert): Likewise.
(type_after_usual_arithmetic_converions): Likewise.
(composite_pointer_type): Likewise.
* call.c (strip_top_quals): Don't make it static.
(promoted_arithmetic_type_p): New function.
(conditional_conversion): Likewise.
(null_ptr_cst_p): Allow `false' as a NULL pointer constant.
(standard_conversion): Use same_type_p. Don't build BASE_CONVs
for converting a type to itself.
(reference_binding): Honor LOOKUP_NO_TEMP_BIND.
(implicit_conversion): Make sure the from and to types are
complete.
(add_builtin_candidate): Correct handling of ?: operator.
(add_builtin_candidates): Improve documentation.
(build_conditional_expr): New function.
(can_convert): Implement in terms of can_convert_arg.
(ncp_convert): New function.
* typeck.c (type_after_usual_arithmetic_conversions): New
function, split out from common_type.
(composite_pointer_type): New function, split out from
build_conditional_expr.
(common_type): Use type_after_usual_arithmetic_conversions.
Remove redundant attribute merging.
(comptypes): Tidy. Handle COMPLEX_TYPE.
(build_binary_op_nodefault): Use null_ptr_cst_p.
(build_conditional_expr): Remove.
(convert_for_assignment): Use new conversion functions.
* cp-tree.h (abstract_virtuals_error): Change declaration.
* typeck2.c (abstract_virtuals_error): Check to see if an error
ocurred, and return a boolean value accordingly.
(build_functional_cast): Adjust accordingly.
* class.c (finish_struct_1): Likewise.
* cvt.c (ocp_convert): Likewise.
* decl.c (cp_finish_decl): Likewise.
(grokparams): Likewise.
(grok_op_properties): Likewise.
(start_function): Likewise.
* init.c (build_new_1): Likewise.
* pt.c (unify): Don't get confused by pointers-to-member functions.
* search.c (build_cplus_new): Robustify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28262
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 26 Jul 1999 07:45:38 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28261
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 07:04:47 +0000 (07:04 +0000)]
* i860.h (EXPAND_BUILTIN_SAVEREGS): New.
(BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
* i860.c (output_delayed_branch): Disable.
(output_delay_insn): Likewise.
(i860_saveregs): New.
(i860_build_va_list): New.
(i860_va_start): New.
(i860_va_arg): New.
* i860.md: Disable all peepholes using output_delayed_branch.
* i860/sysv4.h (I860_SVR4_VA_LIST): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28259
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 06:49:13 +0000 (06:49 +0000)]
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28258
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 06:48:07 +0000 (06:48 +0000)]
* clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
(BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
* clipper.c (clipper_builtin_saveregs): Only dump registers.
Return the address of the save area.
(clipper_build_va_list): New.
(clipper_va_start): New.
(clipper_va_arg): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28257
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 06:37:29 +0000 (06:37 +0000)]
* arc.h (EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
* arc.c (arc_setup_incoming_varargs): Set alias set of
varargs save area.
(arc_va_start): New.
(arc_va_arg): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28254
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 26 Jul 1999 06:07:02 +0000 (06:07 +0000)]
* config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
column zero.
(DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
(FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28253
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 05:48:39 +0000 (05:48 +0000)]
* alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
(BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START): New.
(EXPAND_BUILTIN_VA_ARG): New.
* alpha.c (alpha_builtin_saveregs): Delete.
(alpha_build_va_list): New.
(alpha_va_start): New.
(alpha_va_arg): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28252
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 26 Jul 1999 04:27:09 +0000 (04:27 +0000)]
Add myself to list, check write access
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28251
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 26 Jul 1999 03:59:19 +0000 (03:59 +0000)]
* gcc.texi: More changes related to list conversion.
* invoke.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28250
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 26 Jul 1999 03:58:29 +0000 (03:58 +0000)]
* README: More listname related changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28249
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 26 Jul 1999 02:51:44 +0000 (02:51 +0000)]
1999-07-22 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natString.cc (substring): optimize where substring is
entire String.
* java/io/File.java (getName): don't return separator with file name.
* java/io/natFile.cc (attr): fix overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28246
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 01:21:59 +0000 (01:21 +0000)]
* m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
* m88k.h, m88k.c: Likewise.
* mn10300.h, mn10300.c: Likewise.
* pa.h, pa.c: Likewise.
* rs6000.h, rs6000.c: Likewise.
* sh.h, sh.c: Likewise.
* sparc.h, sparc.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28245
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 01:21:24 +0000 (01:21 +0000)]
Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28244
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 01:21:03 +0000 (01:21 +0000)]
* builtins.c (expand_builtin_saveregs): Remove static, remove exp
and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
(expand_builtin_next_arg): Accept ARGLIST not EXP.
(stabilize_va_list): New function.
(std_expand_builtin_va_start): New function.
(expand_builtin_va_start): New function.
(get_varargs_alias_set): New function.
(std_expand_builtin_va_arg): New function.
(expand_builtin_va_arg): New function.
(expand_builtin_va_end): New function.
(expand_builtin_va_copy): New function.
(expand_builtin): Call them.
* c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
__builtin_{varargs_start,stdarg_start,end,copy}.
(build_va_arg): New function.
* c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
(build_va_arg): Declare.
* c-decl.c (ptr_type_node, va_list_type_node): New.
* c-parse.gperf (__builtin_va_arg): New.
* c-parse.in (VA_ARG): New token.
(unary_expr): Recognize it.
* expr.c (expand_expr): Expand VA_ARG_EXPR.
* expr.h (std_expand_builtin_va_start): Declare.
(std_expand_builtin_va_arg): Declare.
(expand_builtin_va_arg): Declare.
(get_varargs_alias_set): Declare.
* tree.def (VA_ARG_EXPR): New.
* tree.h (BUILT_IN_VARARGS_START): New.
(BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
(ptr_type_node, va_list_type_node): Declare.
* tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
* m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
* m88k.h, m88k.c: Likewise.
* mn10300.h, mn10300.c: Likewise.
* pa.h, pa.c: Likewise.
* rs6000.h, rs6000.c: Likewise.
* sh.h, sh.c: Likewise.
* sparc.h, sparc.c: Likewise.
* emit-rtl.c (operand_subword): Copy alias set.
(change_address): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28243
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 01:19:44 +0000 (01:19 +0000)]
* decl.c (ptr_type_node, va_list_type_node): New.
* gxx.gperf (__builtin_va_arg): New.
* parse.y (VA_ARG): New token.
(unary_expr): Recognize it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28242
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 01:19:16 +0000 (01:19 +0000)]
* com.c (ptr_type_node, va_list_type_node): New.
(ffecom_init_0): Init and use ptr_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28241
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 26 Jul 1999 01:19:02 +0000 (01:19 +0000)]
* decl.c (va_list_type_node): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28240
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 25 Jul 1999 21:26:16 +0000 (21:26 +0000)]
* g++FAQ.texi: Deleted per Joe Buck's request.
* Makefile.in: Corresponding changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28238
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 25 Jul 1999 21:10:31 +0000 (21:10 +0000)]
* pa.c (compute_frame_size): Scan all the used callee saved registers,
not just the first one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28237
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 25 Jul 1999 10:12:49 +0000 (10:12 +0000)]
* gjavah.c (print_stub): New function.
(METHOD_IS_NATIVE): New macro.
(print_mangled_classname): Make static.
(HANDLE_END_FIELD): Don't emit fields during stub generation.
(process_file): Perform stub generation.
(HANDLE_METHOD): Don't emit class decls during stub
generation.
(HANDLE_END_METHOD): Take into account stub generation.
(print_method_info): Handle stub generation.
(print_stub): New function.
(print_cxx_classname): Make signature consistant with others.
(help): Describe -stubs option.
(main): Create stub file.
(version): Use version.c.
(print_full_cxx_name): New function.
(print_c_decl): Use print_full_cxx_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28236
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 25 Jul 1999 08:48:25 +0000 (08:48 +0000)]
* mauve-libgcj: Disable Object Serialization tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28235
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 25 Jul 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28233
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 24 Jul 1999 07:45:11 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28231
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 24 Jul 1999 00:45:51 +0000 (00:45 +0000)]
* lex.c: Sync with C frontend.
(whitespace_cr): New fn.
(skip_white_space): Use it.
(init_parse): Reorder.
(yyprint): Support CONSTANT.
(pragma_getc, pragma_ungetc): Bring back.
(read_line_number): Change in_system_header directly.
(handle_generic_pragma, handle_cp_pragma, yyerror): Move up in file.
(parse_float): Update to C version.
(yylex): Handle '$' under the letter case.
Remove looking_for_typename handling.
Support hex floating point constants.
Follow C's lead for choosing type of integer constants.
Rearrange stuff to match C frontend.
(yyungetc, reinit_parse_for_block, yylex): Support indent_level.
* spew.c (yylex): Clear looking_for_typename if we see a TYPESPEC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28230
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 23 Jul 1999 20:53:54 +0000 (20:53 +0000)]
* call.c (reference_binding): Tweak.
(mayble_handle_implicit_object): Use direct_reference_binding to
create the right implicit conversion sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28228
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 23 Jul 1999 13:19:49 +0000 (13:19 +0000)]
* config/arm/arm.h (TARGET_SWITCHES): Add
-m{no-}single-pic-base. Correct help string for -mshort-load-words.
(TARGET_OPTIONS): Add -mpic-register=.
(ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
(arm_pic_register_string): Declare.
(NEED_PLT_GOT): Delete, replace with ...
(NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
(OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
(ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
* config/arm/arm.c (arm_override_options): Add new option
-mpic-register=N.
(arm_pic_register_string): New variable.
(arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
(output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
(output_return_instruction): Likewise.
* config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
(NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
* config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
* invoke.texi (ARM Options): Fix spelling. Remove duplicate
mention of -msched-prolog. Document new options -msingle-pic-base
and -mpic-register=.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28227
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 23 Jul 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28225
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 23 Jul 1999 04:32:17 +0000 (04:32 +0000)]
* pt.c (convert_nontype_argument): Don't call decl_constant_value
if we're converting to a reference type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28224
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 23 Jul 1999 01:26:40 +0000 (01:26 +0000)]
* haifa-sched.c (reemit_notes): Tidy.
* sched.c (reemit_notes): Duplicate 1998-08-31 patch to
haifa's routine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28223
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 23 Jul 1999 01:21:31 +0000 (01:21 +0000)]
* explow.c (trunc_int_for_mode): New function.
(plus_constant_wide): Use it.
* combine.c (simplify_and_const_int): Likewise.
(merge_outer_ops): Likewise.
(simplify_shift_const): Likewise.
* cse.c (simplify_unary_operation): Likewise.
(simplify_binary_operation): Likewise.
* emit-rtl.c (operand_subword): Likewise.
* rtl.h: Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28222
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 23 Jul 1999 01:01:16 +0000 (01:01 +0000)]
* call.c (NEED_TEMPORARY_P): New macro.
(standard_conversion): Set it, for derived-to-base conversions.
(reference_related_p): New function.
(reference_compatible_p): Likewise.
(convert_class_to_reference): Likewise.
(direct_reference_binding): Likewise.
(reference_binding): Rework for standards-compliance.
(convert_like): Adjust accordingly.
(maybe_handle_ref_bind): Simplify; the right conversion sequences
are now built up in reference_binding.
(initialize_reference): New function.
* cp-tree.h (ICS_USER_FLAG): Document.
(ICS_THIS_FLAG): Likewise.
(ICS_BAD_FLAG): Likewise.
(NEED_TEMPORARY_P): Likewise.
(cp_lvalue_kind): New type.
(real_lvalue_p): Return it.
* error.c (dump_expr): Provide more accurate representation for
AGGR_INIT_EXPRs.
* init.c (expand_default_init): Do not try to perform implicit
conversions for a brace-enclosed initializer.
* search.c (lookup_conversions): Document.
* tree.c (lvalue_p_1): Return a cp_lvalue_kind. Calculate
appropriately.
(real_lvalue_p): Adjust accordingly.
(lvalue_p): Likewise.
(build_cplus_new): Don't allow the creation of an abstract class.
* typeck.c (convert_for_initialization): Use initialize_reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28221
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 22 Jul 1999 19:29:56 +0000 (19:29 +0000)]
Thu Jul 22 12:41:12 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* check-init.c (check_init): Handle MAX_EXPR.
(Fix to net PR #14.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28220
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 22 Jul 1999 13:40:14 +0000 (13:40 +0000)]
Fix a typo in arm_print_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28219
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 22 Jul 1999 12:11:43 +0000 (12:11 +0000)]
revert previous delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28218
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 22 Jul 1999 11:04:58 +0000 (11:04 +0000)]
Break out builtin function expansion from expr.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28217
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 22 Jul 1999 09:20:49 +0000 (09:20 +0000)]
Vladik Goytin (goytin@yahoo.com)
Define (ASM_OUTPUT_SECTION_NAME): Support section attribute for the target
'arm-semi-aout' for the sections .text and .data only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28216
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 22 Jul 1999 07:45:13 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28214
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 22 Jul 1999 02:16:55 +0000 (02:16 +0000)]
* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
* tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
* dwarf2out.c (dwarf2out_init): Don't output a label to mark the
start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
false.
* config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
Define to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28213
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 21 Jul 1999 23:53:09 +0000 (23:53 +0000)]
Print the names of the hardcoded virtural registers
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28212
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 21 Jul 1999 15:11:56 +0000 (15:11 +0000)]
1999-07-19 Andrew Haley <aph@cygnus.com>
* prims.cc (JvRunMain): Always initialize arithexception.
(_Jv_divI): New function.
(_Jv_remI): New function.
(_Jv_divJ): New function.
(_Jv_remI): New function.
* include/jvm.h: Add these new functions.
Makefile.am: add DIVIDESPEC.
aclocal.m4: ditto.
configure.host: set DIVIDESPEC.
libgcj.spec.in: pass DIVIDESPEC to compiler.
configure: rebuilt.
Makefile.in: rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28211
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 21 Jul 1999 15:09:36 +0000 (15:09 +0000)]
Fix typo in previous delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28210
138bc75d-0d04-0410-961f-
82ee72b054a4