J"orn Rennecke [Thu, 14 May 1998 00:44:02 +0000 (00:44 +0000)]
reload.c (remove_replacements): New function.
* reload.c (remove_replacements): New function.
* reload.h (remove_replacements): Declare.
* reload1.c (choose_reload_regs): Disable some reloads that
belong to inherited reloads.
From-SVN: r19735
Jeff Law [Thu, 14 May 1998 00:20:07 +0000 (18:20 -0600)]
New testcase.
From-SVN: r19734
Michael Meissner [Wed, 13 May 1998 22:10:04 +0000 (22:10 +0000)]
rtlanal.c (find_reg_note): Ignore notes that are not on on insns of class 'i'.
* rtlanal.c (find_reg_note): Ignore notes that are not on on
insns of class 'i'.
(find_regno_note): Likewise.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19733
Michael Meissner [Wed, 13 May 1998 21:33:25 +0000 (21:33 +0000)]
Makefile.in (stor-layout.o): Depend on except.h
* Makefile.in (stor-layout.o): Depend on except.h
(varasm.o, function.o): Likewise.
(expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19728
Michael Meissner [Wed, 13 May 1998 21:13:47 +0000 (21:13 +0000)]
Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
* Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
(rtl.o, emit-rtl.o): Add dependency on bitmap.h.
($(HOST_PREFIX_1)rtl.o): Likewise.
($(HOST_PREFIX_1)bitmap.o): New host object.
* emit-rtl.c (toplevel): Include bitmap.h.
(gen_rtx): Handle 't' and 'b' nodes.
* print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
Print block number for block begin/end notes. Print 't' type
nodes as a pointer. Know that the 3rd argument of live range
start/stop notes is really a range_info rtx. If type is 'b', print
out argument as a bitmap.
* rtl.c: Include bitmap.c.
(copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
(note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
* rtl.def (RANGE_LIVE): New node to hold live information while we
recalculate the basic blocks.
(RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
(RANGE_VAR): New node, to hold information saved in symbol node for New
communicating live range information to the debug output functions.
* rtl.h (rtunion_def): Add rttree and rtbit fields.
(XBITMAP, XTREE): New accessor macros.
(NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
(NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
(NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
(NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
(RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
(RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
(RANGE_INFO_*): Likewise.
* sched.c (sched_analyze): Keep live range start/stop notes.
(unlink_other_notes): Likewise.
* haifa-sched.c (sched_analyze): Keep live range start/stop notes.
(unlink_other_notes): Likewise.
* tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
(BLOCK_LIVE_RANGE_FLAG): Likewise.
(DECL_LIVE_RANGE_RTL): Likewise.
(struct tree_block): Add live_range_flag, live_range_var_flag,
live_range_start and live_range_end.
(struct tree_decl): Add live_range_rtl field.
* gengenrtl.c (type_from_format): Handle 'b' and 't'.
(accessor_from_format): Likewise.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19727
J"orn Rennecke [Wed, 13 May 1998 18:19:03 +0000 (18:19 +0000)]
reload1.c (merge_assigned_reloads): When merging, reset reload_spill_index for the eliminated reload.
* reload1.c (merge_assigned_reloads): When merging, reset
reload_spill_index for the eliminated reload.
From-SVN: r19726
Jeffrey A Law [Wed, 13 May 1998 16:52:15 +0000 (16:52 +0000)]
* haifa-sched.c (schedule_insns): Fix merge goof.
From-SVN: r19725
Michael Meissner [Wed, 13 May 1998 15:32:22 +0000 (15:32 +0000)]
Add a blank line in verbose debug output
From-SVN: r19724
Jim Wilson [Wed, 13 May 1998 14:04:15 +0000 (14:04 +0000)]
Patch to fix g++.other/local1.C.
* varasm.c (make_decl_rtl): Revert April 1 change.
* alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
Get function name from the SYMBOL_REF in the DECL_RTL, not from
DECL_ASSEMBLER_NAME.
* i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
DECL_ASSEMBLER_NAME.
From-SVN: r19723
Jim Wilson [Wed, 13 May 1998 13:10:34 +0000 (13:10 +0000)]
Disable remaining cmov support just to be safe.
* i386.c (notice_update_cc, output_float_compare): Disable
TARGET_CMOVE support.
From-SVN: r19722
Michael Meissner [Wed, 13 May 1998 12:55:38 +0000 (12:55 +0000)]
align debug output
From-SVN: r19721
Kaveh Ghazi [Wed, 13 May 1998 12:46:34 +0000 (12:46 +0000)]
Grrr! ChangeLog omitted for last warning fix update.
From-SVN: r19720
Kaveh R. Ghazi [Wed, 13 May 1998 12:40:39 +0000 (12:40 +0000)]
Warning fixes:
* Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
(c-lex.o): Depend on output.h.
(c-common.o): Likewise.
(stmt.o): Likewise.
(calls.o): Likewise.
(integrate.o): Depend on toplev.h.
(regclass.o): Depend on output.h.
(final.o): Depend on reload.h.
* c-common.c: Include output.h.
(check_format_info): Remove unused variable `integral_format'.
* c-decl.c (print_lang_decl): Mark parameters `file', `node' and
`indent' with ATTRIBUTE_UNUSED.
(print_lang_type): Likewise.
(maybe_build_cleanup): Likewise for parameter `decl'.
(copy_lang_decl): Likewise for parameter `node'.
* c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
(lang_print_xnode): Mark parameters `file', `node' and `indent'
with ATTRIBUTE_UNUSED.
(lookup_interface): Likewise for parameter `arg'.
(is_class_name): Likewise.
(maybe_objc_check_decl): Likewise for parameter `decl'.
(maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
`reflexive'.
(maybe_objc_method_name): Likewise for parameter `decl'.
(build_objc_string): Likewise for parameters `len' and `str'.
* c-lex.c: Include output.h.
* c-lex.h (position_after_white_space): Correct typo in prototype.
* c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
c_expand_end_cond, init_iterators): Add prototypes.
* caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
with ATTRIBUTE_UNUSED.
* calls.c: Include output.h.
* cccp.c (pipe_closed): Mark parameter `signo' with
ATTRIBUTE_UNUSED.
* combine.c: Move inclusion of expr.h to after insn-config.h.
* iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
as empty, rather define as ((void)0).
* sparc.c (sparc_check_64): Add braces around ambiguous `else'.
Add parentheses around assignment used as truth value.
* cplus-dem.c (squangle_mop_up): Change return type to void.
(internal_cplus_demangle): Remove unused parameter `options'.
All callers changed.
(cplus_demangle_opname): Remove function wide variable `int i' and
replace with `size_t i' at each location where it is used.
(cplus_demangle_opname): change type of `i' from int to size_t.
* cppexp.c (right_shift): Mark parameter `pfile' with
ATTRIBUTE_UNUSED.
* cpphash.c (cpp_lookup): Likewise.
(cpp_hash_cleanup): Likewise.
* cpplib.c (parse_name): Add a prototype and make it static.
(null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
(null_cleanup): Likewise for parameters `pbuf' and `pfile'.
(macro_cleanup): Likewise for parameter `pfile'.
(file_cleanup): Likewise.
* cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
* crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
__DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
* cse.c (cse_check_loop_start): Mark parameter `set' with
ATTRIBUTE_UNUSED.
* dbxout.c (flag_minimal_debug, have_used_extensions,
source_label_number): Move inside macro wrapper check against
defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
* dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
* except.h (doing_eh): Provide prototype.
* expr.c: Move inclusion of expr.h to after insn-config.h.
* final.c: Include reload.h.
(shorten_branches): Cast the first argument of bzero to char *.
* fix-header.c (cpp_print_containing_files): Mark parameter
`pfile' with ATTRIBUTE_UNUSED.
(cpp_fatal): Likewise.
* flow.c (find_basic_blocks_1): Cast the first argument of bzero
to char *.
* genattrtab.c (make_length_attrs): Change the type of variable
`i' from int to size_t.
(zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
(one_fn): Likewise.
* genextract.c (main): When generating insn-extract.c, mark
variable `junk' with ATTRIBUTE_UNUSED.
* gengenrtl.c (gencode): When generating genrtl.c, cast the first
argument of bzero to char*.
* integrate.c: Include toplev.h.
* libgcc2.c: Wrap `struct exception_table' and
`find_exception_handler' in macro DWARF2_UNWIND_INFO.
* objc/Make-lang.in (objc-act.o): Depend on toplev.h.
* objc/objc-act.c: Include toplev.h.
(lang_print_xnode): Mark parameters `file', `node' and `indent'
with ATTRIBUTE_UNUSED.
(finish_protocol): Likewise for parameter `protocol'.
* output.h (declare_weak): Add prototype.
(decode_reg_name): Don't wrap with TREE_CODE macro.
(assemble_alias): Add prototype.
* regclass.c: Include output.h.
* reload.h (reloads_conflict): Add prototype.
* rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
output_func_start_profiler): Add prototypes.
* rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
ATTRIBUTE_UNUSED.
* scan-decls.c: Include scan.h.
* scan.h (recognized_function, recognized_extern): Add prototypes.
* stmt.c: Include output.h.
* toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
(output_lang_identify): Hide prototype and definition.
(float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
(pipe_closed): Likewise.
* toplev.h (count_error, strip_off_ending, error_for_asm,
warning_for_asm): Add prototypes.
From-SVN: r19712
Michael Meissner [Wed, 13 May 1998 12:26:49 +0000 (12:26 +0000)]
toplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup operations after finishing...
* toplev.c (rest_of_compilation): "Charge" final for any time
doing various cleanup operations after finishing compilation
of a function.
From-SVN: r19711
Michael Meissner [Wed, 13 May 1998 12:18:27 +0000 (12:18 +0000)]
flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable.
* flow.c (dump_flow_info): Also print number of sets and
whether or not the pseudo is a user variable.
From-SVN: r19710
Jeff Law [Wed, 13 May 1998 12:14:49 +0000 (06:14 -0600)]
Reorganize last entry a little.
From-SVN: r19709
Michael Meissner [Wed, 13 May 1998 11:57:25 +0000 (11:57 +0000)]
acconfig.h (ENABLE_CHECKING): Undefine.
* acconfig.h (ENABLE_CHECKING): Undefine.
* configure.in (--enable-checking): New option.
* flow.c (reg_n_max): New global variable.
* regclass.c (allocate_reg_info): Keep reg_n_max up to date.
Delete regno_max variable.
* regs.h (REG_N_CHECK): Define.
(REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
(REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
(REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
From-SVN: r19708
Kaveh R. Ghazi [Wed, 13 May 1998 10:00:46 +0000 (10:00 +0000)]
Warning patches:
* Makefile.in (lex.o): Depend on output.h.
* call.c (add_function_candidate): Remove unused variable `cand'.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
* cp-tree.h: Add prototype for `types_overlap_p'.
* decl.c (signal_catch): Mark parameter `sig' with ATTRIBUTE_UNUSED.
* decl2.c (merge_functions): Remove unused variables `tmp' and
`tempn'.
* error.c (expr_as_string): Mark parameter `v' with ATTRIBUTE_UNUSED.
(code_as_string): Likewise.
(language_as_string): Likewise.
(parm_as_string): Likewise.
(op_as_string): Likewise.
(assop_as_string): Likewise.
(cv_as_string): Likewise.
* lex.c: Include output.h.
* pt.c (type_unification): Cast first argument of `bzero' to a char*.
* search.c (dfs_no_overlap_yet): Mark parameter `t' with
ATTRIBUTE_UNUSED.
* tinfo.cc (__class_type_info::dcast): Change the type of variable
`i' from int to size_t.
* typeck.c (language_lvalue_valid): Mark parameter `exp' with
ATTRIBUTE_UNUSED.
From-SVN: r19707
J"orn Rennecke [Wed, 13 May 1998 00:53:59 +0000 (00:53 +0000)]
reload1.c (merge_assigned_reloads): Can merge RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even if...
* reload1.c (merge_assigned_reloads): Can merge
RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
From-SVN: r19706
Jason Merrill [Tue, 12 May 1998 21:42:34 +0000 (21:42 +0000)]
error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or DECL_NAMESPACE_SCOPE_P.
* error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or
DECL_NAMESPACE_SCOPE_P.
(lang_decl_name): Likewise.
* pt.c (tsubst_friend_function, tsubst): Likewise.
* decl.c (pushdecl, redeclaration_error_message, start_decl,
cp_finish_decl, start_function): Likewise.
* class.c (finish_struct_1): Likewise.
* call.c (build_over_call): Likewise.
(compare_ics): Use DERIVED_FROM_P.
From-SVN: r19705
Jim Wilson [Tue, 12 May 1998 20:07:09 +0000 (20:07 +0000)]
Fix aix --with-gnu-ld build failure reported by Brendan.
* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
From-SVN: r19704
J"orn Rennecke [Tue, 12 May 1998 19:28:01 +0000 (19:28 +0000)]
* reload1.c (gen_reload): Create REG_EQUIV notes.
From-SVN: r19703
J"orn Rennecke [Tue, 12 May 1998 14:25:14 +0000 (14:25 +0000)]
reload1.c (reload): Fix check for USEs to use code of pattern.
* reload1.c (reload): Fix check for USEs to use code of pattern.
(choose_reload_regs): Remove dead variable use_insn.
From-SVN: r19702
Jeffrey A Law [Tue, 12 May 1998 13:04:18 +0000 (13:04 +0000)]
* pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
From-SVN: r19701
Michael Meissner [Tue, 12 May 1998 12:20:18 +0000 (12:20 +0000)]
Use HAIFA_INLINE for inlining functions instead of __inline directly
From-SVN: r19700
Klaus Kaempf [Tue, 12 May 1998 10:27:46 +0000 (10:27 +0000)]
* alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
From-SVN: r19699
Gavin Koch [Tue, 12 May 1998 08:46:52 +0000 (08:46 +0000)]
* config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
From-SVN: r19698
Gavin Koch [Tue, 12 May 1998 08:41:11 +0000 (08:41 +0000)]
mips.md (dslot): Move after definition of "cpu" attribute.
* config/mips/mips.md (dslot): Move after definition of "cpu"
attribute. Handle r3900 case.
From-SVN: r19697
Kaveh R. Ghazi [Tue, 12 May 1998 07:36:02 +0000 (07:36 +0000)]
Consolidate support for "String-ification" into system.h:
* system.h: Define the STRINGIFY macro here.
* protoize.c: Not here.
* gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
From-SVN: r19696
Mark Mitchell [Tue, 12 May 1998 07:27:15 +0000 (07:27 +0000)]
cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
* cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
* method.c (build_mangled_name): Use it.
(build_decl_overload_real): Likewise.
From-SVN: r19695
Mark Mitchell [Tue, 12 May 1998 07:23:31 +0000 (07:23 +0000)]
error.c (dump_simple_decl): New function, broken out from ...
* error.c (dump_simple_decl): New function, broken out from ...
(dump_decl): Use it.
From-SVN: r19694
Jeff Law [Mon, 11 May 1998 23:49:19 +0000 (17:49 -0600)]
Set emacs varaibles.
From-SVN: r19693
John Wehle [Mon, 11 May 1998 23:47:28 +0000 (23:47 +0000)]
varasm.c (assemble_variable): Compute the alignment of the data earlier so that both initialized and...
* varasm.c (assemble_variable): Compute the alignment of the data
earlier so that both initialized and uninitialized variables are
effected by DATA_ALIGNMENT.
* tm.texi (DATA_ALIGNMENT): Updated appropriately.
From-SVN: r19692
Jeff Law [Mon, 11 May 1998 23:00:52 +0000 (17:00 -0600)]
#
* mpw-* Delete. Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.
From-SVN: r19691
Jeff Law [Mon, 11 May 1998 23:00:48 +0000 (17:00 -0600)]
T
* mpw-* Delete. Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.
From-SVN: r19690
Jeff Law [Mon, 11 May 1998 23:00:44 +0000 (17:00 -0600)]
�
* mpw-* Delete. Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.
From-SVN: r19689
Jeff Law [Mon, 11 May 1998 23:00:43 +0000 (17:00 -0600)]
l
* mpw-* Delete. Not used.
* ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
for newlib directory.
(CXX_FOR_TARGET): Likewise.
Bring over from devo.
From-SVN: r19688
Jeff Law [Mon, 11 May 1998 22:49:29 +0000 (16:49 -0600)]
[multiple changes]
Thu Feb 12 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
* getopt.h: Update to latest FSF version.
Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com>
* libiberty.h: Add extern "C" { so it can be used with C++
programs.
Thu Aug 28 19:41:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
* libiberty.h (dupargv): Add prototype.
Bring over from devo.
From-SVN: r19687
Ian Lance Taylor [Mon, 11 May 1998 22:36:06 +0000 (22:36 +0000)]
config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.
* config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
and mingw32.
Bring over from devo.
From-SVN: r19686
Jeff Law [Mon, 11 May 1998 22:29:42 +0000 (16:29 -0600)]
[multiple changes]
Sat Apr 11 22:43:17 1998 J. Kean Johnston <jkj@sco.com>
* mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.
Thu Mar 26 01:54:25 1998 Geoffrey Noer <noer@cygnus.com>
* mh-cygwin32: stop configuring and building dosrel.
Bring over from devo.
From-SVN: r19685
Jeff Law [Mon, 11 May 1998 22:04:43 +0000 (16:04 -0600)]
[multiple changes]
Tue Mar 24 10:13:07 1998 Jason Merrill <jason@yorick.cygnus.com>
* std/bastring.cc (basic_string::copy): Mark const here, too.
1998-03-23 15:59 Ulrich Drepper <drepper@cygnus.com>
* std/bastring.h (basic_string::copy): Mark copy function as const.
Reported by Scott Schurr <scotts@ims.com>.
Bring over from devo.
From-SVN: r19684
Jeff Law [Mon, 11 May 1998 19:00:08 +0000 (13:00 -0600)]
mips.c: Prototype static functions.
�
* mips.c: Prototype static functions.
From-SVN: r19681
Jeff Law [Mon, 11 May 1998 19:00:06 +0000 (13:00 -0600)]
mips.c: Prototype static functions.
�
* mips.c: Prototype static functions.
From-SVN: r19680
Jeff Law [Mon, 11 May 1998 18:29:19 +0000 (12:29 -0600)]
Belongs here.
From-SVN: r19679
Jeff Law [Mon, 11 May 1998 18:29:00 +0000 (12:29 -0600)]
In the wrong directory.
From-SVN: r19678
Jim Wilson [Mon, 11 May 1998 18:11:22 +0000 (18:11 +0000)]
Add missing comments pointed out by Andreas Schwab.
* regmove.c (fixup_match_2, find_matches, regmove_profitable):
Add explanatory comments.
From-SVN: r19677
Richard Henderson [Mon, 11 May 1998 17:47:46 +0000 (10:47 -0700)]
Put the movzr insn back into the comment.
From-SVN: r19676
Jim Wilson [Mon, 11 May 1998 17:44:31 +0000 (17:44 +0000)]
Fix -mflat bug reported by Yamamoto Hirotaka.
* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
From-SVN: r19675
Richard Henderson [Mon, 11 May 1998 17:26:37 +0000 (10:26 -0700)]
* sparc.md (ffsdi2): Disable. Simplify the expression as well.
From-SVN: r19674
Jim Wilson [Mon, 11 May 1998 13:31:35 +0000 (13:31 +0000)]
Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change.
From-SVN: r19673
Jason Merrill [Mon, 11 May 1998 11:57:04 +0000 (07:57 -0400)]
new
From-SVN: r19672
Mark Mitchell [Mon, 11 May 1998 11:46:11 +0000 (11:46 +0000)]
update documentation
From-SVN: r19671
Mark Mitchell [Mon, 11 May 1998 11:37:13 +0000 (11:37 +0000)]
* ptree.c (lang_print_xnode): Add missing `break'.
From-SVN: r19670
Mark Mitchell [Mon, 11 May 1998 11:02:58 +0000 (11:02 +0000)]
New test
From-SVN: r19669
Mark Mitchell [Mon, 11 May 1998 10:59:39 +0000 (10:59 +0000)]
New test
From-SVN: r19668
Mark Mitchell [Mon, 11 May 1998 10:08:56 +0000 (10:08 +0000)]
* pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
From-SVN: r19667
Richard Henderson [Mon, 11 May 1998 09:22:09 +0000 (02:22 -0700)]
Oops, aclocal.m4 wasn't up-to-date for last commit.
From-SVN: r19666
Richard Henderson [Mon, 11 May 1998 09:16:34 +0000 (02:16 -0700)]
* configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
From-SVN: r19665
Richard Henderson [Mon, 11 May 1998 08:31:20 +0000 (01:31 -0700)]
alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
* alpha.c (print_operand): Handle it.
* alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
related define_splits. Also add peepholes for SImode reload
plus sign_extend lossage.
From-SVN: r19664
Mark Mitchell [Mon, 11 May 1998 07:25:25 +0000 (07:25 +0000)]
call.c (add_template_candidate): Adjust for changes to fn_type_unification.
* call.c (add_template_candidate): Adjust for changes to
fn_type_unification.
(add_template_candidate_real): Likewise.
(add_template_conv_candidate): Likewise.
(build_user_type_conversion_1): Likewise.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
* class.c (instantiate_type): Likewise.
* cp-tree.h (unification_kind_t): New type.
(fn_type_unification): Adjust prototype.
(type_unificaiton): Likewise.
* pt.c (UNIFY_ALLOW_NONE): New macro.
(UNIFY_ALLOW_MORE_CV_QUAL): Likewise.
(UNIFY_ALLOW_LESS_CV_QUAL): Likewise.
(UNIFY_ALLOW_DERIVED): Likewise.
(unify): Change prototype.
(maybe_adjust_types_for_deduction): New function.
(check_cv_quals_for_unify): Likewise.
(determine_specialization): Adjust.
(fn_type_unification): Likewise.
(type_unification): Likewise.
(type_unification_real): Likewise. Use
maybe_adjust_types_for_deduction. Fix mishandling of
back-unification of template functions passed as arguments. Pass
appropriate combination of UNIFY_ALLOW_* to unify.
(unify): Remove unused NTPARMS parameter. Use
check_cv_quals_for_unify. Remove bogus code that allowed
too-generous unification in order to adhere more closely to standard.
(get_bindings_real): Adjust.
(get_class_bindings): Likewise.
* method.c (build_overload_identifier): Only use the innermost
template arguments when mangling.
* pt.c (tsubst_template_argument_vector): New function.
(complete_template_args): Deal with the situation where the
extra_args contain more than one level of arguments.
(lookup_template_class): Deal with member template classes, which
may have more than one level of arguments.
(tsubst): Don't tsbust into the TREE_TYPE of an IDENTIFIER_NODE.
Improve handling of member template classes. Use
DECL_PRIMARY_TEMPLATE instead of inline expansion. Use
tsubst_template_argument_vector where appropriate.
(regenerate_decl_from_template): Break out from ...
(instantiate_decl): Here.
From-SVN: r19663
Mark Mitchell [Mon, 11 May 1998 07:18:46 +0000 (07:18 +0000)]
lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
Mon May 11 07:16:30 1998 Mark Mitchell <mmitchell@usa.net>
* lex.c (yyprint): Remove TYPENAME_ELLIPSIS.
* parse.h: Regenerated.
* parse.c: Really regenerated.
From-SVN: r19662
Kaveh R. Ghazi [Mon, 11 May 1998 06:50:51 +0000 (06:50 +0000)]
genattr.c: Include stdarg.h/varargs.h.
* genattr.c: Include stdarg.h/varargs.h. Change function
`fatal' to use variable arguments instead of faking it with
integer parameters. Provide a prototype which also
checks the format specifiers using ATTRIBUTE_PRINTF_1.
* genattrtab.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
* genoutput.c: Likewise. Similarly for function `error'.
From-SVN: r19661
Mark Mitchell [Mon, 11 May 1998 00:07:25 +0000 (00:07 +0000)]
cp-tree.h (finish_unary_op_expr): New function.
* cp-tree.h (finish_unary_op_expr): New function.
(finish_id_expr): Likewise.
(begin_new_placement): Likewise.
(finish_new_placement): Likewise.
(finish_declarator): Likewise.
(finish_translation_unit): Likewise.
(finish_parmlist): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_default_args): Likewise.
(finish_inline_definitions): Likewise.
* parse.y (GCC_ASM_KEYWORD): Remove.
(TYPENAME_ELLIPSIS): Likewise.
* parse.c: Regenerated.
Use new functions in semantics.c in the actions for many rules.
* gxx.gperf (GCC_ASM_KEYWORD): Just use ASM_KEYWORD.
* hash.h: Regenerated.
* semantics.c (finish_expr_stmt): Allow NULL expr.
(finish_unary_op_expr): New function, containing
code previously in parse.y.
(finish_id_expr): Likewise.
(begin_new_placement): Likewise.
(finish_new_placement): Likewise.
(finish_declarator): Likewise.
(finish_translation_unit): Likewise.
(finish_parmlist): Likewise.
(begin_class_definition): Likewise.
(finish_class_definition): Likewise.
(finish_default_args): Likewise.
(finish_inline_definitions): Likewise.
From-SVN: r19660
Mark Mitchell [Sun, 10 May 1998 23:46:36 +0000 (23:46 +0000)]
typeck.c (build_c_cast): Don't decay arrays and functions to pointer type when converting to a class type.
* typeck.c (build_c_cast): Don't decay arrays and functions to
pointer type when converting to a class type.
From-SVN: r19659
Jeff Law [Sun, 10 May 1998 23:00:31 +0000 (17:00 -0600)]
Another new test.
From-SVN: r19658
Jason Merrill [Sun, 10 May 1998 22:54:14 +0000 (18:54 -0400)]
document
From-SVN: r19657
Jason Merrill [Sun, 10 May 1998 22:53:45 +0000 (18:53 -0400)]
class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
* class.c (finish_struct_1): Use OVL_CURRENT on TREE_VEC_ELT.
* decl2.c (constructor_name_full): Likewise.
* tree.c (mapcar): Add OVERLOAD support.
* init.c (resolve_offset_ref): We must use basetype_path before we
destroy it with a call to convert_pointer_to.
From-SVN: r19656
Jeff Law [Sun, 10 May 1998 01:27:49 +0000 (19:27 -0600)]
acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
* acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
* alocal.m4 (GCC_C_VOLATILE): New autoconf test.
* configure.in: Use GCC_C_VOLATILE.
* system.h (volatile): Define as empty if no volatile support is
available.
* genemit.c (output_add_clobbers): Removed unused variable 'i' from
generated fucntion.
From-SVN: r19653
Jeff Law [Sat, 9 May 1998 22:50:47 +0000 (16:50 -0600)]
Point folks to wwwdocs since those are the official versions.
From-SVN: r19651
Jason Merrill [Sat, 9 May 1998 18:10:28 +0000 (14:10 -0400)]
class.c (currently_open_class): New fn.
* class.c (currently_open_class): New fn.
* decl.c (lookup_name_real): Use it.
* search.c (lookup_field): Likewise.
From-SVN: r19650
Jason Merrill [Sat, 9 May 1998 18:08:52 +0000 (14:08 -0400)]
new, update
From-SVN: r19649
Richard Henderson [Sat, 9 May 1998 02:03:07 +0000 (19:03 -0700)]
loop.c (get_condition): Don't combine when either compare is MODE_CC.
* loop.c (get_condition): Don't combine when either compare is MODE_CC.
* alpha.c (alpha_emit_conditional_branch): New function. Taken from
the body of beq; additionally set the mode of the branch to CCmode for
FP compares and not fast_math.
(alpha_emit_conditional_move): Always use a compare insn for FP
when not fast_math, as well as setting CCmode on the cmov.
* alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
From-SVN: r19645
Richard Henderson [Sat, 9 May 1998 02:01:55 +0000 (19:01 -0700)]
* machmode.h (COMPLEX_MODE_P): New macro.
From-SVN: r19644
Richard Henderson [Sat, 9 May 1998 01:53:01 +0000 (18:53 -0700)]
* haifa-sched.c (print_exp): Fix typo.
From-SVN: r19643
Jeffrey A Law [Fri, 8 May 1998 21:48:53 +0000 (15:48 -0600)]
Bump for snapshot
From-SVN: r19638
Jeff Law [Fri, 8 May 1998 17:34:01 +0000 (11:34 -0600)]
Remove previous dwarf2out.c change. It was incorrect according to Jim.
From-SVN: r19637
Michael Meissner [Fri, 8 May 1998 15:46:05 +0000 (15:46 +0000)]
Hunk of m32r changes
From-SVN: r19636
Michael Meissner [Fri, 8 May 1998 15:24:08 +0000 (15:24 +0000)]
Call fatal_insn instead of abort
From-SVN: r19635
H.J. Lu [Fri, 8 May 1998 13:14:32 +0000 (13:14 +0000)]
reload1.c (emit_reload_insns): When performing expensive optimizations...
* reload1.c (emit_reload_insns): When performing expensive
optimizations, do not output the last reload insn if OLD is
not the dest of NSN and is in the src and is clobbered by INSN.
From-SVN: r19634
Paul Eggert [Fri, 8 May 1998 12:59:23 +0000 (12:59 +0000)]
dwarf2out.c: Don't assume that `.section ".text"' causes the assembler to treat .text as a...
* dwarf2out.c: Don't assume that `.section ".text"' causes the
assembler to treat .text as a label for the start of that section,
as this assumption is false for Solaris 2.x `as'. Instead, output
`.section ".text"; .LLtext0:' and use .LLtext0 in label contexts.
(ABBREV_LABEL, DEBUG_INFO_LABEL, DEBUG_LINE_LABEL, TEXT_LABEL):
New macros.
(abbrev_label, debug_info_label, debug_line_label, text_label):
New vars.
(dwarf2out_init): Initialize the vars. Output defn for text_label.
(dwarf2out_finish): Output defns for the other 3 vars.
(dw_val_node): Rename val_section to val_section_label, as it's
now a label, not a section.
(add_AT_section_offset): Arg is now a label, not a section.
(print_die, output_die, output_compilation_unit_header,
output_pubnames, output_aranges, output_line_info,
dwarf2out_finish): In label contexts, output the section label,
not the section.
From-SVN: r19633
Kaveh R. Ghazi [Fri, 8 May 1998 06:51:04 +0000 (06:51 +0000)]
Another minor system.h cutover:
* Makefile.in (genrtl.o): Depend on system.h.
* gengenrtl.c (gencode): When creating genrtl.c, have it
include system.h.
From-SVN: r19632
Martin v. Löwis [Fri, 8 May 1998 02:06:26 +0000 (22:06 -0400)]
massive namespace patch
From-SVN: r19631
Andreas Schwab [Fri, 8 May 1998 02:01:41 +0000 (02:01 +0000)]
t-linux: Remove extra stuff already included in config/t-linux.
* config/m68k/t-linux: Remove extra stuff already included in
config/t-linux.
From-SVN: r19630
Manfred Hollstein [Fri, 8 May 1998 01:18:40 +0000 (01:18 +0000)]
fixinc.wrap: Renamed from fixinc.math.
d
* fixinc.wrap: Renamed from fixinc.math. Put wrapper around
curses.h if it contains `typedef char bool;', as suggested by
Manfred Hollstein <manfred@s-direktnet.de>.
* configure.in: Rename fixinc.math to fixinc.wrap.
From-SVN: r19629
Manfred Hollstein [Fri, 8 May 1998 01:18:37 +0000 (01:18 +0000)]
fixinc.wrap: Renamed from fixinc.math.
�
* fixinc.wrap: Renamed from fixinc.math. Put wrapper around
curses.h if it contains `typedef char bool;', as suggested by
Manfred Hollstein <manfred@s-direktnet.de>.
* configure.in: Rename fixinc.math to fixinc.wrap.
From-SVN: r19628
Manfred Hollstein [Fri, 8 May 1998 01:17:24 +0000 (01:17 +0000)]
Renamed fixinc.math to fixinc.wrap
From-SVN: r19627
Jason Merrill [Fri, 8 May 1998 00:51:27 +0000 (00:51 +0000)]
call.c (build_user_type_conversion_1): Handle second_conv properly for templates.
* call.c (build_user_type_conversion_1): Handle second_conv
properly for templates.
From-SVN: r19626
Jim Wilson [Thu, 7 May 1998 20:49:41 +0000 (20:49 +0000)]
Fix specs file problem reported by Nathan Myers.
* gcc.c (read_specs): Handle missing blank line at end of specs file.
From-SVN: r19622
Jim Wilson [Thu, 7 May 1998 19:32:12 +0000 (19:32 +0000)]
Disable remaining conditional move patterns.
* i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
movdfcc_1): Disable.
From-SVN: r19621
Jim Wilson [Thu, 7 May 1998 16:13:16 +0000 (16:13 +0000)]
Fix host/target confusion with enable_threads, reported by Brendan Kehoe.
* configure.in (enable_threads): Rename to enable_threads_flag before
main loop. Set enable_threads to enable_threads_flag inside main
loop.
From-SVN: r19615
Jim Wilson [Thu, 7 May 1998 15:07:43 +0000 (08:07 -0700)]
More toplev.h cleanup, regnerate c-parse.c.
From-SVN: r19614
Michael Meissner [Thu, 7 May 1998 14:41:36 +0000 (14:41 +0000)]
Update copyright
From-SVN: r19613
Michael Meissner [Thu, 7 May 1998 14:39:02 +0000 (14:39 +0000)]
Restore LR in case __eabi was called multiple times
From-SVN: r19612
Andrew MacLeod [Thu, 7 May 1998 14:30:53 +0000 (14:30 +0000)]
clear TREE_USED f;ag for build_type_variant types as well
From-SVN: r19611
Kaveh R. Ghazi [Thu, 7 May 1998 11:44:09 +0000 (11:44 +0000)]
Handle missing vfprintf() & _doprnt() functions with linked in modules,
plus do some general cleanup of variable argument handling.
* aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
* configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
(AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
(AC_CHECK_FUNCS): Remove unused check for vprintf.
* Makefile.in: Add support for linking in vfprintf.c and doprint.c.
(cccp.o): Depend on gansidecl.h.
(cexp.o): Likewise.
* cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
per the rest of gcc source.
* cexp.y: Likewise. Include gansidecl.h and remove all code made
redundant.
* cccp.c: Remove checks for HAVE_VPRINTF and the associated code
used when vfprintf is missing.
* cexp.y: Likewise.
* gcc.c: Likewise.
* genattrtab.c: Likewise.
* mips-tfile.c: Likewise.
* toplev.c: Likewise.
* vfprintf.c: New file.
* doprint.c: Likewise.
From-SVN: r19610
Jeffrey A Law [Thu, 7 May 1998 09:21:51 +0000 (09:21 +0000)]
linux.h (ASM_COMMENT_START): Remove from here,
* config/linux.h (ASM_COMMENT_START): Remove from here,
* config/linux-aout.h (ASM_COMMENT_START): and here,
* config/i386/linux.h (ASM_COMMENT_START): to here,
* config/i386/linux-aout.h (ASM_COMMENT_START): and here.
* config/i386/linux-oldld.h (ASM_COMMENT_START): Define
here as '#' too.
From-SVN: r19609
Jason Merrill [Thu, 7 May 1998 02:18:59 +0000 (02:18 +0000)]
* pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.
From-SVN: r19608
Andreas Schwab [Thu, 7 May 1998 01:59:07 +0000 (01:59 +0000)]
m68k.md (adddi3, subdi3): Properly negate the DImode constant.
* config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
constant.
From-SVN: r19607
Jeff Law [Wed, 6 May 1998 22:51:38 +0000 (16:51 -0600)]
Fix typo.
From-SVN: r19606
Jeffrey A Law [Wed, 6 May 1998 22:22:14 +0000 (22:22 +0000)]
expr.h (mark_seen_cases): Add declaration, but only when tree.h has been included.
* expr.h (mark_seen_cases): Add declaration, but only when tree.h
has been included.
From-SVN: r19605