Commit Graph

23078 Commits

Author SHA1 Message Date
Joe Buck
048fc68638 gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
* gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
        Also update copyright.

From-SVN: r28359
1999-07-31 07:28:54 -06:00
Bernd Schmidt
b384405b34 Backport of GC branch patches part 1: kill eh status saving.
From-SVN: r28357
1999-07-31 12:46:53 +00:00
Jeffrey A Law
6261ede720 pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead of depending on a magic constant value.
* pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
        of depending on a magic constant value.  Update comments.
        (hppa_expand_prologue): Similarly.

From-SVN: r28356
1999-07-31 04:27:42 -06:00
Jeffrey A Law
1984b4afd6 pa.md (reload_indi, [...]): Allow any register for the original reload register.
* pa.md (reload_indi, reload_outdi): Allow any register for the
        original reload register.

From-SVN: r28355
1999-07-31 04:11:08 -06:00
Jeff Law
33a468251a Daily bump.
From-SVN: r28354
1999-07-31 01:45:08 -06:00
Mark Mitchell
442aa4ec84 call.c (build_conditional_expr): Call convert_from_reference to avoid reference/non-reference type confusion.
* call.c (build_conditional_expr): Call convert_from_reference to
	avoid reference/non-reference type confusion.  Fix typo.

From-SVN: r28353
1999-07-31 06:09:13 +00:00
Jim Wilson
278a994d00 Fix typo in help message.
* cccp.c (print_help): Change marcos to macros.

From-SVN: r28352
1999-07-30 19:43:44 -07:00
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