Bernd Schmidt [Wed, 14 Oct 1998 01:21:06 +0000 (01:21 +0000)]
reload1.c (maybe_fix_stack_asms): New static function.
* reload1.c (maybe_fix_stack_asms): New static function.
(reload): Call it.
From-SVN: r23075
Bernd Schmidt [Wed, 14 Oct 1998 01:14:42 +0000 (01:14 +0000)]
reload.h (compute_use_by_pseudos): Declare.
* reload.h (compute_use_by_pseudos): Declare.
* reload1.c (spilled_pseudos, insns_need_reload): New variables.
(something_needs_reloads): Delete variable.
(finish_spills): New function.
(compute_use_by_pseudos): New function.
(delete_caller_save_insns): Lose argument FIRST. All callers changed.
Use the reload_insn_chain instead of walking the rtl directly.
(reload): Allocate and free spilled_pseudos.
Ensure that all calls of spill_hard_reg are followed by a call to
finish_spills.
Use the insns_need_reload list instead of something_needs_reloads
to find out if reload_as_needed must be called.
Clear unused_insn_chains at the end.
(calculate_needs_all_insns): Lose FIRST parameter. All callers
changed.
Delete code to keep track of current basic block.
Walk reload_insn_chain instead of the rtl structure. Build the
insns_need_reload chain.
Remember which insns need reloading/elimination by setting the
appropriate fields in struct insn_chain, not by putting modes on the
insn.
(calculate_needs): Lose THIS_BLOCK arg. Accept arg CHAIN instead of
arg INSN. All callers changed.
Delete declaration of struct needs.
Don't set something_needs_reloads.
Record insn needs in the CHAIN argument.
(spill_hard_reg): Record the affected pseudos in spilled_pseudos.
(reload_as_needed): Lose FIRST arg. All callers changed.
Walk the reload_insn_chain instead of the rtx structure.
Delete code to keep track of current basic block.
Rename one of the NEXT variables to OLD_NEXT.
(allocate_reload_reg): Accept arg CHAIN instead of arg INSN. All
callers changed.
(choose_reload_regs): Likewise.
(emit_reload_insns): Replace INSN and BB args with arg CHAIN. All
callers changed.
* caller-save.c (MOVE_MAX_WORDS): New macro. Use it throughout
instead of (MOVE_MAX / UNITS_PER_WORD) computation.
(hard_regs_live, hard_regs_need_restore): Delete variables.
(n_regs_saved): Now static.
(referenced_regs, this_insn_sets): New variables.
(setup_save_areas): Restructure the code a bit.
(restore_referenced_regs): Delete function.
(mark_referenced_regs): New function, similar to the old
restore_referenced_regs, but mark registers in referenced_regs.
(clear_reg_live): Delete function.
(mark_set_regs): Renamed from set_reg_live. All callers changed.
Only mark registers in this_insn_sets.
(save_call_clobbered_regs): Rework this function to walk the
reload_insn_chain instead of using the list of instructions directly.
Delete code to keep track of register lives, compute live regs on the
fly from information in the chain.
Instead of calling restore_referenced_regs, use mark_referenced_regs,
then walk the set it computes and call insert_restore as appropriate.
(insert_restore): Lose INSN and BLOCK args. Add CHAIN arg. All
callers changed.
Restructure the code a bit. Test hard_regs_saved instead of
hard_regs_need_restore.
(insert_save): Lose INSN and BLOCK args. Add CHAIN and TO_SAVE
args. All callers changed.
Restructure the code a bit. Use TO_SAVE to determine which regs to
save instead of more complicated test.
(insert_one_arg): Lose INSN and BLOCK args. Add CHAIN arg. All
callers changed.
Create a new insn_chain structure for the new insn and place it
into the chain.
* rtl.texi: Update documentation to reflect that reload no longer
puts modes on the insns.
From-SVN: r23074
Jeff Law [Wed, 14 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r23073
Herman A.J. ten Brugge [Wed, 14 Oct 1998 00:07:47 +0000 (02:07 +0200)]
real.c (emdnorm and etoasc): Disable round to even for c4x target to be compatible with TI compiler.
* real.c (emdnorm and etoasc): Disable round to even for c4x target
to be compatible with TI compiler.
From-SVN: r23072
Andreas Schwab [Tue, 13 Oct 1998 23:58:34 +0000 (17:58 -0600)]
function.c (purge_addressof_1): Force the first argument of a CALL insn to memory.
�
* function.c (purge_addressof_1): Force the first argument of a
CALL insn to memory.
From-SVN: r23071
Andreas Schwab [Tue, 13 Oct 1998 23:58:33 +0000 (17:58 -0600)]
function.c (purge_addressof_1): Force the first argument of a CALL insn to memory.
P
* function.c (purge_addressof_1): Force the first argument of a
CALL insn to memory.
From-SVN: r23070
Jeffrey A Law [Tue, 13 Oct 1998 23:41:11 +0000 (23:41 +0000)]
rtl.h: Delete duplicate prototypes.
* rtl.h: Delete duplicate prototypes. Add some missing
prototypes.
* rtlanal.c: (for_each_rtx): Formatting tweak.
From-SVN: r23069
Herman A.J. ten Brugge [Tue, 13 Oct 1998 23:35:08 +0000 (01:35 +0200)]
* Makefile.in (USER_H): Add va-c4x.h to definition.
From-SVN: r23068
Jeffrey A Law [Tue, 13 Oct 1998 23:08:18 +0000 (23:08 +0000)]
mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
* mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
* configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
* config.in, configure: Rebuilt.
From-SVN: r23067
Richard Henderson [Tue, 13 Oct 1998 23:06:47 +0000 (16:06 -0700)]
function.c (purge_addressof_1): Fix typo in inequality: do bitfield optimization for equal mode sizes.
* function.c (purge_addressof_1): Fix typo in inequality: do
bitfield optimization for equal mode sizes.
* expmed.c (store_bit_field): Don't take subregs of subregs in
the movstrict case. Tidy a potential problem in the multi-word case.
(extract_bit_field): Likewise.
From-SVN: r23066
Jeffrey A Law [Tue, 13 Oct 1998 22:59:40 +0000 (22:59 +0000)]
getopt.c: Check HAVE_STRINGS_H before including strings.h.
* getopt.c: Check HAVE_STRINGS_H before including strings.h.
* configure.in (AC_CHECK_HEADERS): Check for strings.h too.
* config.in, configure: Rebuilt.
From-SVN: r23065
Jeff Law [Tue, 13 Oct 1998 22:35:34 +0000 (16:35 -0600)]
java-tree.def: Add missing newline at EOF.
8
* java-tree.def: Add missing newline at EOF.
From-SVN: r23064
Jeff Law [Tue, 13 Oct 1998 22:35:33 +0000 (16:35 -0600)]
java-tree.def: Add missing newline at EOF.
0
* java-tree.def: Add missing newline at EOF.
From-SVN: r23063
Jeffrey A Law [Tue, 13 Oct 1998 22:29:48 +0000 (22:29 +0000)]
egcs_update: Remove gcc/java/parse.c from list of files to touch.
* egcs_update: Remove gcc/java/parse.c from list of files to
touch.
From-SVN: r23062
Bernd Schmidt [Tue, 13 Oct 1998 22:19:54 +0000 (22:19 +0000)]
flow.c (find_basic_blocks): Emit NOPs after normal calls in this function.
Tue Oct 13 22:12:11 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* flow.c (find_basic_blocks): Emit NOPs after normal calls in this
function.
Compute max_uid_for_flow by calling get_max_uid after the scan.
(find_basic_blocks_1): Don't emit NOPs here.
From-SVN: r23061
Richard Henderson [Tue, 13 Oct 1998 22:07:24 +0000 (15:07 -0700)]
I can't believe I havn't done work on my home machine in nearly a month...
I can't believe I havn't done work on my home machine in
nearly a month...
* alias.c (base_alias_check): Accept new args for the modes of the
two references. Use them to determine if an AND can overlap. Update
all callers.
(memrefs_conflict_p): Assume sizes are aligned, and uses them
to determine if an AND can overlap.
From-SVN: r23060
Jeffrey A Law [Tue, 13 Oct 1998 21:59:52 +0000 (21:59 +0000)]
* configure.in: Fix merge typo.
From-SVN: r23059
Jason Merrill [Tue, 13 Oct 1998 21:06:37 +0000 (17:06 -0400)]
Don't #include <string.h>.
From-SVN: r23058
Jason Merrill [Tue, 13 Oct 1998 18:29:36 +0000 (14:29 -0400)]
tinfo2.cc (fast_compare): Remove.
* tinfo2.cc (fast_compare): Remove.
(before): Just use strcmp.
* tinfo.cc (operator==): Just use strcmp.
* decl.c (grokfndecl): Don't check for linkage in `extern "C"'
declarations.
From-SVN: r23057
Jim Wilson [Tue, 13 Oct 1998 17:52:36 +0000 (17:52 +0000)]
Fix for m68k -O0 libstdc++ compiler abort.
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): For FP regs, add REGNO >= 16
check. Add comment to document problems with TARGET_SUN_FPA version
of this macro.
* config/m68k/m68k.md (movxf+1): Support 'r'/'r' moves.
From-SVN: r23056
Jeffrey A Law [Tue, 13 Oct 1998 16:11:24 +0000 (16:11 +0000)]
* mn10200.md (addsi3, subsi3, negsi2): Only allow register operands.
From-SVN: r23055
Kaveh R. Ghazi [Tue, 13 Oct 1998 15:25:25 +0000 (15:25 +0000)]
Warning fixes:
* Makefile.in (gencheck.o): Depend on gansidecl.h.
* c-common.c (print_char_table): Add missing initializers.
(scan_char_table): Likewise.
(time_char_table): Likewise.
* c-decl.c (c_decode_option): Mark parameter `argc' with
ATTRIBUTE_UNUSED.
(declare_parm_level): Mark parameter `definition_flag' with
ATTRIBUTE_UNUSED.
* c-lex.c (readescape): Use `(unsigned)1' in shift.
(yylex): Likewise. Cast `sizeof' to an (int) when comparing
against one.
* calls.c (store_one_arg): Remove unused parameter `fndecl'. All
callers changed.
(emit_call_1): Mark parameters `fndecl' and `funtype' with
ATTRIBUTE_UNUSED.
(expand_call): Cast result of MIN() to (unsigned int) when
comparing against an unsigned value.
* cccp.c (pcfinclude): Remove unused parameter `limit'. All
callers changed.
(make_definition): Remove unused parameter `op'. All callers
changed.
(create_definition): Cast REST_EXTENSION_LENGTH to (long) when
comparing against the result of pointer arithmetic.
* config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Cast to (unsigned)
when comparing against one.
* dwarf2out.c (dwarf2out_frame_debug): Cast REGNO() and
HARD_FRAME_POINTER_REGNUM to (unsigned) when comparing against
one.
(output_die): Move variable `i' into the scope in which it is
used. Change its type to `unsigned'.
(output_die): Cast the result of `strlen' to (int) when passing it
to ASM_OUTPUT_ASCII().
(output_pubnames): Likewise.
(output_line_info): Likewise.
* emit-rtl.c (global_rtl): Add missing initializers.
* explow.c (promote_mode): Mark parameter `for_call' with
ATTRIBUTE_UNUSED.
* expmed.c (expand_shift): Cast the result of GET_MODE_BITSIZE to
`unsigned HOST_WIDE_INT' when comparing against one.
(synth_mult): Change type of variable `cost' to int.
(emit_store_flag): Use `(unsigned HOST_WIDE_INT) 1' in shift.
* expr.c (copy_blkmode_from_reg): Cast BITS_PER_WORD to (unsigned)
when comparing against one.
(get_inner_reference): Change variable `alignment' to unsigned.
(expand_expr): Cast the result of GET_MODE_ALIGNMENT to (unsigned
int) when comparing against one.
(expand_builtin_setjmp): Change type of variable `i' to size_t.
* fold-const.c (div_and_round_double): Cast BASE to
(HOST_WIDE_INT) when comparing against one.
* gencheck.c: Include gansidecl.h.
(main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
* optabs.c (gen_cond_trap): Mark parameters `code', `op2' and
`tcode' with ATTRIBUTE_UNUSED.
* real.c (edivm): Cast constant value to (unsigned long) in
expression compared against an unsigned value.
* stmt.c (expand_return): Cast BITS_PER_WORD to (unsigned) when
comparing against one.
(expand_end_case): Cast CASE_VALUES_THRESHOLD to (unsigned int)
when comparing against one.
* stor-layout.c (mode_for_size): Cast MAX_FIXED_MODE_SIZE to
(unsigned int) when comparing against one. Likewise for
GET_MODE_BITSIZE.
(smallest_mode_for_size): Likewise.
(save_storage_status): Mark parameter `p' with ATTRIBUTE_UNUSED.
(restore_storage_status): Likewise.
* toplev.c (debug_args): Add missing initializer.
(f_options): Spelling correction. Add missing initializers.
(documented_lang_options): Likewise.
(debug_end_source_file): Mark parameter `lineno' with
ATTRIBUTE_UNUSED.
* tree.c (valid_machine_attribute): Mark parameters `attr_args',
`decl' and `type' with ATTRIBUTE_UNUSED.
* varasm.c (decode_reg_name): Cast `sizeof' expression to (int)
when comparing against one.
(assemble_variable): Mark parameter `top_level' with
ATTRIBUTE_UNUSED.
(assemble_external_libcall): Mark parameter `fun' with
ATTRIBUTE_UNUSED.
(output_constant_pool): Mark parameters `fnname' and `fndecl' with
ATTRIBUTE_UNUSED.
From-SVN: r23054
Mark Mitchell [Tue, 13 Oct 1998 14:34:26 +0000 (14:34 +0000)]
cp-tree.h (specializations_of_same_template_p): Remove.
* cp-tree.h (specializations_of_same_template_p): Remove.
* search.c (get_template_base): Don't use it.
(get_template_base_recursive): Likewise.
* pt.c (specializations_of_same_template_p): Remove.
(unify): Don't use it.
(lookup_template_class): Find the correct parent when setting
CLASSTYPE_TI_TEMPLATE.
From-SVN: r23053
Nick Clifton [Tue, 13 Oct 1998 12:57:14 +0000 (12:57 +0000)]
Fix discrepancies between devo and egcs.
From-SVN: r23052
Jason Merrill [Tue, 13 Oct 1998 11:50:20 +0000 (11:50 +0000)]
iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
* mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
* varasm.c (assemble_start_function et al): Don't call
ASM_GLOBALIZE_LABEL for weak symbols.
From-SVN: r23051
Tom Tromey [Tue, 13 Oct 1998 11:49:26 +0000 (11:49 +0000)]
jcf-dump.c (process_class): Use FATAL_EXIT_CODE, not -1.
* jcf-dump.c (process_class): Use FATAL_EXIT_CODE, not -1.
(main): Likewise. Exit with SUCCESS_EXIT_CODE at end of
function.
Include <config.h> and "system.h".
(disassemble_method): Undefine RET to avoid clash with
config/i386/i386.h.
From-SVN: r23050
Nick Clifton [Tue, 13 Oct 1998 11:39:26 +0000 (11:39 +0000)]
Check for NULL return from gen_lowpart_if_possible().
From-SVN: r23049
Manfred Hollstein [Tue, 13 Oct 1998 10:48:25 +0000 (10:48 +0000)]
configure: Add pattern to replace "build_tooldir"'s definition in the generated Makefile...
* configure: Add pattern to replace "build_tooldir"'s
definition in the generated Makefile with "tooldir"'s
actual value.
From-SVN: r23048
Jeffrey A Law [Tue, 13 Oct 1998 10:26:28 +0000 (10:26 +0000)]
* collect2.c (main): Pass -EL/-EB through to the compiler.
From-SVN: r23047
Herman A.J. ten Brugge [Tue, 13 Oct 1998 10:08:10 +0000 (12:08 +0200)]
expr.c (push_block): Handle targets where the stack grows to higher addresses...
* expr.c (push_block): Handle targets where the stack grows
to higher addresses, but args grow to lower addresses and
ACCUMULATE_OUTGOING_ARGS is not defined.
From-SVN: r23046
Dave Love [Tue, 13 Oct 1998 08:51:49 +0000 (08:51 +0000)]
Makefile.in (.SUFFIXES): Don't use any.
1998-10-12 Dave Love <fx@gnu.org>
* Makefile.in (.SUFFIXES): Don't use any.
(all-unilib): New target, like old all.
(all): Use it.
(.PHONY): Add all-unilib.
From-SVN: r23045
Dave Love [Tue, 13 Oct 1998 08:50:24 +0000 (08:50 +0000)]
Regenerated.
From-SVN: r23044
Dave Love [Tue, 13 Oct 1998 08:49:54 +0000 (08:49 +0000)]
Revert bogus previous checkin.
From-SVN: r23043
Jeff Law [Tue, 13 Oct 1998 08:39:01 +0000 (02:39 -0600)]
�
Doh!
From-SVN: r23042
Jeffrey A Law [Tue, 13 Oct 1998 08:37:39 +0000 (08:37 +0000)]
* config.sub: Bring back lost sparcv9.
From-SVN: r23041
Jeffrey A Law [Tue, 13 Oct 1998 08:19:08 +0000 (08:19 +0000)]
* Makefile.in (all-snvavigator): Remove all-flexlm dependency.
From-SVN: r23040
Alexandre Oliva [Tue, 13 Oct 1998 07:52:27 +0000 (07:52 +0000)]
* lib/old-dejagnu.exp (old-dejagnu): support `Additional sources:'
From-SVN: r23039
Catherine Moore [Tue, 13 Oct 1998 06:05:23 +0000 (06:05 +0000)]
Extend meaning of 'c' operands to support .vtinherit.
From-SVN: r23038
Michael Hayes [Tue, 13 Oct 1998 03:04:59 +0000 (03:04 +0000)]
c4x.c: Convert to gen_rtx_FOO.
* config/c4x/c4x.c: Convert to gen_rtx_FOO.
Added ATTRIBUTE_UNUSED to unused function arguments.
(rc_reg_operand): New predicate.
(c4x_rptb_insert): New function.
(c4x_rptb_nop_p): Recognize modified rptb_top pattern.
(c4x_optimization_options): New function.
* config/c4x/c4x.md: Convert to gen_rtx_FOO.
(decrement_and_branch_on_count): New pattern.
(rptb_top): Modified pattern to work with BCT optimization.
* config/c4x/c4x.h (RC_REG): New register class.
(rc_reg_operand): Define prototype.
(IS_RC_REG): New macro.
(IS_RC_OR_PSEUDO_REG): New macro.
(IS_RC_OR_PSEUDO_REGNO): New macro.
(OPTIMIZATION_OPTIONS): Define.
From-SVN: r23037
Jeff Law [Tue, 13 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r23036
Jason Merrill [Mon, 12 Oct 1998 20:09:48 +0000 (16:09 -0400)]
* i386/t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Don't define.
From-SVN: r23035
Jason Merrill [Mon, 12 Oct 1998 20:08:54 +0000 (20:08 +0000)]
* tinfo.cc (operator==): Always compare names.
From-SVN: r23034
Jason Merrill [Mon, 12 Oct 1998 20:08:10 +0000 (20:08 +0000)]
* collect2.c (extract_init_priority): No priority is 65535.
From-SVN: r23033
Robert Lipe [Mon, 12 Oct 1998 19:58:23 +0000 (19:58 +0000)]
typo fix in Jeff's Monday Morning fix. delte -> delete.
From-SVN: r23032
Herman ten Brugge [Mon, 12 Oct 1998 19:34:12 +0000 (21:34 +0200)]
* decl.c (start_function): Fix cut-and-paste error.
From-SVN: r23031
Kaveh R. Ghazi [Mon, 12 Oct 1998 17:54:46 +0000 (17:54 +0000)]
Warning fixes:
* bad.c (ffebad_finish): Change type of variable `c' to unsigned
char, change type of variable `s' to unsigned char *.
* com.c (ffecom_symbol_null_): Add missing initializers.
* fini.c (MAXNAMELEN): Undef it before defining.
* implic.c (ffeimplic_lookup_): Change type of parameter `c' to
unsigned char.
* intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
to (unsigned char).
* lex.c (ffelex_splice_tokens): Change type of variable `p' to
unsigned char *.
(ffelex_token_name_from_names): Cast the argument of
`ffelex_is_firstnamechar' to (unsigned char).
(ffelex_token_names_from_names): Likewise.
(ffelex_token_new_name): Likewise.
(ffelex_token_new_names): Likewise.
* malloc.c (malloc_root_): Add missing initializer.
* stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
(ffestb_else) Likewise.
(ffestb_else3_) Likewise.
(ffestb_endxyz) Likewise.
(ffestb_goto) Likewise.
(ffestb_let) Likewise.
(ffestb_varlist) Likewise.
(ffestb_R522) Likewise.
(ffestb_R528) Likewise.
(ffestb_R834) Likewise.
(ffestb_R835) Likewise.
(ffestb_R838) Likewise.
(ffestb_R1102) Likewise.
(ffestb_blockdata) Likewise.
(ffestb_R1212) Likewise.
(ffestb_R810) Likewise.
(ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
to (unsigned char).
(ffestb_V014): Change type of variable `p' to unsigned char *.
(ffestb_dummy) Likewise.
(ffestb_R524) Likewise.
(ffestb_R547) Likewise.
(ffestb_decl_chartype) Likewise.
(ffestb_decl_dbltype) Likewise.
(ffestb_decl_gentype) Likewise.
(ffestb_decl_entsp_2_) Likewise.
(ffestb_V027) Likewise.
(ffestb_decl_R539) Likewise.
* top.c (ffe_decode_option): Mark parameter `argc' with
ATTRIBUTE_UNUSED.
* where.c (ffewhere_unknown_line_): Add missing initializers.
From-SVN: r23030
Michael Tiemann [Mon, 12 Oct 1998 17:45:24 +0000 (17:45 +0000)]
Fix parallel make problem.
* Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
From-SVN: r23029
Nick Clifton [Mon, 12 Oct 1998 15:58:14 +0000 (15:58 +0000)]
Replace (reg 24) with (reg:CC 24)
From-SVN: r23028
Mark Mitchell [Mon, 12 Oct 1998 14:07:55 +0000 (14:07 +0000)]
Install ChangeLog entry that got left out
From-SVN: r23027
Michael Meissner [Mon, 12 Oct 1998 13:51:07 +0000 (13:51 +0000)]
update copyright
From-SVN: r23026
Per Bothner [Mon, 12 Oct 1998 12:43:53 +0000 (05:43 -0700)]
�
Merge from Cygnus internal source tree.
From-SVN: r23025
Per Bothner [Mon, 12 Oct 1998 12:43:52 +0000 (05:43 -0700)]
�
Merge from Cygnus internal source tree.
From-SVN: r23024
Per Bothner [Mon, 12 Oct 1998 12:43:51 +0000 (05:43 -0700)]
Merge from Cygnus internal source tree.
From-SVN: r23023
Per Bothner [Mon, 12 Oct 1998 12:43:48 +0000 (05:43 -0700)]
Merge from Cygnus internal source tree.
From-SVN: r23022
Per Bothner [Mon, 12 Oct 1998 12:43:39 +0000 (05:43 -0700)]
�
Merge from Cygnus internal source tree.
From-SVN: r23021
Per Bothner [Mon, 12 Oct 1998 12:43:33 +0000 (05:43 -0700)]
8
Merge from Cygnus internal source tree.
From-SVN: r23020
Per Bothner [Mon, 12 Oct 1998 12:43:32 +0000 (05:43 -0700)]
*** empty log message ***
From-SVN: r23019
Per Bothner [Mon, 12 Oct 1998 12:43:28 +0000 (05:43 -0700)]
Merge from Cygnus internal source tree.
From-SVN: r23018
Alexandre Oliva [Mon, 12 Oct 1998 11:14:11 +0000 (11:14 +0000)]
Makefile.in (build_tooldir): new variable...
* Makefile.in (build_tooldir): new variable, same as old
$(tooldir), but without depending on $(libdir)/$(unlibsubdir)
(GCC_FOR_TARGET): add -B$(build_tooldir)/bin/
(bootstrap, bootstrap2, bootstrap3, bootstrap4): ditto
* configure.in (gxx_include_dir): set default based on unlibsubdir
* Makefile.in (tooldir): ditto
(cccp.o, cpplib.o): use unlibsubdir implicitly through
gxx_include_dir, includedir and tooldir
(protoize.o, unprotoize.o): ditto
From-SVN: r23017
Jeff Law [Mon, 12 Oct 1998 11:11:16 +0000 (05:11 -0600)]
Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to CC_FOR_TARGET and friends.
* Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to
CC_FOR_TARGET and friends.
Mon Oct 12 12:09:30 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
* Makefile.in (build_tooldir): new variable, same as tooldir
(CC_FOR_TARGET, GCC_FOR_TARGET, CXX_FOR_TARGET): add
-B$(build_tooldir)/bin/
(BASE_FLAGS_TO_PASS): pass build_tooldir down
From-SVN: r23016
Dave Love [Mon, 12 Oct 1998 11:09:53 +0000 (11:09 +0000)]
open.c (_XOPEN_SOURCE): Define.
1998-10-12 Dave Love <fx@gnu.org>
* libI77/open.c (_XOPEN_SOURCE): Define.
From-SVN: r23015
Dave Love [Mon, 12 Oct 1998 11:08:12 +0000 (11:08 +0000)]
Makefile.in (.SUFFIXES): Don't use any.
1998-10-12 Dave Love <fx@gnu.org>
* Makefile.in (.SUFFIXES): Don't use any.
(all-unilib): New target, like old all.
(all): Use it.
(.PHONY): Add all-unilib.
From-SVN: r23014
Nick Clifton [Mon, 12 Oct 1998 10:53:08 +0000 (10:53 +0000)]
thumb.c - add warning about PIC code not being supported just yet.
arm.c - synchronised with devo
arm.md - synchronised with devo
README-interworking - sychronised with devo.
From-SVN: r23013
Jeff Law [Mon, 12 Oct 1998 10:44:57 +0000 (04:44 -0600)]
Final changes from devo<->egcs merge.
Final changes from devo<->egcs merge. Ugh, a year of configury/Makefile
hacking.
From-SVN: r23012
John Wehle [Mon, 12 Oct 1998 10:06:49 +0000 (10:06 +0000)]
flow.c: Update comment.
* flow.c: Update comment.
(notice_stack_pointer_modification): New static function.
(record_volatile_insns): Use it.
(mark_regs_live_at_end): Mark the stack pointer as alive
at the end of the function if current_function_sp_is_unchanging
is set.
(life_analysis_1): Set current_function_sp_is_unchanging.
* function.c: Define it.
(init_function_start): Initialize it.
* output.h: Declare it.
* reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
the stack pointer as alive at the end of the function if
current_function_sp_is_unchanging is set.
* i386.c (ix86_epilogue): Optimize the restoring
of the stack pointer.
From-SVN: r23009
Alexandre Oliva [Mon, 12 Oct 1998 09:28:02 +0000 (09:28 +0000)]
config.shared (depend.new): delete libc-lock.h from dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule
* config.shared (depend.new): delete libc-lock.h from
dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule
* depend: Rebuilt.
From-SVN: r23008
Alexandre Oliva [Mon, 12 Oct 1998 09:25:50 +0000 (09:25 +0000)]
instantiate5.C: New test.
* g++.old-deja/g++.pt/instantiate5.C: New test. `global
constructors' name is not unique
* g++.old-deja/g++.pt/instantiate5.cc: ditto
* g++.old-deja/g++.pt/instantiate5-main.cc: ditto
From-SVN: r23007
Alexandre Oliva [Mon, 12 Oct 1998 05:12:44 +0000 (05:12 +0000)]
explicit74.C: New test.
* g++.old-deja/g++.pt/explicit74.C: New test. Explicit
instantiation of template produces incorrect code for delete
expression.
From-SVN: r23006
Dave Love [Mon, 12 Oct 1998 02:52:16 +0000 (02:52 +0000)]
configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.
1998-10-12 Dave Love <d.love@dl.ac.uk>
* configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.
From-SVN: r23005
Jason Merrill [Mon, 12 Oct 1998 02:14:03 +0000 (02:14 +0000)]
t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.
* i386/t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.
(cp) * inc/typeinfo: Add #pragma interface.
(operator!=): Just call operator==.
* tinfo.cc: Add #pragma implementation.
(operator==): Move from inc/typeinfo and tinfo2.cc.
Check __COMMON_UNRELIABLE instead of _WIN32.
From-SVN: r23004
Jason Merrill [Mon, 12 Oct 1998 02:08:18 +0000 (22:08 -0400)]
typeck2.c (my_friendly_abort): Add URL.
* typeck2.c (my_friendly_abort): Add URL.
* decl.c (start_method): Added extra parameter for attributes.
* cp-tree.h (start_method): Update prototype.
* parse.y (fn.def2): Update start_method parameter list.
From-SVN: r23003
Jeffrey A Law [Mon, 12 Oct 1998 01:22:57 +0000 (19:22 -0600)]
Bump for snapshot
From-SVN: r23001
Jeff Law [Mon, 12 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r23000
Alexandre Oliva [Sun, 11 Oct 1998 22:52:49 +0000 (22:52 +0000)]
init8.C: New test.
* g++.old-deja/g++.other/init8.C: New test. uninitialized
automatic array of const is ill-formed
From-SVN: r22999
Michael Hayes [Sun, 11 Oct 1998 21:38:14 +0000 (21:38 +0000)]
Add Michael Hayes as c4x maintainer
From-SVN: r22998
Robert Lipe [Sun, 11 Oct 1998 21:05:04 +0000 (21:05 +0000)]
c-pragma.c (handle_pragma_token): If passed a token instead of a tree, use that as the pack value.
* c-pragma.c (handle_pragma_token): If passed a token instead
of a tree, use that as the pack value.
From-SVN: r22997
Alexandre Oliva [Sun, 11 Oct 1998 19:59:27 +0000 (19:59 +0000)]
ttp53.C: New test.
* g++.old-deja/g++.pt/ttp53.C: New test. incorrect substitution
of template parameter?
From-SVN: r22996
Alexandre Oliva [Sun, 11 Oct 1998 19:36:47 +0000 (19:36 +0000)]
conv3.C: New test.
* g++.old-deja/g++.other/conv3.C: New test. conversion discards
const
From-SVN: r22995
Alexandre Oliva [Sun, 11 Oct 1998 19:29:17 +0000 (19:29 +0000)]
pmf2.C: New test.
* g++.old-deja/g++.other/pmf2.C: New test. invalid
pointer-to-member expression
From-SVN: r22994
Alexandre Oliva [Sun, 11 Oct 1998 19:23:16 +0000 (19:23 +0000)]
friend5.C: New test.
* g++.old-deja/g++.other/friend5.C: New test. bogus friend
declaration causes ICE
From-SVN: r22993
Alexandre Oliva [Sun, 11 Oct 1998 18:53:41 +0000 (18:53 +0000)]
main1.C: New test.
* g++.old-deja/g++.ns/main1.C: New test. main() should only be
reserved in the global namespace
From-SVN: r22992
Mark Mitchell [Sun, 11 Oct 1998 17:55:56 +0000 (17:55 +0000)]
* stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.
From-SVN: r22989
Mark Mitchell [Sun, 11 Oct 1998 17:48:12 +0000 (17:48 +0000)]
memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
(auto_ptr::operator auto_ptr<_Tp1>): Add missing
semicolon.
From-SVN: r22988
Mark Mitchell [Sun, 11 Oct 1998 17:38:53 +0000 (17:38 +0000)]
cp-tree.h (specializations_of_same_template_p): Declare.
* cp-tree.h (specializations_of_same_template_p): Declare.
* pt.c (specializations_of_same_template_p): New function.
(unify): Use it.
* search.c (get_template_base): Use it.
(get_template_base_recursive): Likewise.
From-SVN: r22987
Mark Mitchell [Sun, 11 Oct 1998 15:02:04 +0000 (15:02 +0000)]
* flow.c (find_basic_blocks_1): Fix prototype.
From-SVN: r22986
Alexandre Oliva [Sun, 11 Oct 1998 11:12:06 +0000 (11:12 +0000)]
instantiate4.C: New test: -frepo does not generate needed virtual table
* g++.old-deja/g++.pt/instantiate4.C: New test: -frepo does not
generate needed virtual table
* lib/old-dejagnu.exp (old-dejagnu): support `Build then link:'
From-SVN: r22984
Ken Raeburn [Sun, 11 Oct 1998 02:21:54 +0000 (02:21 +0000)]
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage attribute.
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage
attribute. Misc minor bugfixes and tests for it too.
From-SVN: r22983
Jeffrey A Law [Sun, 11 Oct 1998 00:53:50 +0000 (00:53 +0000)]
config.shared (depend.new): Fix typo.
* config.shared (depend.new): Fix typo.
* depend: Rebuilt.
From-SVN: r22982
Jeff Law [Sun, 11 Oct 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22981
Zack Weinberg [Sun, 11 Oct 1998 00:05:11 +0000 (00:05 +0000)]
cppexp.c: When forcing unsigned comparisons, cast both sides of the operation.
* cppexp.c: When forcing unsigned comparisons, cast both sides
of the operation.
* cpphash.h: Move static declaration of hashtab[]...
* cpphash.c: ...here.
* cpplib.c: Cast difference of two pointers to size_t before
comparing it to size_t. Cast signed to unsigned
before comparing to size_t. (FIXME: struct argdata should use
unsigned buffer sizes.)
* cpplib.h (struct cpp_reader): Declare token_buffer_size as
unsigned int. (CPP_WRITTEN): Cast return value to size_t.
(CPP_RESERVE): Parenthesize N for evaluation order, cast to
size_t before comparison.
From-SVN: r22980
Jeffrey A Law [Sat, 10 Oct 1998 23:18:32 +0000 (23:18 +0000)]
flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
* flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
(find_basic_blocks_1): Similarly.
* output.h (find_basic_blocks): Fix prototype.
* gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
find_basic_blocks anymore.
From-SVN: r22979
Richard Henderson [Sat, 10 Oct 1998 22:03:34 +0000 (15:03 -0700)]
basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
* basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
(sbitmap_free, sbitmap_vector_free): New macros.
* output.h (rtl_dump_file): Declare.
From-SVN: r22978
Jeffrey A Law [Sat, 10 Oct 1998 16:03:44 +0000 (16:03 +0000)]
* regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
From-SVN: r22977
Alexandre Oliva [Sat, 10 Oct 1998 11:50:22 +0000 (11:50 +0000)]
these XFAILs are hard to get right on the first try.
these XFAILs are hard to get right on the first try. Yet harder when results
are different on different platforms :-)
From-SVN: r22976
Manfred Hollstein [Sat, 10 Oct 1998 09:24:06 +0000 (09:24 +0000)]
decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
8
* decl2.c (start_objects): Add new variable `joiner' and
initialize it properly.
From-SVN: r22975
Manfred Hollstein [Sat, 10 Oct 1998 09:24:04 +0000 (09:24 +0000)]
decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
�
* decl2.c (start_objects): Add new variable `joiner' and
initialize it properly.
From-SVN: r22974
Alexandre Oliva [Sat, 10 Oct 1998 08:15:19 +0000 (08:15 +0000)]
typeof is an extension, -ansi -pedantic (default options) wouldn't
accept it; make it __typeof__
From-SVN: r22973
Dariush Eslimi [Sat, 10 Oct 1998 08:11:06 +0000 (08:11 +0000)]
typeof1.C: New test; typeof based on template-dependent type
* g++.old-deja/g++.ext/typeof1.C: New test; typeof based on
template-dependent type
From-SVN: r22972
Alexandre Oliva [Sat, 10 Oct 1998 07:51:24 +0000 (07:51 +0000)]
parse3.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse3.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse5.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse6.C: XFAILs, not ERRORs
From-SVN: r22971
Alexandre Oliva [Sat, 10 Oct 1998 07:38:29 +0000 (07:38 +0000)]
using5.C: New test; using decl from base class should be usable as argument of member function
* g++.old-deja/g++.other/using5.C: New test; using decl from base
class should be usable as argument of member function
* g++.old-deja/g++.other/using6.C: New test; using decl from base
class should be usable as return type of member function
* g++.old-deja/g++.other/using7.C: New test; using decl from base
class should be usable as type of data member
From-SVN: r22970