Commit Graph

17964 Commits

Author SHA1 Message Date
Ulrich Drepper
32f0e4a48f Update.
From-SVN: r21790
1998-08-17 12:32:54 +00:00
Ulrich Drepper
acd1ba4c76 Define __PMT if not already defined.
From-SVN: r21789
1998-08-17 12:32:45 +00:00
Mark Mitchell
ef1090573a * stdexcept: Put things in the std namespace, if appropriate.
From-SVN: r21788
1998-08-17 12:25:32 +00:00
Kaveh R. Ghazi
a782562574 cplus-dem.c: Include config.h if it exists.
* cplus-dem.c: Include config.h if it exists.  Also, only
        prototype malloc/realloc if we can't get stdlib.h.

From-SVN: r21787
1998-08-17 05:42:54 -06:00
Jeffrey A Law
69789cfc8f cp-tree.h (set_identifier_local_value): Provide prototype.
* cp-tree.h (set_identifier_local_value): Provide prototype.
        * decl2.c (do_namespace_alias): Remove unused variables `binding'
        and `old'.

From-SVN: r21786
1998-08-17 05:42:22 -06:00
Kaveh R. Ghazi
efe3eb65d1 Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
* Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
        * cplus-dem.c: Delete.
        * Makefile.in (fold-const.o): depend on $(RTL_H).
        * fold-const.c: Include rtl.h to get the prototype for
        `set_identifier_local_value'.
        * loop.c (express_from_1): Remove unused variable `tmp'.
        (combine_givs): cast the first argument of bzero to char *.
        * toplev.c (display_help): Remove unused variable `looking_for_start'.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r21785
1998-08-17 05:39:32 -06:00
Jeff Law
ce3c0b5314 expr.c (expand_expr): Allow assignments from TImode PARM_DECLs and VAR_DECLs.
8
        * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
        and VAR_DECLs.

From-SVN: r21784
1998-08-17 04:50:00 -06:00
Jeff Law
27fa9e4bdf expr.c (expand_expr): Allow assignments from TImode PARM_DECLs and VAR_DECLs.
* expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
        and VAR_DECLs.

From-SVN: r21783
1998-08-17 04:49:58 -06:00
Mark Mitchell
0720f6fbcd stmt.c (expand_end_loop): Tidy.
* stmt.c (expand_end_loop): Tidy.  Allow unconditional
        jumps out of the loop to be treated as part of the exit test.

From-SVN: r21782
1998-08-17 03:30:15 -06:00
Kaveh R. Ghazi
804a4e13f8 c-decl.c (init_decl_processing): Remove unneeded &.
* c-decl.c (init_decl_processing): Remove unneeded &.
        * alpha.h (alpha_initialize_trampoline): Provide prototype.
        * except.c (set_exception_lang_code, set_exception_version_code):
        Change parameter from `short' to `int' to avoid using a gcc
        extension.
        * except.h (set_exception_lang_code, set_exception_version_code):
        Likewise for prototypes.
        * flow.c (count_reg_references): Remove unused variables `regno'
        and `i'.
        * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'.
        * prefix.c (translate_name): Cast the result of `alloca'.
        * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r21781
1998-08-17 03:08:32 -06:00
Andreas Schwab
f5220a5dd3 m68k.c: Include "system.h" instead of <stdio.h>.
* config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
        Include "toplev.h".
        (valid_dbcc_comparison_p): Mark mode argument as unused.
        (symbolic_operand): Likewise.
        (legitimize_pic_address): Likewise.
        (const_uint32_operand): Likewise.
        (const_sint32_operand): Likewise.
        * sched.c [!INSN_SCHEDULING]: Define only dummy function
        schedule_insns and comment out rest of file.

From-SVN: r21779
1998-08-17 02:35:24 -06:00
Andreas Schwab
38198304cc m68k.c (output_move_simode_const): Use subl to move a zero into an address register.
* m68k.c (output_move_simode_const): Use subl to move a zero into an
        address register.
        (output_move_[hq]imode): Likewise.

From-SVN: r21778
1998-08-17 02:25:31 -06:00
Jeffrey A Law
3f9a83a91b toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
* toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
        * invoke.texi: Corresponding changes.

From-SVN: r21777
1998-08-17 02:18:17 -06:00
Richard Henderson
29f63881da * regclass.c (allocate_reg_info): Respect MIN when clearing data.
From-SVN: r21770
1998-08-16 19:04:53 -07:00
Jeff Law
295cd2ee03 Daily bump.
From-SVN: r21768
1998-08-16 18:45:02 -06:00
David S. Miller
3bc8b61efc sparc.c (ultra_code_from_mask, [...]): New functions to describe UltraSPARC pipeline exactly to Haifa.
* config/sparc/sparc.c (ultra_code_from_mask,
	ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
	ultra_find_type, ultra_schedule_insn, ultra_flush_pipeline,
	ultrasparc_sched_init, ultrasparc_variable_issue,
	ultra_rescan_pipeline_state, ultrasparc_sched_reorder): New
	functions to describe UltraSPARC pipeline exactly to Haifa.
	(ultrasparc_adjust_cost): Indicate IMUL type insns have zero cost,
	as there is nothing the scheduler can do about it.  Indicate that
	REG_DEP_OUTPUT's collide.  Fixup formatting.
	* config/sparc/sparc.h (RTX_COSTS): Fixup integer multiply and
	divide costs on Ultra for DImode.
	(MD_SCHED_INIT, MD_SCHED_REORDER, MD_SCHED_VARIABLE_ISSUE):
	Define.
	* config/sparc/sparc.md (ieu_unnamed function unit): Rename to
	ieuN and add call_no_delay_slot to type list.
	(cti function unit): New unit for branches on UltraSPARC.
	(subx/addx insns): Set type to misc.
	(sidi zero/sign extension insns on arch64): Set type to shift.
	(sign_extendhidi2_insn): Set type to sload.

From-SVN: r21767
1998-08-16 11:50:32 -07:00
David Edelsohn
a6c2a102ae rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
* rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
        (output_epilog): Use if != 0 for offset.
        (rs6000_fatal_bad_address): Prepare for Intl.
        * rs6000.h (rs6000_fatal_bad_address): Declare.
        * rs6000.md (movsfcc, movdfcc): Use else if.
        (elf_high): Use {liu|lis}.
        (elf_low): Use {cal|la}.  Remove %a template from old mnemonics.
        (movsi): Use rs6000_fatal_bad_address.

From-SVN: r21766
1998-08-16 07:07:25 -04:00
Richard Henderson
8ec82f87f3 reload.c (find_equiv_reg): Reject equivalences separated by a volatile instruction.
8
        * reload.c (find_equiv_reg): Reject equivalences separated
        by a volatile instruction.

From-SVN: r21763
1998-08-15 18:55:58 -06:00
Richard Henderson
2753f812d4 reload.c (find_equiv_reg): Reject equivalences separated by a volatile instruction.
�
        * reload.c (find_equiv_reg): Reject equivalences separated
        by a volatile instruction.

From-SVN: r21762
1998-08-15 18:55:56 -06:00
Jeffrey A Law
da4d0a4deb * gcc.c-torture/compile/980616-1.c: New test.
From-SVN: r21760
1998-08-15 18:50:25 -06:00
Jeff Law
96731c7684 Daily bump.
From-SVN: r21758
1998-08-15 18:45:02 -06:00
Jeffrey A Law
1ed607b5e6 * gcc.dg/980816-1.c: New test.
From-SVN: r21757
1998-08-15 18:30:06 -06:00
Franz Sirl
373107aa5c linux.h (CPP_OS_DEFAULT_SPEC): Define.
�
        * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.

From-SVN: r21754
1998-08-15 17:23:19 -06:00
Franz Sirl
4acd6def85 linux.h (CPP_OS_DEFAULT_SPEC): Define.
�
        * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.

From-SVN: r21753
1998-08-15 17:23:16 -06:00
Richard Henderson
c7dec7c216 * alpha.md (movsicc): Fix mode mismatch.
From-SVN: r21752
1998-08-15 13:54:22 -07:00
H.J. Lu
54473ca70d alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated return type.
Sat Aug 15 20:22:33 1998  H.J. Lu  (hjl@gnu.org)
        * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated
        return type.
        * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.

From-SVN: r21751
1998-08-15 13:47:16 -07:00
David S. Miller
67111044ce Fix -fPIC regression reported by Brendan Kehoe.
* config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
	write-only modifier from operand 1 constraint.

From-SVN: r21749
1998-08-15 02:47:56 -07:00
David S. Miller
5108f3e527 Fix all known bugs remaining in sparc64 constant formation.
* config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
	emitting a XOR of -1 at the end, emit a NOT instead for combine's
	sake.
	(sparc_emit_set_const64): Likewise, also when computing trailing
	bits do not negate low_bits and make fast_int an int.

From-SVN: r21748
1998-08-15 00:36:04 -07:00
Jeff Law
d26df5611c Daily bump.
From-SVN: r21746
1998-08-14 18:45:02 -06:00
Jeffrey A Law
6b3603c273 loop.c (add_label_notes): Do not ignore references to labels before dispatch tables.
* loop.c (add_label_notes): Do not ignore references to labels
        before dispatch tables.  Mirrors Apr 8 change to mark_jump_label.
        * gcse.c (add_label_notes): Similarly.

From-SVN: r21744
1998-08-14 18:33:57 -06:00
Jeffrey A Law
fbe83d7ac8 * pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
From-SVN: r21742
1998-08-14 16:27:50 -06:00
Jeff Law
af55143f03 m68k.md (adddi_dilshr32): One of the operands must be a register.
(
        * m68k.md (adddi_dilshr32): One of the operands must be a register.
        (adddi_dishl32): Similarly.

From-SVN: r21739
1998-08-14 14:10:11 -06:00
Jeff Law
0af444cc91 m68k.md (adddi_dilshr32): One of the operands must be a register.
* m68k.md (adddi_dilshr32): One of the operands must be a register.
        (adddi_dishl32): Similarly.

From-SVN: r21738
1998-08-14 14:10:08 -06:00
Nick Clifton
b2fdd68ce1 Rename BBISON to BISON
From-SVN: r21735
1998-08-14 16:43:57 +00:00
Jason Merrill
63be02dbae i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
* i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
	* alias.c (memrefs_conflict_p): Add braces to shut up warnings.
	* cse.c (cse_basic_block): Add parens to shut up warnings.

From-SVN: r21734
1998-08-14 12:28:30 -04:00
David S. Miller
f710f868cb sparc.c (sparc_emit_set_const64_quick2, [...]): Fix more bugs in 64-bit constant formation.
* config/sparc/sparc.c (sparc_emit_set_const64_quick2,
	sparc_emit_set_const64_longway, const64_is_2insns,
	create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
	in 64-bit constant formation.
	* config/sparc/sparc.md (snesi_zero_extend split): Generate
	rtl for addx not subx.
	(define_insn movdi_const64_special): Make available even when
	HOST_BITS_PER_WIDE_INT is not 64.
	(movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
	(losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
	(cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
	instances of operand 1 inside a QI subreg.
	(xordi3_sp64_dbl): Remove '%' constraint for op1.
	(one_cmpldi2_sp64): Fix output string.
	(one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
	alternative case.
	(unnamed arch64 ashift DI): Truncate shift count if greater than
	63, not 31.

From-SVN: r21733
1998-08-14 07:11:34 -07:00
J"orn Rennecke
6036acbbf2 expr.c (store_expr): Don't optimize away load-store pair when either source or destination have a...
* expr.c (store_expr): Don't optimize away load-store pair
	when either source or destination have a side effect.

From-SVN: r21732
1998-08-14 14:58:02 +01:00
John Carr
141dba98fd genrecog.c (add_to_sequence): Fatal error if the modes of the operands of SET are incompatible.
* genrecog.c (add_to_sequence): Fatal error if the modes of the operands
	of SET are incompatible.
	* alpha.md: Fix max and min patterns so modes of SET operands match.

From-SVN: r21731
1998-08-14 13:52:58 +00:00
David S. Miller
64c7a80a98 Forgot to push this in with last change.
Good eyes Brendan...

From-SVN: r21730
1998-08-14 04:50:46 -07:00
Alexandre Oliva
49e921be33 test_installed: new script for testing already-installed
* test_installed: new script for testing already-installed
 	gcc/g++/g77

From-SVN: r21728
1998-08-14 10:09:42 +00:00
Ian Lance Taylor
75bffa7153 configure.in: Avoid [[ by using test and changequote.
* configure.in: Avoid [[ by using test and changequote.
	* configure: Rebuild.

From-SVN: r21726
1998-08-14 09:23:47 +00:00
David S. Miller
638e8b1f02 rtl.def (CONSTANT_P_RTX): Fix typo in string name.
* rtl.def (CONSTANT_P_RTX): Fix typo in string name.
	* config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
	seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
	split, snedi_zero_trunc and split, seqsi_zero_extend and split,
	seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
	movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
	split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
	Fix mismatching modes in SET operands.
	(conditional move patterns): Fix formatting.
	(unnamed subx arch64 pattern): Remove duplicate insn.

From-SVN: r21725
1998-08-13 21:30:33 -07:00
David S. Miller
9208e4b25c sparc.c (const64_operand, [...]): Get it right when HOST_BITS_PER_WIDE_INT is not 64.
* config/sparc/sparc.c (const64_operand, const64_high_operand):
	Get it right when HOST_BITS_PER_WIDE_INT is not 64.
	(input_operand): Fixup test for what we accept for constant
	integers.
	(sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
	set VOIDmode.
	(safe_constDI): Remove.
	(sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
	gen_safe_XOR64): New functions.
	(sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
	sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
	them.
	* config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
	available when HOST_BITS_PER_WIDE_INT is not 64.
	(define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
	move before movdi_insn_sp64 pattern.
	(define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
	(define_insn sethi_di_medlow, seth44, setm44, sethh): Use
	symbolic_operand as predicate for second operand.
	(DImode minus split on arch32, negsi2 expander, one_cmplsi2
	expander): Give set VOIDmode.

From-SVN: r21724
1998-08-13 18:49:23 -07:00
Mumit Khan
a2cd38a9f8 *** empty log message ***
From-SVN: r21723
1998-08-13 18:46:47 -06:00
Mumit Khan
073d81b606 cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
�
        * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.

From-SVN: r21722
1998-08-13 18:46:45 -06:00
Jeff Law
af77adcb0a Daily bump.
From-SVN: r21719
1998-08-13 18:45:02 -06:00
Geoff Keating
48c997f6d9 linux.h (LINK_SPEC): Pass -G args to the linker.
�
        * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21717
1998-08-13 18:42:09 -06:00
Geoff Keating
643a098f50 linux.h (LINK_SPEC): Pass -G args to the linker.
* rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.

From-SVN: r21716
1998-08-13 18:42:07 -06:00
Richard Earnshaw
4ec1eeda1f netbsd.h (TARGET_DEFAULT): Default includes software floating point.
X
        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21715
1998-08-13 18:29:32 -06:00
Richard Earnshaw
df07aa90bc netbsd.h (TARGET_DEFAULT): Default includes software floating point.
�
        * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
        point.
        (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.

From-SVN: r21714
1998-08-13 18:29:30 -06:00