Commit Graph

23171 Commits

Author SHA1 Message Date
Richard Henderson
47620e09d1 Update for label differences.
From-SVN: r28351
1999-07-30 18:26:09 -07:00
Richard Henderson
aac3691da5 typeck2.c (initializer_constant_valid_p): Moved to c-common.c.
* typeck2.c (initializer_constant_valid_p): Moved to c-common.c.
        * cp-tree.h (initializer_constant_valid_p): Remove.

From-SVN: r28350
1999-07-30 18:13:32 -07:00
Richard Henderson
7e8176d778 c-typeck.c (initializer_constant_valid_p): Move ...
* c-typeck.c (initializer_constant_valid_p): Move ...
        * c-common.c (initializer_constant_valid_p): ... here.  Use
        FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
        of label addresses.
        * c-common.h (initializer_constant_valid_p): Declare.
        * c-tree.h (initializer_constant_valid_p): Remove.

From-SVN: r28349
1999-07-30 18:13:08 -07:00
Mathias Froehlich
96a0a146e2 sol2-c1.asm: Align the stack.
* config/i386/sol2-c1.asm: Align the stack.
        * config/i386/sol2-gc1.asm: Likewise.

From-SVN: r28348
1999-07-30 16:40:09 -07:00
Vladimir Makarov
8d72ec32f7 sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto -Asparclite for sparc86x.
1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>

	* config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
 	-Asparclite for sparc86x.
	(CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
 	sparc86x.
	(ASM_CPU_SPEC): Use -Asparclite for sparc86x.

From-SVN: r28347
1999-07-30 22:44:08 +00:00
Jakub Jelinek
5cb01b6505 Jakub Jelinek <jj@ultra.linux.cz>
* config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
        the user if using the non-default arch size in BI_ARCH configuration.
        * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.

        * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
        Fix patterns so that they actually match.
        (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
        (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
        (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
        TARGET_HARD_MUL32.
        (mulsidi3): Reflect this in the expand.
        (smulsi3_highpart): Only on TARGET_ARCH32.
        (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
        (const_umulsidi3_sp32): Renamed from const_umulsidi3.
        (umulsidi3): Reflect this in the expand.
        (umulsi3_highpart): Only on TARGET_ARCH32.
        (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
        don't require g0 to be zero.
        (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
        ({,u}divsi3): New expands.
        ({,u}divsi3_sp64): New patterns.
        (after lshrdi3_v8plus): Four new patterns to help combiner
        optimizing nested mixed mode shifts.

        * config/sparc/sparc.c (sparc_override_options): Use deprecated
        v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
        speed things up. Don't use them by default on plain v9 in 64bit
        mode, according to what SPAMv9 sais.

        * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
        top 32 bits of %[og][0-7] in signal handlers.
        Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.

From-SVN: r28346
1999-07-30 14:55:06 -07:00
Kaveh R. Ghazi
cd531a2edd Warning fixes:
* expr.c (build_java_soft_divmod): Provide a default case in switch.
        (java_lang_expand_expr): Mark parameters `target', `tmode' and
        `modifier' with ATTRIBUTE_UNUSED.

        * gjavah.c (process_file): Add braces around ambiguous `else'.

        * jcf-dump.c (print_access_flags, localvar_free): Change return
        type to void.

        * parse.y (java_complete_expand_method): Initialize variable
        `exception_copy'.
        (resolve_qualified_expression_name): Likewise for `field_decl'.
        (patch_method_invocation): Likewise for `class_to_search'.
        (qualify_ambiguous_name): Likewise for `name' and `ptr_type'.
        (patch_assignment): Likewise for `lhs_type'.

        * verify.c (verify_jvm_instructions): Remove unused variable
        `caller'.

From-SVN: r28344
1999-07-30 18:31:34 +00:00
Jeffrey A Law
93b69d0f0d pa.md (zvdep_imm32): Renamed from zvdep_imm.
* pa.md (zvdep_imm32): Renamed from zvdep_imm.
        (ashlsi3): Corresponding changes.

From-SVN: r28343
1999-07-30 04:51:02 -06:00
Jeffrey A Law
6fda0f5b2a * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
From-SVN: r28342
1999-07-30 03:01:20 -06:00
Jeff Law
59fa4a5936 Daily bump.
From-SVN: r28341
1999-07-30 01:45:09 -06:00
Jeffrey A Law
f6b373542c * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
From-SVN: r28340
1999-07-29 18:38:08 -06:00
Bernd Schmidt
3bccbef63e Fix a cross toolchain build problem
From-SVN: r28339
1999-07-29 18:09:33 +00:00
Nick Clifton
7d505b82b3 Use force_operand to make sure that the buffer address is in a suitable form
to be passed to force_reg.

From-SVN: r28334
1999-07-29 08:23:27 +00:00
Jeff Law
89693f2927 Daily bump.
From-SVN: r28333
1999-07-29 01:45:15 -06:00
Jeffrey A Law
e58f99c450 pa.md (indirect_jump): Remove mode from match_operand.
* pa.md (indirect_jump): Remove mode from match_operand.  Verify
        proper mode in the condition string.
        (icacheflush, dcacheflush): Remove modes from match_operands.

From-SVN: r28332
1999-07-29 01:26:58 -06:00
Jeffrey A Law
1b8ad134da pa.c (emit_move_sequence): Always convert scratch_reg to the proper mode before using it.
* pa.c (emit_move_sequence): Always convert scratch_reg to the
        proper mode before using it.

From-SVN: r28331
1999-07-29 00:21:12 -06:00
Geoff Keating
be44d23e64 mips.c: system.h handles MIN and MAX, don't undefine them here.
* config/mips/mips.c: system.h handles MIN and MAX, don't undefine
        them here.

From-SVN: r28329
1999-07-29 03:31:26 +00:00
Jeffrey A Law
9d142e3fd8 pa.md (adddi3, subdi3): Turn into a define_expand/define_insn pair.
* pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
        pair.

From-SVN: r28328
1999-07-28 17:19:44 -06:00
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