Commit Graph

24952 Commits

Author SHA1 Message Date
Jeff Law 78df89edfa Daily bump.
From-SVN: r30522
1999-11-13 01:45:06 -07:00
Mike Stump a991240f97 Fix typo.
From-SVN: r30521
1999-11-13 06:53:03 +00:00
Mark Mitchell 364460b6fb decl.c (cplus_expand_expr_stmt): Don't call break_out_cleanups here.
* decl.c (cplus_expand_expr_stmt): Don't call break_out_cleanups
	here.
	* semantics.c (finish_expr_stmt): Call it here instead.  Move
	default_conversion logic to semantic-analysis time.

From-SVN: r30520
1999-11-13 04:48:05 +00:00
Jeffrey A Law 2cfcc23e7f function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as needed.
* function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
        needed.

From-SVN: r30519
1999-11-12 20:54:56 -07:00
Zack Weinberg 283bd699e3 Fix misspelled name
From-SVN: r30518
1999-11-13 03:23:07 +00:00
Zack Weinberg c2b8394607 Test for optimizer bug with -finline-functions.
Reported by Jim Meyering; distilled from bash.

From-SVN: r30517
1999-11-13 03:22:35 +00:00
Michael Hayes 3db377a9b3 defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro definition in do while (0).
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
 	definition in do while (0).

From-SVN: r30516
1999-11-13 03:22:26 +00:00
Jim Wilson 2f985ca642 Fix another gcc2 merge problem: fix switch statement ISO C conformancs bug
Fix another gcc2 merge problem: fix switch statement ISO C conformancs bug
	* stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.

From-SVN: r30515
1999-11-12 17:04:19 -08:00
Jason Merrill 3fa4114a49 * rtti.c (synthesize_tinfo_fn): Set DECL_DEFER_OUTPUT.
From-SVN: r30514
1999-11-12 17:25:42 -05:00
Richard Henderson 1953b2a3b1 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
From-SVN: r30513
1999-11-12 12:44:13 -08:00
Vladimir Makarov 11a6bfd046 Removing one unnecessary comment. It should be in the previous i960.h patch.
From-SVN: r30512
1999-11-12 20:28:43 +00:00
Vladimir Makarov bcf783f48c i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>

	* i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
	(FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
	(ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
	(INITIAL_FRAME_POINTER_OFFSET): Remove it.

	* i960.c (i960_function_prologue): Don't allocate space for g8-g11
 	saved on the stack.  Output more accurate stack frame statistics
	into assembler file.

From-SVN: r30511
1999-11-12 20:26:29 +00:00
Diego Novillo 3ca7341a22 init.c (init_init_processing): Re-instated Nov 11 patch after approval.
* init.c (init_init_processing): Re-instated Nov 11 patch after
	approval.

From-SVN: r30510
1999-11-12 14:59:01 -05:00
Zack Weinberg 8ad1aa564d genextract.c (record_insn_name): New function.
1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>

	* genextract.c (record_insn_name): New function.
	(get_insn_name): No longer a stub.
	(main): Call record_insn_name for each insn.  After each label
	written, print the insn name in a comment.

From-SVN: r30509
1999-11-12 19:48:14 +00:00
Mike Stump 138e69050a Date...
Date: Sun, 20 Dec 1998 22:07:16 -0700
Message-ID: <10469.914216836@upchuck>
From: Jeffrey A Law <law@upchuck.cygnus.com>

Update the MAINTAINERS file and the next time you encounter one of these
obviously correct fixes send a copy of the patch you checked in to egcs-patches
with a note that you checked the patch in.

jeff

From-SVN: r30508
1999-11-12 19:13:06 +00:00
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