David S. Miller [Wed, 19 Aug 1998 08:14:26 +0000 (08:14 +0000)]
sparc.c (finalize_pic): Check for the correct nonlocal_goto_receiver UNSPEC number.
* config/sparc/sparc.c (finalize_pic): Check for the correct
nonlocal_goto_receiver UNSPEC number.
* config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
making note of this dependency existing in sparc.c
From-SVN: r21842
Jeff Law [Wed, 19 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21838
Jeffrey A Law [Tue, 18 Aug 1998 21:58:15 +0000 (21:58 +0000)]
haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last pending memory flush list.
* haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
pending memory flush list.
From-SVN: r21836
Jeffrey A Law [Tue, 18 Aug 1998 20:42:49 +0000 (20:42 +0000)]
Make-lang.in: Add several "else true" clauses to deal with lame systems.
* Make-lang.in: Add several "else true" clauses to deal with lame
systems.
From-SVN: r21834
Jeffrey A Law [Tue, 18 Aug 1998 18:29:40 +0000 (18:29 +0000)]
combine.c (can_combine_p): Allow combining insns with REG_RETVAL notes.
* combine.c (can_combine_p): Allow combining insns with REG_RETVAL
notes.
(try_combine): Allow combining insns with REG_LIBCALL notes.
From-SVN: r21833
Jeffrey A Law [Tue, 18 Aug 1998 18:22:32 +0000 (18:22 +0000)]
* gcc.c-torture/execute/*.x: Some updates for the h8300 targets.
From-SVN: r21832
Jeffrey A Law [Tue, 18 Aug 1998 17:49:28 +0000 (17:49 +0000)]
expr.c (emit_block_move): Do not call memcpy as a libcall instead build up a CALL_EXPR and call it like...
* expr.c (emit_block_move): Do not call memcpy as a libcall
instead build up a CALL_EXPR and call it like any other
function.
(clear_storage): Similarly for memset.
From-SVN: r21831
Jeffrey A Law [Tue, 18 Aug 1998 17:14:34 +0000 (17:14 +0000)]
regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p on notes.
* regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
on notes.
From-SVN: r21830
Brendan Kehoe [Tue, 18 Aug 1998 15:32:36 +0000 (11:32 -0400)]
another expr/decl ambiguity test
From-SVN: r21828
Brendan Kehoe [Tue, 18 Aug 1998 15:24:24 +0000 (11:24 -0400)]
add another expr/decl ambiguity test
From-SVN: r21827
Brendan Kehoe [Tue, 18 Aug 1998 15:19:21 +0000 (11:19 -0400)]
another expr/decl ambiguity test
From-SVN: r21826
Brendan Kehoe [Tue, 18 Aug 1998 15:11:05 +0000 (11:11 -0400)]
add expr/decl ambiguity test
From-SVN: r21825
Richard Henderson [Tue, 18 Aug 1998 12:40:52 +0000 (05:40 -0700)]
c-common.c (decl_attributes): Issue an error if the argument to alias is not a string.
* c-common.c (decl_attributes): Issue an error if the argument
to alias is not a string.
From-SVN: r21824
Jeffrey A Law [Tue, 18 Aug 1998 10:26:35 +0000 (10:26 +0000)]
Makefile.in (cplus-dem.o): Provide explicit rules for building cplus-dem.o
* Makefile.in (cplus-dem.o): Provide explicit rules for building
cplus-dem.o
From-SVN: r21823
Jeff Law [Tue, 18 Aug 1998 10:06:24 +0000 (04:06 -0600)]
xiberty stuff isn't needed anymore.
From-SVN: r21822
Jeffrey A Law [Tue, 18 Aug 1998 09:34:59 +0000 (09:34 +0000)]
regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED and REG_LIVE_LENGTH as successful substitutions are made.
* regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
and REG_LIVE_LENGTH as successful substitutions are made.
From-SVN: r21819
David S. Miller [Tue, 18 Aug 1998 08:24:51 +0000 (01:24 -0700)]
From Kaveh R. Ghazi.
* config/sparc/sparc.c (ultra_find_type): Add empty semicolon
statement after end of loop label.
From me...
* config/sparc/sparc.c (ultra_types_avail): New variable.
(ultra_build_types_avail): New function to record mask of insn
types in ready list at this cycle.
(ultrasparc_sched_reorder): Call it.
(ultra_find_type): Use it to quicken the search. Also simplif
dependency check, don't use rtx_equal_p because we know exactly
what we are looking for.
From-SVN: r21817
Richard Earnshaw [Tue, 18 Aug 1998 03:24:05 +0000 (03:24 +0000)]
arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling for architecture v4.
* arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
for architecture v4.
From-SVN: r21816
Jeff Law [Tue, 18 Aug 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21814
David S. Miller [Mon, 17 Aug 1998 22:34:06 +0000 (22:34 +0000)]
sparc.md (sltu, sgeu): Don't FAIL, call gen_compare_reg.
* config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
gen_compare_reg.
(movsf_const_intreg, movsf_const_high, movsf_const_lo,
movdf_const_intreg and helper splits): New patterns to move float
constants into integer registers.
(negtf2, negdf2, abstf2, absdf2): Rework using new patterns and
splits.
From-SVN: r21813
Mark Mitchell [Mon, 17 Aug 1998 22:33:58 +0000 (22:33 +0000)]
cp-tree.h (enter_scope_of): New function.
* cp-tree.h (enter_scope_of): New function.
* parse.y (complex_direct_notype_declarator): Use it.
* semantics.c (enter_scope_of): New function.
From-SVN: r21812
Jeffrey A Law [Mon, 17 Aug 1998 20:26:47 +0000 (20:26 +0000)]
* From Graham
* tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
to itype.
* c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
From-SVN: r21810
Jeff Law [Mon, 17 Aug 1998 20:11:06 +0000 (14:11 -0600)]
rs6000.c (secondary_reload_class): For TARGET_ELF...
�
* rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
a BASE_REGS register is needed as an intermediate when copying
a symbolic value into any register class other than BASE_REGS.
From-SVN: r21808
Jeff Law [Mon, 17 Aug 1998 20:11:04 +0000 (14:11 -0600)]
rs6000.c (secondary_reload_class): For TARGET_ELF...
* rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
a BASE_REGS register is needed as an intermediate when copying
a symbolic value into any register class other than BASE_REGS.
From-SVN: r21807
Jason Merrill [Mon, 17 Aug 1998 19:29:45 +0000 (19:29 +0000)]
* decl.c (grokparms): No, here.
From-SVN: r21801
Jason Merrill [Mon, 17 Aug 1998 18:46:43 +0000 (18:46 +0000)]
decl.c (grokdeclarator): Catch parm with pointer to array of unknown bound here...
* decl.c (grokdeclarator): Catch parm with pointer to array of
unknown bound here...
* method.c (process_overload_item): ...not here.
From-SVN: r21800
Jason Merrill [Mon, 17 Aug 1998 18:46:03 +0000 (14:46 -0400)]
tweak
From-SVN: r21799
Jason Merrill [Mon, 17 Aug 1998 18:39:16 +0000 (18:39 +0000)]
cplus-dem.c (do_type): Fix simple array handling.
* cplus-dem.c (do_type): Fix simple array handling. If we fail,
stay failed.
From-SVN: r21798
Jason Merrill [Mon, 17 Aug 1998 17:25:32 +0000 (13:25 -0400)]
tweak
From-SVN: r21797
Jason Merrill [Mon, 17 Aug 1998 17:23:38 +0000 (17:23 +0000)]
* class.c (finish_struct_bits): Also set TYPE_SIZE_UNIT.
From-SVN: r21796
Jason Merrill [Mon, 17 Aug 1998 17:13:42 +0000 (17:13 +0000)]
gxxint.texi: Remove obsolete documentation of overloading code.
* gxxint.texi: Remove obsolete documentation of overloading code.
* decl.c (finish_enum): Also set TYPE_SIZE_UNIT.
* tree.c (lvalue_type): Fix for arrays.
* typeck.c (build_unary_op): Use lvalue_type.
* call.c (add_function_candidate): Likewise.
* cvt.c (convert_to_reference): Likewise.
* decl2.c (lang_decode_option): Ignore -traditional.
From-SVN: r21795
Jeffrey A Law [Mon, 17 Aug 1998 16:37:49 +0000 (16:37 +0000)]
expr.c (move_by_pieces): No longer static.
* expr.c (move_by_pieces): No longer static. Remove prototype.
* rtl.h (move_by_pieces): Add extern prototype.
* mips.c (expand_block_move): Handle aligned straight line copy by
calling move_by_pieces.
From-SVN: r21794
Jason Merrill [Mon, 17 Aug 1998 16:34:19 +0000 (12:34 -0400)]
fix
From-SVN: r21793
Jason Merrill [Mon, 17 Aug 1998 16:29:17 +0000 (16:29 +0000)]
init.c (build_offset_ref): Don't mess with error_mark_node.
* init.c (build_offset_ref): Don't mess with error_mark_node.
* lex.c (do_scoped_id): Use cp_error.
* rtti.c (get_tinfo_fn): Don't mess with the context for now.
From-SVN: r21792
Benjamin Kosnik [Mon, 17 Aug 1998 15:44:47 +0000 (15:44 +0000)]
decl.c (grokdeclarator): Allow anonymous types to be cv-qualified.
1998-08-17 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Allow anonymous types to be cv-qualified.
fixes g++/16824
From-SVN: r21791
Ulrich Drepper [Mon, 17 Aug 1998 12:32:54 +0000 (12:32 +0000)]
Update.
From-SVN: r21790
Ulrich Drepper [Mon, 17 Aug 1998 12:32:45 +0000 (12:32 +0000)]
Define __PMT if not already defined.
From-SVN: r21789
Mark Mitchell [Mon, 17 Aug 1998 12:25:32 +0000 (12:25 +0000)]
* stdexcept: Put things in the std namespace, if appropriate.
From-SVN: r21788
Kaveh R. Ghazi [Mon, 17 Aug 1998 11:42:54 +0000 (11:42 +0000)]
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
Jeffrey A Law [Mon, 17 Aug 1998 11:42:22 +0000 (11:42 +0000)]
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
Kaveh R. Ghazi [Mon, 17 Aug 1998 11:39:32 +0000 (11:39 +0000)]
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
Jeff Law [Mon, 17 Aug 1998 10:50:00 +0000 (04:50 -0600)]
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
Jeff Law [Mon, 17 Aug 1998 10:49:58 +0000 (04:49 -0600)]
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
Mark Mitchell [Mon, 17 Aug 1998 09:30:15 +0000 (09:30 +0000)]
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
Kaveh R. Ghazi [Mon, 17 Aug 1998 09:08:32 +0000 (09:08 +0000)]
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
Andreas Schwab [Mon, 17 Aug 1998 08:35:24 +0000 (08:35 +0000)]
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
Andreas Schwab [Mon, 17 Aug 1998 08:25:31 +0000 (08:25 +0000)]
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
Jeffrey A Law [Mon, 17 Aug 1998 08:18:17 +0000 (08:18 +0000)]
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
Richard Henderson [Mon, 17 Aug 1998 02:04:53 +0000 (19:04 -0700)]
* regclass.c (allocate_reg_info): Respect MIN when clearing data.
From-SVN: r21770
Jeff Law [Mon, 17 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21768
David S. Miller [Sun, 16 Aug 1998 18:50:32 +0000 (18:50 +0000)]
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
David Edelsohn [Sun, 16 Aug 1998 11:07:25 +0000 (11:07 +0000)]
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
Richard Henderson [Sun, 16 Aug 1998 00:55:58 +0000 (18:55 -0600)]
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
Richard Henderson [Sun, 16 Aug 1998 00:55:56 +0000 (18:55 -0600)]
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
Jeffrey A Law [Sun, 16 Aug 1998 00:50:25 +0000 (00:50 +0000)]
* gcc.c-torture/compile/980616-1.c: New test.
From-SVN: r21760
Jeff Law [Sun, 16 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21758
Jeffrey A Law [Sun, 16 Aug 1998 00:30:06 +0000 (00:30 +0000)]
* gcc.dg/980816-1.c: New test.
From-SVN: r21757
Franz Sirl [Sat, 15 Aug 1998 23:23:19 +0000 (17:23 -0600)]
linux.h (CPP_OS_DEFAULT_SPEC): Define.
�
* rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
From-SVN: r21754
Franz Sirl [Sat, 15 Aug 1998 23:23:16 +0000 (17:23 -0600)]
linux.h (CPP_OS_DEFAULT_SPEC): Define.
�
* rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
From-SVN: r21753
Richard Henderson [Sat, 15 Aug 1998 20:54:22 +0000 (13:54 -0700)]
* alpha.md (movsicc): Fix mode mismatch.
From-SVN: r21752
H.J. Lu [Sat, 15 Aug 1998 20:47:16 +0000 (20:47 +0000)]
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
David S. Miller [Sat, 15 Aug 1998 09:47:56 +0000 (09:47 +0000)]
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
David S. Miller [Sat, 15 Aug 1998 07:36:04 +0000 (07:36 +0000)]
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
Jeff Law [Sat, 15 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21746
Jeffrey A Law [Sat, 15 Aug 1998 00:33:57 +0000 (00:33 +0000)]
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
Jeffrey A Law [Fri, 14 Aug 1998 22:27:50 +0000 (22:27 +0000)]
* pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
From-SVN: r21742
Jeff Law [Fri, 14 Aug 1998 20:10:11 +0000 (14:10 -0600)]
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
Jeff Law [Fri, 14 Aug 1998 20:10:08 +0000 (14:10 -0600)]
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
Nick Clifton [Fri, 14 Aug 1998 16:43:57 +0000 (16:43 +0000)]
Rename BBISON to BISON
From-SVN: r21735
Jason Merrill [Fri, 14 Aug 1998 16:28:30 +0000 (12:28 -0400)]
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
David S. Miller [Fri, 14 Aug 1998 14:11:34 +0000 (14:11 +0000)]
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
J"orn Rennecke [Fri, 14 Aug 1998 13:58:02 +0000 (13:58 +0000)]
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
John Carr [Fri, 14 Aug 1998 13:52:58 +0000 (13:52 +0000)]
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
David S. Miller [Fri, 14 Aug 1998 11:50:46 +0000 (04:50 -0700)]
Forgot to push this in with last change.
Good eyes Brendan...
From-SVN: r21730
Alexandre Oliva [Fri, 14 Aug 1998 10:09:42 +0000 (10:09 +0000)]
test_installed: new script for testing already-installed
* test_installed: new script for testing already-installed
gcc/g++/g77
From-SVN: r21728
Ian Lance Taylor [Fri, 14 Aug 1998 09:23:47 +0000 (09:23 +0000)]
configure.in: Avoid [[ by using test and changequote.
* configure.in: Avoid [[ by using test and changequote.
* configure: Rebuild.
From-SVN: r21726
David S. Miller [Fri, 14 Aug 1998 04:30:33 +0000 (04:30 +0000)]
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
David S. Miller [Fri, 14 Aug 1998 01:49:23 +0000 (01:49 +0000)]
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
Mumit Khan [Fri, 14 Aug 1998 00:46:47 +0000 (18:46 -0600)]
*** empty log message ***
From-SVN: r21723
Mumit Khan [Fri, 14 Aug 1998 00:46:45 +0000 (18:46 -0600)]
cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
�
* i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
From-SVN: r21722
Jeff Law [Fri, 14 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21719
Geoff Keating [Fri, 14 Aug 1998 00:42:09 +0000 (18:42 -0600)]
linux.h (LINK_SPEC): Pass -G args to the linker.
�
* rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.
From-SVN: r21717
Geoff Keating [Fri, 14 Aug 1998 00:42:07 +0000 (18:42 -0600)]
linux.h (LINK_SPEC): Pass -G args to the linker.
* rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.
From-SVN: r21716
Richard Earnshaw [Fri, 14 Aug 1998 00:29:32 +0000 (18:29 -0600)]
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
Richard Earnshaw [Fri, 14 Aug 1998 00:29:30 +0000 (18:29 -0600)]
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
Robert Lipe [Fri, 14 Aug 1998 00:21:34 +0000 (18:21 -0600)]
install.texi: Various SCO OpenServer tweaks.
�
* install.texi: Various SCO OpenServer tweaks.
[[Split portion of a mixed commit.]]
From-SVN: r21710.2
Robert Lipe [Fri, 14 Aug 1998 00:20:50 +0000 (18:20 -0600)]
install.texi: Various SCO OpenServer tweaks.
* install.texi: Various SCO OpenServer tweaks.
From-SVN: r21709
H.J. Lu [Fri, 14 Aug 1998 00:18:56 +0000 (00:18 +0000)]
* Make-lang.in (g77.o): Touch lang-f77 before checking it.
From-SVN: r21708
Jim Wilson [Fri, 14 Aug 1998 00:14:09 +0000 (00:14 +0000)]
reload1.c (eliminate_regs_in_insn): Handle another case when eliminating the frame pointer to the hard frame pointer.
* reload1.c (eliminate_regs_in_insn): Handle another case when
eliminating the frame pointer to the hard frame pointer. Add
missing ep->to_rtx check to one existing case.
From-SVN: r21705
Jim Wilson [Thu, 13 Aug 1998 20:16:20 +0000 (20:16 +0000)]
Fix SET operand mode mismatch detected by John Carr's patch.
* mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.
From-SVN: r21704
Jason Merrill [Thu, 13 Aug 1998 17:29:30 +0000 (17:29 +0000)]
tree.h: De-conditionalize init_priority code.
* tree.h: De-conditionalize init_priority code.
* mips.h (NM_FLAGS): Change from -Bp to -Bn.
* collect2.c (NM_FLAGS): Change from -p to -n.
* configure.in: Turn on collect2 for mipstx39-elf.
Handle use_collect2=no properly.
* c-common.c: De-conditionalize init_priority code.
* collect2.c (extract_init_priority, sort_ids): New fns.
(main): Call sort_ids.
Move sequence_number to file scope.
* configure.in: Handle --enable-init-priority.
* c-common.c (attrs): Add A_INIT_PRIORITY.
(init_attributes, decl_attributes): Likewise.
* tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
* tree.c (get_file_function_name_long): Split out...
(get_file_function_name): ...from here.
cp/:
* lang-options.h: Add -finit-priority.
* decl2.c: Likewise. Check flag_init_priority instead of
USE_INIT_PRIORITY.
* decl2.c (setup_initp): New fn.
(start_objects, finish_objects, do_ctors): Handle init_priority.
(do_dtors, finish_file): Likewise.
From-SVN: r21701
Jason Merrill [Thu, 13 Aug 1998 17:02:00 +0000 (17:02 +0000)]
pt.c (tsubst_copy): Hush warning.
* pt.c (tsubst_copy): Hush warning.
* rtti.c (get_tinfo_fn): Also set DECL_IGNORED_P.
From-SVN: r21700
Jason Merrill [Thu, 13 Aug 1998 17:01:36 +0000 (17:01 +0000)]
* tree.c (simple_cst_equal): Add braces to shut up warnings.
From-SVN: r21699
Jason Merrill [Thu, 13 Aug 1998 16:12:55 +0000 (12:12 -0400)]
expr.c (safe_from_p): Change code to ERROR_MARK only when not accessing nodes.
* expr.c (safe_from_p): Change code to ERROR_MARK only when not
accessing nodes.
* toplev.c (display_help): Add braces to shut up warnings.
* fold-const.c (non_lvalue): Don't deal with null pointer
constants here.
(fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
From-SVN: r21698
Jason Merrill [Thu, 13 Aug 1998 15:26:46 +0000 (15:26 +0000)]
c-typeck.c (initializer_constant_valid_p): Allow conversion of 0 of any size to a pointer.
* c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
of any size to a pointer.
From-SVN: r21697
Jim Wilson [Thu, 13 Aug 1998 13:09:40 +0000 (13:09 +0000)]
Fix cygwin32 build problem with experimental version of winsup.
* i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.
From-SVN: r21696
Jeff Law [Thu, 13 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21692
Jeff Law [Wed, 12 Aug 1998 23:14:54 +0000 (17:14 -0600)]
ieee.exp: Pass -ffloat-store to compiler for ieee tests.
8
* execute/ieee/ieee.exp: Pass -ffloat-store to compiler for
ieee tests.
From-SVN: r21691
Jeff Law [Wed, 12 Aug 1998 23:14:53 +0000 (17:14 -0600)]
ieee.exp: Pass -ffloat-store to compiler for ieee tests.
�
* execute/ieee/ieee.exp: Pass -ffloat-store to compiler for
ieee tests.
From-SVN: r21690
Jeffrey A Law [Wed, 12 Aug 1998 16:41:11 +0000 (16:41 +0000)]
mn10300.c (REG_SAVE_BYTES): Only reserve space for registers which will be saved.
* mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
which will be saved.
* mn10300.md (prologue insn): Only save registers which need saving.
(epilogue insn): Similarly.
From-SVN: r21687