Commit Graph

15969 Commits

Author SHA1 Message Date
Jeffrey A Law
942632ac1b except.c (do_unwind): Delete dead function.
* except.c (do_unwind): Delete dead function.
        (easy_expand_asm): Likewise.

From-SVN: r18898
1998-03-29 05:33:51 -07:00
Jeffrey A Law
228fab4ab6 * cvt.c (build_conversion_type_1): Delete dead function.
From-SVN: r18897
1998-03-29 05:31:34 -07:00
Jeffrey A Law
00c493f2c2 * cp-tree.h (push_expression_obstack): Declare.
From-SVN: r18896
1998-03-29 05:30:13 -07:00
Jeffrey A Law
3a87a9f588 i * call.c (source_type): #if 0 out.
From-SVN: r18895
1998-03-29 05:28:21 -07:00
Jeffrey A Law
234042f471 Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and $(RTL_H).
* Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
        $(RTL_H).
        (stor-layout.o): Likewise.
        * c-typeck.c: Include rtl.h and expr.h.
        * stor-layout.c: Likewise.

From-SVN: r18894
1998-03-29 04:54:09 -07:00
Jeffrey A Law
72e1947054 cpplib.c (cpp_file_line_for_message): Delete unused parameter.
* cpplib.c (cpp_file_line_for_message): Delete unused parameter.
        All callers changed.
        (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
        * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
        All callers changed.

From-SVN: r18893
1998-03-29 04:51:23 -07:00
Jeffrey A Law
40c3a857ac * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
From-SVN: r18892
1998-03-29 04:49:10 -07:00
Jeffrey A Law
c80150b791 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
From-SVN: r18891
1998-03-29 04:47:52 -07:00
Jeffrey A Law
31ed227bc6 * tree.h (lang_print_xnode): Provide prototype.
From-SVN: r18890
1998-03-29 04:46:20 -07:00
Jeffrey A Law
fe77629698 Bump for snapshot
From-SVN: r18888
1998-03-28 16:50:46 -07:00
Jeffrey A Law
430bb96baa class.c (alter_access): Remove unused label.
* class.c (alter_access): Remove unused label.  Add braces
        around empty else clause.
        * lex.c (yyprint): Fix argument to printf.

From-SVN: r18887
1998-03-28 16:49:35 -07:00
Jeffrey A Law
3ac2735b19 sendmsg.c (__objc_block_forward): Add braces for return value if INVISIBLE_STRUCT_RETURN.
* objc/sendmsg.c (__objc_block_forward): Add braces for return
        value if INVISIBLE_STRUCT_RETURN.

From-SVN: r18886
1998-03-28 16:47:41 -07:00
Jeffrey A Law
f2b147f711 * pa.c (arith_double_operand): Fix parens.
From-SVN: r18885
1998-03-28 16:46:19 -07:00
Jeffrey A Law
c4fa346037 * haifa-sched.c (print_pattern): Correct arg to sprintf.
From-SVN: r18884
1998-03-28 16:45:08 -07:00
Jeffrey A Law
f1b03ce152 * Makefile.in (libgcc1.null): Make return type for __foo void.
From-SVN: r18883
1998-03-28 16:43:54 -07:00
Mark Mitchell
b4c4a9ecbe pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
	* pt.c (instantiate_class_template): Make sure template
	arguments are permanent.
	* init.c (resolve_offset_ref): Don't go looking around in
	template types.
	* semantics.c: Add routines to handle expressions, and some
	declaration processing.
	* parse.y: Use them.
	(current_class_depth): Move declaration to cp-tree.h.
	* parse.c: Regenerated.
	* cp-tree.h: Use them.
	(current_class_depth): Declare.
	* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.

From-SVN: r18882
1998-03-28 17:47:07 +00:00
Jeffrey A Law
ba0b8436b0 * pa.h: Add declarations for many functions defined in pa.c.
From-SVN: r18881
1998-03-28 07:17:48 -07:00
Jeffrey A Law
67ac5957db genpeep.c (main): Remove unused variable 'i' from the generated file.
* genpeep.c (main): Remove unused variable 'i' from the generated
        file.

From-SVN: r18880
1998-03-28 07:15:37 -07:00
Jeffrey A Law
c38d8c5bb3 genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
* genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
        (gen_split): Likewise.
        (main): Rework generated definitions of DONE and FAIL so that they
        no longer use gotos.  Avoids warnings about unused labels.

From-SVN: r18879
1998-03-28 06:55:34 -07:00
Jeffrey A Law
d6e6c585a1 integrate.c (copy_rtx_and_substitute): Rework to avoid need for unused "junk" variable.
* integrate.c (copy_rtx_and_substitute): Rework to avoid need for
        unused "junk" variable.

From-SVN: r18878
1998-03-28 06:45:47 -07:00
Jeffrey A Law
2e61a5a5d4 genattrtab.c (write_complex_function): Add a default case in generated switch statement to keep -W -Wall quiet.
* genattrtab.c (write_complex_function): Add a default case in
        generated switch statement to keep -W -Wall quiet.

From-SVN: r18877
1998-03-28 06:40:07 -07:00
Nick Clifton
157a620e8a Add documentation of more ARM command line options.
Add documentation of Thumb command line options.

From-SVN: r18876
1998-03-28 13:15:57 +00:00
Dave Love
43ffadb375 * Make-lang.in (f771$(exeext)): Fix typpo.
From-SVN: r18875
1998-03-28 11:19:04 +00:00
Dave Love
557194bcf8 (f771$(exeext)): Fix typpo.
From-SVN: r18874
1998-03-28 11:18:05 +00:00
Nick Clifton
0b26e56d0f New file.
From-SVN: r18873
1998-03-28 10:48:55 +00:00
Jason Merrill
4af466d08e tweak
From-SVN: r18872
1998-03-28 05:06:19 -05:00
Jason Merrill
845dc1e631 tweak
From-SVN: r18871
1998-03-27 22:08:30 -05:00
Jason Merrill
72404d452c new
From-SVN: r18870
1998-03-27 22:08:12 -05:00
Jason Merrill
d3a8592787 fix
From-SVN: r18869
1998-03-27 21:18:45 -05:00
Jason Merrill
3c2a098352 update
From-SVN: r18868
1998-03-27 20:57:58 -05:00
Craig Burley
667332c28a * bugs.texi: Various updates.
From-SVN: r18867
1998-03-27 17:46:00 -07:00
Craig Burley
d2723ca087 lang-options.h: Sort all -f*-intrinsics-* options, for consistency with other g77 versions.
* lang-options.h: Sort all -f*-intrinsics-* options,
        for consistency with other g77 versions.
Another patch from Craig.

From-SVN: r18866
1998-03-27 17:43:32 -07:00
Craig Burley
600a4ce72b stmt.c (expand_expr_stmt): Must generate code for statements within an expression (gcc's `({ ...
* stmt.c (expand_expr_stmt): Must generate code for
        statements within an expression (gcc's `({ ... )}')
        even if -fsyntax-only.
Patch from Craig.

From-SVN: r18865
1998-03-27 17:38:46 -07:00
Craig Burley
f861f67479 * com.c (ffecom_tree_canonize_ptr_): Fix up spacing a bit.
From-SVN: r18864
1998-03-27 17:35:33 -07:00
Craig Burley
14a378ec2a expr.c (ffeexpr_sym_impdoitem_): Don't blindly reset symbol info after calling ffesymbol_error, to avoid crash.
* expr.c (ffeexpr_sym_impdoitem_): Don't blindly
        reset symbol info after calling ffesymbol_error,
        to avoid crash.
Another patch from Craig.

From-SVN: r18863
1998-03-27 17:30:11 -07:00
Jeff Law
adb15a1a68 Tweak from Craig.
From-SVN: r18862
1998-03-27 17:29:00 -07:00
Craig Burley
a051827081 u77-test.f: Don't bother declaring etime.
* libU77/u77-test.f: Don't bother declaring etime.
        Use `implicit none' and declare mask and lenstr.
        Do ETIME/DTIME consistency check before loop, then
        use loop to verify that dtime "ticks" at some point.
        Check ETIME array-sum using single-precision add, to
        avoid spurious complaint on systems (like x86) that
        use more precision for intermediate results.
        Fix `Results of ETIME and DTIME...' message to print
        pertinent values (r1 and r2 instead of i and j).
        Change loop from 10M to 1K repeated up to 1000 times
        or until dtime "ticks".
        Print the number of 1K loops needed to see this tick.
        Answer a commented question.
        Split up a long line of output and do other prettying.
        Preset lognam in case GETLOG fails to overwrite it.
Patch from Craig.

From-SVN: r18861
1998-03-27 17:28:21 -07:00
Bernd Schmidt
4d1d804584 basic-block.h (basic_block_computed_jump_target): Declare.
* basic-block.h (basic_block_computed_jump_target): Declare.
	* flags.h: (current_function_has_computed_jump): Declare.
	* flow.c: (basic_block_computed_jump_target): Define.
	(flow_analysis): Allocate it. Set current_function_has_computed_jump
	to 0.
	(find_basic_blocks): Set current_function_has_computed_jump and
	elements of basic_block_computed_jump_target to 1 as appropriate.
	* function.c: (current_function_has_computed_jump): Define.
	* global.c (global_conflicts): Don't allocate pseudos into stack regs
	at the start of a block that is reachable by a computed jump.
	* reg-stack.c (stack_reg_life_analysis): If must restart, do so
	immediately.
	(subst_stack_regs): Undo change from Sep 4 1997.
	(uses_reg_or_mem): Now unused, deleted.
	* stupid.c (stupid_life_analysis): Compute
	current_function_has_computed_jump.
	(stupid_find_reg): Don't allocate stack regs if the function has a
	computed goto.
        * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
        the current function has a computed jump.  Use the global value
        instead.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r18860
1998-03-27 17:12:41 -07:00
Jeffrey A Law
56f28b73e7 freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
* i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
        (DWARF2_UNWIND_INFO): Define to zero.
David E. O'Brien sez it's the right thing to do.

From-SVN: r18859
1998-03-27 16:23:10 -07:00
Mark Mitchell
a9936d39ea error.c (dump_decl): Be a bit more explicit with template type arguments, when verbose.
* error.c (dump_decl): Be a bit more explicit with template
	type arguments, when verbose.

From-SVN: r18858
1998-03-27 20:25:21 +00:00
Jason Merrill
fae4153b40 * inc/exception: Reorder closing braces.
From-SVN: r18857
1998-03-27 13:17:29 -05:00
Michael Meissner
6ed4bb9a67 Make GCC_EXEC_PREFIX work again
From-SVN: r18856
1998-03-27 14:20:40 +00:00
Mark Mitchell
7fe6899fb7 pt.c (redeclare_class_template): New function.
* pt.c (redeclare_class_template): New function.
	* cp_tree.h (redeclare_class_template): Declare it.
	* decl.c (xref_tag): Use it.

From-SVN: r18855
1998-03-27 13:23:03 +00:00
Joern Rennecke
7daa142bd6 Typo fix.
From-SVN: r18854
1998-03-27 10:16:30 +00:00
J"orn Rennecke
1f3fa20e05 * sh.c (find_barrier): Fix calculations for alignemnt increase.
From-SVN: r18853
1998-03-27 10:12:02 +00:00
Manfred Hollstein
7a79083780 Makefile.in (stmp-fixinc): If we're actually fixing include files...
a
	* Makefile.in (stmp-fixinc): If we're actually fixing include
	files, copy gcc's assert.h into the fixed include dir.
	* fixincludes (assert.h): Avoid any attempts to fix a probably
	broken system specific assert.h file.
	* fixproto (stdlib.h): Make sure, it'll contain a definition of
	size_t.

From-SVN: r18852
1998-03-27 00:01:08 +00:00
Manfred Hollstein
1ab0e56783 Makefile.in (stmp-fixinc): If we're actually fixing include files...
d
	* Makefile.in (stmp-fixinc): If we're actually fixing include
	files, copy gcc's assert.h into the fixed include dir.
	* fixincludes (assert.h): Avoid any attempts to fix a probably
	broken system specific assert.h file.
	* fixproto (stdlib.h): Make sure, it'll contain a definition of
	size_t.

From-SVN: r18851
1998-03-27 00:01:06 +00:00
Manfred Hollstein
d8a0154e51 Makefile.in (stmp-fixinc): If we're actually fixing include files...
0
	* Makefile.in (stmp-fixinc): If we're actually fixing include
	files, copy gcc's assert.h into the fixed include dir.
	* fixincludes (assert.h): Avoid any attempts to fix a probably
	broken system specific assert.h file.
	* fixproto (stdlib.h): Make sure, it'll contain a definition of
	size_t.

From-SVN: r18850
1998-03-27 00:01:04 +00:00
Jeffrey A Law
64d3b4ca2d regclass.c (reg_scan_mark_refs): Be more selective about when we mark a register with REGNO_POINTER_FLAG.
* regclass.c (reg_scan_mark_refs): Be more selective about
        when we mark a register with REGNO_POINTER_FLAG.

From-SVN: r18849
1998-03-26 16:51:11 -07:00
J"orn Rennecke
e6e52be073 reload inheritance improvement:
* reload1.c (reg_reloaded_contents, reg_reloaded_insn):
	Change meaning: index is now hard reg number.
	(reg_reloaded_valid, reg_reloaded_dead): New variables.
	(reload_spill_index): Content is now a hard reg number.
	(reload_as_needed): Change to fit new variable meaning.
	(forget_old_reloads_1, allocate_reload_reg): Likewise.
	(choose_reload_regs, emit_reload_insns): Likewise.

From-SVN: r18848
1998-03-26 15:08:53 +00:00