Commit Graph

24904 Commits

Author SHA1 Message Date
Jeff Law
4939b9cd27 Daily bump.
From-SVN: r30472
1999-11-10 01:45:07 -07:00
Philippe De Muyter
df33da0783 genoutput.c (output_insn_data): Cast INSN_OUTPUT_FORMAT_MULTI' and INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
* genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
        `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.

From-SVN: r30471
1999-11-10 01:12:03 -07:00
Hans-Peter Nilsson
349c29b595 invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list.
* invoke.texi (C Dialect Options): Add missing builtins from
        c-common.c to list.
        * extend.texi (Other Builtins): Copy to this list.

From-SVN: r30470
1999-11-10 00:53:20 -07:00
Alexandre Oliva
052777b9ae typo; missing close paren
From-SVN: r30469
1999-11-10 07:22:01 +00:00
Alexandre Oliva
294ffb37bb Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
* Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
(print-rtl.o, $(HOST_PREIFX_1)print-rtl.o: Likewise.  Remove
redundant bitmap.h.

From-SVN: r30468
1999-11-10 07:21:02 +00:00
Jeffrey A Law
973d12cb61 flow.c (compute_flow_dominators): No longer treat basic block 0 or (n_basic_blocks - 1) specially.
* flow.c (compute_flow_dominators): No longer treat basic block 0
        or (n_basic_blocks - 1) specially.  Clear the AUX field before
        starting computation of doms/pdoms.  Fix initial state for pdoms.

From-SVN: r30467
1999-11-10 00:05:42 -07:00
Alexandre Oliva
ca76ec07e4 Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to match rtl.o's: added ggc.h and toplev.h
* Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
match rtl.o's: added ggc.h and toplev.h
($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).

From-SVN: r30466
1999-11-10 06:26:16 +00:00
Tom Tromey
71651d6c00 re GNATS gcj/84 (path to classes.zip is compiled in to gcj at build time)
* jcf-path.c: Include <sys/stat.h>.
	(jcf_path_init): Search for libjava.zip.  Fixes PR gcj/84.
	(DIR_UP): New macro.

From-SVN: r30465
1999-11-10 01:38:24 +00:00
Tom Tromey
0deb20dfd3 [multiple changes]
Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>

	* config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
	from HAVE_DOS_BASED_FILESYSTEM.
	* gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
	HAVE_DOS_BASED_FILESYSTEM.
	(main): Likewise.
	(split_directories): Only special-case DOS file names if
	HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
	instead of explicit tests.  Conditionalize on !VMS.
	(make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
	tests.  Conditionalize on !VMS.
	(process_command): Only use make_relative_prefix if !VMS.
	(free_split_directories): Conditionalize on !VMS.
	(DIR_UP): Conditionalize on !VMS.

Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* gcc.c (STANDARD_BINDIR_PREFIX): Provide default.

Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
	case.

Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>

	* invoke.texi (Environment Variables): Document relative path
	lookup.
	* gcc.c (DIR_UP): If not defined, define as "..".
	(standard_bindir_prefix): New static, holds target location to
	install binaries.
	(split_directories): New function to split a filename into
	component directories.
	(free_split_directories): New function, release memory allocated
	by split_directories.
	(make_relative_prefix): New function, make a relative pathname if
	the compiler is not in the expected location.
	(process_command): If GCC_EXEC_PREFIX was not specified, see if we
	can figure out an appropriate prefix from argv[0].
	* Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
	STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
	STANDARD_BINDIR_PREFIX.

From-SVN: r30464
1999-11-10 01:19:08 +00:00
Michael Hayes
798f6e6f19 c4x-protos.h: New file.
* config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
	in c4x.c.
	* config/c4x/c4x.h: Moved prototypes to c4x.h.
	* config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
	c4x_secondary_memory_needed) Delete.
	(fp_zero_operand): Add mode argument.

From-SVN: r30463
1999-11-09 22:56:56 +00:00
Alexandre Petit-Bianco
8226320b92 parse.y (source_end_java_method): Resume permanent allocation, reversing Apr 27 1998 patch.
Tue Nov  9 12:12:38 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (source_end_java_method): Resume permanent allocation,
 	reversing Apr 27 1998 patch.
	(patch_string_cst): Pop obstacks after having pushed the permanent
 	ones.

From-SVN: r30462
1999-11-09 12:30:57 -08:00
Andrew Haley
dc8842bf9b reload1.c (reload_reg_free_for_value_p): Don't use a register that is in reload_reg_used.
Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>

	* reload1.c (reload_reg_free_for_value_p): Don't use a register
	that is in reload_reg_used.

From-SVN: r30461
1999-11-09 16:52:19 +00:00
Nick Clifton
eb3921e89a Add prototypes file.
From-SVN: r30460
1999-11-09 16:45:49 +00:00
Nick Clifton
56e2e7627e Add prototype header file
Import some code from Cygnus internal sources.

From-SVN: r30459
1999-11-09 15:07:07 +00:00
Jeff Law
f1c7f59711 Daily bump.
From-SVN: r30458
1999-11-09 01:45:07 -07:00
Mark Mitchell
3e4010c4d8 cp-tree.h (language_function): Remove x_last_dtor_insn and x_last_parm_cleanup_insn.
* cp-tree.h (language_function): Remove x_last_dtor_insn and
	x_last_parm_cleanup_insn.
	* decl.c (last_dtor_insn): Remove.
	(last_parm_cleanup_insn): Likewise.
	(expand_start_early_try_stmts): Don't set them.
	(store_parm_decls): Likewise.
	(save_function_data): Or save them.
	(mark_lang_function): Or mark them.

From-SVN: r30457
1999-11-09 08:15:07 +00:00
Mark Mitchell
fe1b3b96ae decl.c (store_parm_decls): Generate cleanup code at semantic-analysis time.
* decl.c (store_parm_decls): Generate cleanup code at
	semantic-analysis time.  Destroy objects in the correct order.

From-SVN: r30456
1999-11-09 07:40:14 +00:00
J"orn Rennecke
312618c7d0 global.c (EXECUTE_IF_CONFLICT): Don't define.
* global.c (EXECUTE_IF_CONFLICT): Don't define.
	(prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
	(find_reg): Likewise.

From-SVN: r30455
1999-11-08 23:17:51 +00:00
Jason Eckhardt
0429987682 pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0 to avoid assembler errors.
* config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
        to avoid assembler errors.

From-SVN: r30454
1999-11-08 19:26:08 +00:00
Jeffrey A Law
6e30047279 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
From-SVN: r30453
1999-11-08 09:26:37 -07:00
Nick Clifton
5d8f8b657c Prototypes for functions defined in target C source files.
From-SVN: r30452
1999-11-08 15:43:31 +00:00
Nick Clifton
82a9bba5f8 *** empty log message ***
From-SVN: r30451
1999-11-08 15:42:45 +00:00
Nick Clifton
674fdc14b3 Move prototypes into v850-protos.h
From-SVN: r30450
1999-11-08 15:40:38 +00:00
Mark Mitchell
140b60b42e tree.h (get_containing_scope): Declare it.
* tree.h (get_containing_scope): Declare it.
	* tree.c (get_containing_scope): New fucntion.
	(decl_function_context): Use it.
	* toplev.c (rest_of_compilation): Use get_containing_scope.

From-SVN: r30449
1999-11-08 15:27:56 +00:00
Nick Clifton
8f4f2f295a Include target-supports.exp
From-SVN: r30448
1999-11-08 10:14:21 +00:00
Jeff Law
96c89f74bd Daily bump.
From-SVN: r30447
1999-11-08 01:45:07 -07:00
Alexandre Oliva
03645a0bc5 * Makefile.in (rtl.o): Depend on toplev.h.
From-SVN: r30446
1999-11-08 05:28:00 +00:00
Mark Mitchell
4da896b292 cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc.
* cse.c (delete_trivially_dead_insns): Replace alloca with
	xmalloc/xcalloc.
	* except.c (update_rethrow_references): Likewise.
	(init_eh_nesting_info): Likewise.
	* function.c (identify_blocks): Likewise.
	* gcse.c (dump_hash_table): Likewise.
	* graph.c (print_rtl_graph_with_bb): Likewise.
	* loop.c (combine_movables): Likewise.
	(move_movables): Likewise.
	(count_loop_regs_set): Likewise.
	(strength_reduce): Likewise.
	* profile.c (compute_branch_probabilities): New function, split
	out from ...
	(branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
	* regclass.c (regclass): Likewise.
	* regmove.c (regmove_optimize): Likewise.
	* toplev.c (compile_file): Likewise.
	(main): Don't mess with the stack rlimit.

From-SVN: r30445
1999-11-08 04:56:18 +00:00
Catherine Moore
8d17059017 elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
* config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
        (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.

From-SVN: r30444
1999-11-07 20:46:20 -05:00
Mark Mitchell
8004841847 cp-tree.h (begin_new_placement): Remove.
* cp-tree.h (begin_new_placement): Remove.
	(finish_new_placement): Likewise.
	* class.c (finish_struct_1): Don't suspend_momentary or
	resume_momentary.
	* decl.c (grokdeclarator): Likewise.
	(maybe_build_cleanup_1): Likewise.
	* except.c (push_eh_cleanup): Likewise.
	(build_terminate_handler): Likewise.
	* init.c (build_new_1): Likewise.
	* parse.y (parse_decl): Change prototype.
	(initdecls, notype_initdecls, initdcl): Don't return int.
	(initdcl0, notype_initdcl0, initdcl0_innards): Likewise.
	(.begin_new_placement): Remove.
	(.finish_new_placement): Likewise.
	(nonmomentary_expr): Likewise.
	(suspend_mom): Likewise.
	(condition): Don't suspend_momentary, resume_momentary, or keep
	track of need to resume.
	(unary_expr): Likewise.
	(new_placement): Likewise.
	(decl): Likewise.
	(structsp): Likewise.
	(new_type_id): Likewise.
	(maybe_parmlist): Likewise.
	(direct_after_type_declaration): Likewise.
	(direct_new_declarator): Likewise.
	(direct_abstract_declaration): Likewise.
	* parse.c: Regenerated.
	* pt.c (tsubst_expr): Don't suspend_momentary or resume_momentary.
	* semantics.c (begin_new_placement): Remove.
	(finish_new_placement): Likewise.

From-SVN: r30443
1999-11-07 22:21:30 +00:00
Mark Mitchell
1aecd750bb * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
From-SVN: r30442
1999-11-07 17:24:22 +00:00
Jeffrey A Law
36013ffc10 global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
* global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
        (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
        macro expansion.

From-SVN: r30441
1999-11-07 03:00:56 -07:00
Jeff Law
2aeeb5f430 Daily bump.
From-SVN: r30440
1999-11-07 01:45:06 -07:00
Anthony Green
a21d059766 ZipFile.java: Compute the offset of the ZipEntry data correctly.
* java/util/zip/ZipFile.java: Compute the offset of the ZipEntry
        data correctly.

From-SVN: r30439
1999-11-07 08:30:31 +00:00
Robert Lipe
309ca067d4 global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
From-SVN: r30438
1999-11-07 05:50:38 +00:00
Jeffrey A Law
092ae4ba98 gcse.c (post_dominators): Kill.
* gcse.c (post_dominators): Kill.
        (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
        (compute_code_hoist_data): Use compute_flow_dominators.  Do not
        pass in a pdom array since we do not need pdoms.
        * haifa-sched.c (schedule_insns): Similarly.
        * flow.c (compute_dominators): Remove dead function.
        (compute_flow_dominators): Do not compute doms or pdoms if the
        caller does not request them.  Split up loop to build doms and
        pdoms.  Use a worklist to compute doms and pdoms.
        * basic-block.h (compute_dominators): Remove prototype.

From-SVN: r30437
1999-11-06 17:36:35 -07:00
Martin v. Löwis
ea1fd42450 New test case.
From-SVN: r30436
1999-11-07 00:10:31 +00:00
Richard Henderson
f66d83e18a haifa-sched.c (struct haifa_insn_data, h_i_d): New.
* haifa-sched.c (struct haifa_insn_data, h_i_d): New.
        (insn_luid, insn_priority, insn_costs, insn_units): Remove.
        (insn_reg_weight, insn_depend, insn_dep_count): Remove.
        (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
        (cant_move, fed_by_spec_load, is_load_insn): Remove.
        (schedule_region): Remove unused variable.
        (schedule_insns): Allocate h_i_d, and not all the separate arrays.

From-SVN: r30435
1999-11-06 11:41:37 -08:00
Mark Mitchell
ff154f783f local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
* local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
	(update_equiv_regs): Likewise.
	(block_alloc): Likewise.
	* reg-stack.c (reg_to_stack): Likewise.
	(convert_regs_2): Likewise.
	* reload1.c (reload_as_needed): Likewise.

From-SVN: r30434
1999-11-06 19:09:26 +00:00
Mark Mitchell
951a525fef Makefile.in (dbxout.o): Depend on ggc.h.
* Makefile.in (dbxout.o): Depend on ggc.h.
	(dwarf2out.o): Likewise.
	(xcoffout.o): Likewise.
	* dbxout.c: Include ggc.h.
	(dbxout_init): Register lastfile as a root.
	* dwarf2out.c: Include ggc.h.
	(dwarf2out_line): Register lastfile as a root.
	* xcoffout.c: Include ggc.h.
	(xcoffout_source_line): Register xcoff_lastfile as a root.

From-SVN: r30433
1999-11-06 18:00:18 +00:00
Richard Henderson
e06981b09a * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
From-SVN: r30432
1999-11-06 09:53:01 -08:00
Martin v. Löwis
c683f030df bitset: Include limits.h.
* bitset: Include limits.h.
	* bitset (class bitset): Declare reference as our friend.

From-SVN: r30430
1999-11-06 16:20:39 +00:00
Catherine Moore
6518355866 svr4.h (ASM_DECLARE_FUNCTION): Check if already defined.
* config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
        defined.
        (ASM_DECLARE_FUNCTION_SIZE): Likewise.

From-SVN: r30429
1999-11-06 08:55:07 -05:00
Jeff Law
cd55cf682e Daily bump.
From-SVN: r30428
1999-11-06 01:45:07 -07:00
Jeff Law
6185845d48 Fix typo in last change
From-SVN: r30427
1999-11-05 16:35:47 -07:00
Martin v. Löwis
7c355bca10 cp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.
* cp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.
	(DECL_TEMPLATE_INFO): Use it.
	* decl.c (warn_extern_redeclared_static): Do nothing for
	TEMPLATE_DECLs.
	* decl2.c (mark_used): Explicitly check for function or variable.
	* semantics.c (finish_unary_op_expr): Check whether result is also
	an INTEGER_CST.

From-SVN: r30426
1999-11-05 23:11:58 +00:00
J"orn Rennecke
32c8d1bc1f global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
* global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
	(EXECUTE_IF_CONFLICT): Likewise.
	(ALLOCNO_LIVE_P): Avoid signed division.
	(SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
	(prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
	(record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.

From-SVN: r30425
1999-11-05 23:07:21 +00:00
Gabriel Dos Reis
36a6e29fbb valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures.
1999-11-05  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION):  When
        building meta-expressions don't forget to take the contained
        closures.

From-SVN: r30424
1999-11-05 22:26:12 +00:00
Tom Tromey
e4c4f09a1e * java/lang/natThread.cc (destroy): Removed incorrect comment.
From-SVN: r30423
1999-11-05 20:59:40 +00:00
Richard Henderson
b182031edf haifa-sched.c (schedule_block): Don't crash if there's no next insn for an interblock movement.
* haifa-sched.c (schedule_block): Don't crash if there's no
        next insn for an interblock movement.
        (add_branch_dependences): Don't allow clobber insns to move either.

From-SVN: r30422
1999-11-05 12:04:27 -08:00