Commit Graph

24937 Commits

Author SHA1 Message Date
Mike Stump 379a1ac170 Sort write-after people to match sorted order of the maintainers.
From-SVN: r30507
1999-11-12 19:03:22 +00:00
Kaveh R. Ghazi 4dc94be730 output.h (const_section, [...]): Add prototypes.
* output.h (const_section, init_section, fini_section): Add
        prototypes.

        * alpha/elf.h (const_section): Delete declaration.

        * svr4.h (const_section): Likewise.

From-SVN: r30506
1999-11-12 18:47:03 +00:00
Diego Novillo aafc9fd60d Undo patch from Nov/11/99 to init.c regarding misalignment of
cookie header for arrays of objects.

From-SVN: r30505
1999-11-12 12:45:10 -05:00
Mark Mitchell 2848ad0fd6 decl.c (compute_array_index_type): New function, split out from grokdeclarator.
* decl.c (compute_array_index_type): New function, split out from
	grokdeclarator.
	(create_array_type_for_decl): Likewise.
	(grokdeclarator): Use them.

	* semantics.c (expand_stmt): Don't suspend_momentary or
	resume_momentary.

From-SVN: r30504
1999-11-12 17:11:07 +00:00
Mark Mitchell d26f8097a3 tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
* tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
	* tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
	(unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
	expressions.
	* stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
	variable-sized array bounds.

From-SVN: r30503
1999-11-12 16:52:08 +00:00
Catherine Moore 109cceda87 defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use ASM_OUTPUT_LABEL.
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
        ASM_OUTPUT_LABEL.

From-SVN: r30502
1999-11-12 09:11:32 -05:00
Bernd Schmidt 15052bd18c Treat QImode addresses the same way GO_IF_LEGITIMATE_INDEX does.
From-SVN: r30500
1999-11-12 13:38:38 +00:00
Bernd Schmidt e428d7383b Remove useless code
From-SVN: r30499
1999-11-12 11:39:08 +00:00
Jeff Law 68ed151f7e Daily bump.
From-SVN: r30498
1999-11-12 01:45:07 -07:00
Jeffrey A Law cfb0346d03 function.c (diddle_return_value): Only clal hard_function_value when the return value is supposed to be in a register.
* function.c (diddle_return_value): Only clal hard_function_value
        when the return value is supposed to be in a register.

From-SVN: r30497
1999-11-12 00:38:32 -07:00
Jim Wilson d5e3f1513f Fix yet another gcc2 merge problem, this one broke linux kernel compiles
Fix yet another gcc2 merge problem, this one broke linux kernel compiles
        * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.

From-SVN: r30496
1999-11-11 20:34:37 -08:00
Jim Wilson f292dac5d5 Fix gdb testsuite failures caused by Kenner's bulk merge from gcc2.
* dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
	unsigned types.

From-SVN: r30495
1999-11-11 19:56:09 -08:00
Jeffrey A Law d3f2edaeb9 function.c (diddle_return_value): Use hard_function_value to get an rtx suitable for use in the USE/CLOBBER insn.
* function.c (diddle_return_value): Use hard_function_value to
        get an rtx suitable for use in the USE/CLOBBER insn.

From-SVN: r30494
1999-11-11 20:46:21 -07:00
Diego Novillo 35908e5588 Moved ChangeLog entry to its proper place.
From-SVN: r30493
1999-11-11 21:03:47 -05:00
Jeffrey A Law bdc24974c8 global.c (global_conflicts): Update comments.
* global.c (global_conflicts): Update comments.
        (record_conflicts): No need to record conflicts between pseudos here.

From-SVN: r30492
1999-11-11 18:56:17 -07:00
Diego Novillo e55b279b6d init.c (init_init_processing): Header information for arrays allocated via `new' should have the same...
* gcc/cp/init.c (init_init_processing): Header information for
	arrays allocated via `new' should have the same alignment used by
	malloc.

From-SVN: r30491
1999-11-11 14:43:02 -05:00
Bruce Korb b35926b9c5 Added verbose levels for status messages
From-SVN: r30490
1999-11-11 14:57:55 +00:00
Alexandre Oliva f185457abf * template9.C: New test.
From-SVN: r30489
1999-11-11 14:39:01 +00:00
Joern Rennecke 7467c975b3 Removed obsolete comment.
From-SVN: r30488
1999-11-11 14:36:30 +00:00
Bernd Schmidt 665853dc7a Avoid passing things like NEG into expand_and/expand_binop
From-SVN: r30487
1999-11-11 12:26:29 +00:00
Rodney Brown d7627b79c5 xcoffout.c (xcoffout_source_file): Change ggc_add_root to gcc_add_string_root.
* xcoffout.c (xcoffout_source_file): Change ggc_add_root to
	gcc_add_string_root.

From-SVN: r30486
1999-11-11 10:22:10 +00:00
Mark Mitchell 0bad3be953 Add myself as a C++ maintainer again
From-SVN: r30485
1999-11-11 10:20:49 +00:00
Jeffrey A Law ce72425040 flow.c (compute_flow_dominators): Initially put all blocks on the worklist.
* flow.c (compute_flow_dominators): Initially put all blocks on
        the worklist.
        * lcm.c (compute_antinout_edge, compute_available): Similarly.
        * gcse.c (compute_cprop_avinout): Remove.
        (compute_cprop_data): Use compute_available.
        (delete_null_pointer_checks_1): Use compute_available.

From-SVN: r30484
1999-11-11 02:21:12 -07:00
Jeff Law cc2bd962da Daily bump.
From-SVN: r30483
1999-11-11 01:45:07 -07:00
Jeffrey A Law bd0eaec24a basic-block.h (compute_available): Returns a void now.
* basic-block.h (compute_available): Returns a void now.
        * gcse.c (one_classic_gcse_pass): Do not expect compute_available
        to return a value anymore.
        * lcm.c (compute_available, compute_antinout_edge): Revamp to use
        worklists.  Fix boundary cases. Compute maximal solutions.
        (compute_laterin, compute_nearerout): Similarly.

From-SVN: r30482
1999-11-10 23:38:15 -07:00
Jason Eckhardt 2a2ea744a9 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
From-SVN: r30481
1999-11-11 03:32:40 +00:00
Jeffrey A Law bce8fed776 dwarf2out.c (add_AT_location_description): Allow (mem (plus (pseudo) (...)) too.
* dwarf2out.c (add_AT_location_description): Allow
        (mem (plus (pseudo) (...)) too.

From-SVN: r30480
1999-11-10 15:57:48 -07:00
Mark Mitchell 05fd666b63 error.c (dump_function_name): Don't crash if given a friend pseudo-instantiation.
* error.c (dump_function_name): Don't crash if given a friend
	pseudo-instantiation.

From-SVN: r30479
1999-11-10 22:31:29 +00:00
Tom Tromey a1d9074cf1 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
From-SVN: r30478
1999-11-10 19:59:20 +00:00
Philippe De Muyter 6c9821b783 ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
include:
        * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.

gcc:
        * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.

        * gansidecl.h: Likewise.

        * rtl.c: Likewise.

        * rtl.h: Likewise.

        * toplev.h: Likewise.

        * tree.c: Likewise.

        * tree.h: Likewise.

        * varray.c: Likewise.

        * varray.h: Likewise.

gcc/cp:
        * cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.

gcc/f:
        * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r30477
1999-11-10 17:57:21 +00:00
Clinton Popetz 8bfa6fc532 gcov.c (struct arcdata): Add hits and total, remove prob.
* gcov.c (struct arcdata): Add hits and total, remove prob.
	(output_branch_counts): New.
	(process_args): Set output_branch_counts if -c.
	(calculate_branch_probs): Store hits and total instead of
	percentage.
	(output_data): Emit counts if output_branch_counts is true.
	* gcov.texi (Invoking Gcov): Document -c switch..

From-SVN: r30476
1999-11-10 12:17:15 -05:00
Jeffrey A Law 36dd3a44a3 * hashtab.c: Include stdio.h.
From-SVN: r30475
1999-11-10 09:45:34 -07:00
Clinton Popetz 989b6dfcd7 Added myself as "write after approval"
From-SVN: r30474
1999-11-10 10:20:16 -05:00
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