Commit Graph

15956 Commits

Author SHA1 Message Date
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
Mark Mitchell
a9c3c9a520 New test.
From-SVN: r18847
1998-03-26 14:22:54 +00:00
Jason Merrill
b3e4ff59a3 call.c (build_over_call): Check IS_AGGR_TYPE, not TYPE_LANG_SPECIFIC.
* call.c (build_over_call): Check IS_AGGR_TYPE, not
	TYPE_LANG_SPECIFIC.
	* typeck.c (convert_arguments): Likewise.

From-SVN: r18846
1998-03-26 07:21:13 -05:00
Benjamin Kosnik
56d4b6fdcb }
if 0 ambiguous test case

From-SVN: r18845
1998-03-26 12:02:04 +00:00
Jason Merrill
ac50abcebb revert
From-SVN: r18844
1998-03-26 06:41:23 -05:00
Jason Merrill
18922a6bca decl.c (grokdeclarator): Remove const and volatile from type after setting constp and volatilep.
* decl.c (grokdeclarator): Remove const and volatile from type after
	setting constp and volatilep.
	* class.c (finish_struct_1): Don't warn about bool bitfield larger
	than one bit.

From-SVN: r18843
1998-03-26 06:16:45 -05:00
J"orn Rennecke
812f205146 regclass.c (record_reg_classes): '?' increases cost by two.
* regclass.c (record_reg_classes): '?' increases cost by two.
	* reload.c (find_reloads): Double previous costs.  Output
	reloads cost one unit extra.
	* reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
	boiled down to && ! 0.
	* reload.c (find_equiv_reg): Also consider a goal offset from the
	frame pointer to be constant.

From-SVN: r18842
1998-03-26 10:44:22 +00:00
Mark Mitchell
49bf0d6f80 pt.c (convert_nontype_argument): STRIP_NOPS where appropriate.
Thu Mar 26 10:25:52 1998  Mark Mitchell  <mmitchell@usa.net>
	* pt.c (convert_nontype_argument): STRIP_NOPS where appropriate.

From-SVN: r18841
1998-03-26 10:32:04 +00:00
Jeffrey A Law
00459c3ad1 acinclude.m4: Bring back changes lost during merge.
* acinclude.m4: Bring back changes lost during merge.
        (mostly Cygwin, automake and EGCS_PROG_INSTALL stuff).
        * aclocal.m4: Likewise.
        * configure.in: Likewise.

From-SVN: r18840
1998-03-26 03:30:41 -07:00
Mark Mitchell
734e8cc58d call.c (build_object_call): Complain about ambiguous operator(), rather that crashing.
* call.c (build_object_call): Complain about ambiguous operator(),
	rather that crashing.
	(build_new_op): Likewise.
	(build_op_delete_call): Likewise.

From-SVN: r18839
1998-03-26 10:26:43 +00:00
Mark Mitchell
17b75c9182 cvt.c (perform_qualification_conversions): Use comp_target_types instead of comp_ptr_ttypes.
* cvt.c (perform_qualification_conversions): Use comp_target_types
	instead of comp_ptr_ttypes.

From-SVN: r18838
1998-03-26 10:23:14 +00:00
J"orn Rennecke
04d02ece5e * sh.h (OPTIMIZATION_OPTIONS): Define.
From-SVN: r18837
1998-03-26 10:17:32 +00:00
Richard Henderson
6f28d3e982 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
From-SVN: r18836
1998-03-25 16:20:08 -08:00
Jeff Law
7eea64437a haifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET instead of calling REGNO_REG_SET_P for each pseudo.
* haifa-sched.c (find_post_sched_live): Use EXECUTE_IF_SET_IN_REG_SET
        instead of calling REGNO_REG_SET_P for each pseudo.
        (update_reg_usage): Likewise.
        (compute_block_backward)dependences): Do not call "free_list" for
        an empty list.
Improves compile times by about 7% on average on my PAs.

From-SVN: r18835
1998-03-25 15:58:40 -07:00