Commit Graph

19007 Commits

Author SHA1 Message Date
Graham Stott
2a92c071f8 flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
Fri Oct  9 16:03:19 1998  Graham  <grahams@rcp.co.uk>
        * flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
        * gcc.c (add_preprocessor_option): Correct typo when allocating
        memory, sizeof() argument had one too many `*'.
        (add_assembler_option): Likewise.
        (add_linker_option): Likewise.
        * gcov.c (output_data): Likewise.
        * local-alloc.c (memref_used_between_p): Likewise.
        (update_equiv_regs): Likewise.
        * loop.c (strength_reduce): Likewise.
        * reg-stack.c (record_asm_reg_life): Likewise.
        (subst_asm_stack_reg): Likewise.
        * reorg.c (dbr_schedule): Likewise.

From-SVN: r22964
1998-10-09 09:08:51 -07:00
Bernd Schmidt
dc2ede84e6 flow.c (life_analysis_1): Break out some functions.
Fri Oct  9 15:57:51 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
        * flow.c (life_analysis_1): Break out some functions.
        (find_basic_blocks_1): Likewise.  Also move some variables out and
        make them static.
        Rename NONLOCAL_LABEL_LIST arg to NONLOCAL_LABELS and initialize
        new static var nonlocal_label_list with it.
        (active_eh_region, nested_eh_region, label_value_list,
        nonlocal_label_list): New static variables.
        (make_edges, delete_unreachable_blocks, delete_block): New static
        functions, broken out of find_basic_blocks_1.
        (record_volatile_insns, mark_regs_live_at_end, set_noop_p,
        noop_move_p): New static functions, broken out of life_analysis_1.

From-SVN: r22963
1998-10-09 08:58:37 -07:00
Richard Henderson
d006aa54ba expmed.c (store_bit_field): Pun non-integral str_rtx modes.
* expmed.c (store_bit_field): Pun non-integral str_rtx modes.
        Take extra care for op0 now possibly being a subreg.
        (extract_bit_field): Likewise.
        * function.c (purge_addressof_1): Revert Oct 4 change.  Drop
        the reg to memory if there is no equal sized integral mode.
        * stor-layout.c (int_mode_for_mode): New function.
        * machmode.h: Prototype it.

From-SVN: r22962
1998-10-09 08:50:25 -07:00
Jeffrey A Law
3663a3047f global.c (build_insn_chain): Verify no real insns exist past the end of the last basic block, then exit the loop.
* global.c (build_insn_chain): Verify no real insns exist past the
        end of the last basic block, then exit the loop.

From-SVN: r22961
1998-10-09 07:28:55 -06:00
Mark Mitchell
a9e6be8ed0 search.c (expand_upcast_fixups): Tweak to match 1998-10-07 change to vtable types.
* search.c (expand_upcast_fixups): Tweak to match 1998-10-07
	change to vtable types.

From-SVN: r22959
1998-10-09 11:01:42 +00:00
Mark Mitchell
953360c815 cvt.c (ocp_convert): Avoid infinite recursion caused by 1998-10-03 change.
* cvt.c (ocp_convert): Avoid infinite recursion caused by
	1998-10-03 change.

From-SVN: r22958
1998-10-09 10:32:01 +00:00
Kaveh R. Ghazi
297a6bfc70 Warning fixes:
* ch-tree.h (build_delay_case_end): Remove unused parameter.
        (build_receive_case_end): Likewise.
        (check_queue_size): Likewise.
        * parse.c: Callers changed.
        * satisfy.c: Likewise.
        * tasking.c (build_receive_buffer_case_end): Remove unused
        parameter `label_cnt'.
        (build_receive_signal_case_end): Likewise.
        (build_receive_case_end): Likewise.
        (build_delay_case_end): Likewise.
        (check_queue_size): Likewise for parameter `type'.
        All callers changed.

From-SVN: r22957
1998-10-09 10:08:26 +00:00
Alexandre Oliva
f9fad1f531 expr6.C: New test.
* g++.old-deja/g++.pt/expr6.C: New test.  operator?: breaks
	matching of template brackets.
(forgot to cvs add it yesterday)

From-SVN: r22956
1998-10-09 09:48:27 +00:00
David Edelsohn
400d63220a * loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.
From-SVN: r22955
1998-10-09 04:42:34 -04:00
Jason Merrill
3fe88ebf0d new
From-SVN: r22954
1998-10-08 22:08:19 -04:00
Jeff Law
ae66ef838f Daily bump.
From-SVN: r22953
1998-10-08 18:45:02 -06:00
Ian Lance Taylor
1b409d25b8 config.guess: Merge with FSF.
* config.guess: Merge with FSF.
Merged with devo.

From-SVN: r22952
1998-10-08 18:15:05 -06:00
Jason Merrill
34016c8137 pt.c (resolve_overloaded_unification): New fn.
* pt.c (resolve_overloaded_unification): New fn.
	(try_one_overload): Likewise.
	(unify): Don't fail on unknown type.
	(type_unification_real): Likewise.  Use resolve_overloaded_unification
	to handle an overloaded argument.
	(template_args_equal): Split out...
	(comp_template_args): From here.
	(determine_specialization): Also allow a template with more
	parms than were explicitly specified.
	* cp-tree.h: Add template_args_equal.
	* call.c (resolve_args): Remove TEMPLATE_ID_EXPR code.

From-SVN: r22951
1998-10-08 20:10:57 -04:00
Ian Lance Taylor
85ee60379d config.sub: Merge with FSF.
8
	* config.sub: Merge with FSF.
	* config.sub: Accept m68060 and m5200 as CPU names.
Merge with devo/config.sub.

From-SVN: r22950
1998-10-08 18:07:36 -06:00
Ian Lance Taylor
466456d9d7 config.sub: Merge with FSF.
�
	* config.sub: Merge with FSF.
	* config.sub: Accept m68060 and m5200 as CPU names.
Merge with devo/config.sub.

From-SVN: r22949
1998-10-08 18:07:35 -06:00
Ian Lance Taylor
6755ff7314 config-ml.in: Default to being verbose, to match Feb 18 change to configure.
* config-ml.in: Default to being verbose, to match Feb 18 change to
        configure.

From-SVN: r22948
1998-10-08 17:34:45 -06:00
Ian Lance Taylor
fbd836fca0 Various libtool updates from devo, including update to libtool 1.2b
From-SVN: r22947
1998-10-08 17:32:31 -06:00
Ian Lance Taylor
8af1427536 missing: Update to version from automake 1.3.
Wed Jun 10 11:19:47 1998  Ian Lance Taylor  <ian@cygnus.com>
        * missing: Update to version from automake 1.3.
Bring over from devo.

From-SVN: r22946
1998-10-08 17:28:38 -06:00
Marc Lehmann
9f2f70f404 ylwrap: Change absolute path checks to check for DOS style path names.
�
        * ylwrap: Change absolute path checks to check for DOS style path
        names.
        * ylwrap: Don't use a full path name if the source file is in the
        same directory.  From hjl@lucon.org (H.J. Lu).
Brought over from devo.

From-SVN: r22945
1998-10-08 17:26:54 -06:00
Marc Lehmann
1e025bde1d ylwrap: Change absolute path checks to check for DOS style path names.
�
        * ylwrap: Change absolute path checks to check for DOS style path
        names.
        * ylwrap: Don't use a full path name if the source file is in the
        same directory.  From hjl@lucon.org (H.J. Lu).
Brought over from devo.

From-SVN: r22944
1998-10-08 17:26:53 -06:00
Gavin Koch
d9fc1697ef Makefile.in (EXPECT): Look for "expect" in the correct place.
* Makefile.in (EXPECT) : Look for "expect" in the correct
        place.

From-SVN: r22943
1998-10-08 17:13:20 -06:00
Jeff Law
36af8b6513 backport: libiberty.h (xexit): Change decl to use modern GCC attribute to indicate exit does not return.
* Merge devo and egcs include directories.
1998-08-03  Jason Molenda  (jsm@bugshack.cygnus.com)
      * libiberty.h (xexit): Change decl to use modern GCC attribute
      to indicate exit does not return.

From-SVN: r22942
1998-10-08 17:04:13 -06:00
Jeff Law
ca6b370dc8 Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
* Merge egcs & devo libiberty.

From-SVN: r22941
1998-10-08 16:48:52 -06:00
Ovidiu Predescu
8398bbfb8f Add Ovidiu Predescu for objective-c maint.
From-SVN: r22940
1998-10-08 22:19:22 +00:00
Jeff Law
73532e4323 Fix thinko in last change.
From-SVN: r22939
1998-10-08 15:22:45 -06:00
Jeffrey A Law
fed3e40834 * toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
From-SVN: r22938
1998-10-08 15:21:48 -06:00
Jeff Law
990c642c89 emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
* emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
        * cpplib.h: Protect from multiple inclusions.
        * cpplib.c: Fix minor formatting problems.

From-SVN: r22937
1998-10-08 15:09:20 -06:00
David Edelsohn
5a41b47635 * rs6000.h (RTX_COSTS): Add PROCESSOR_PPC604e cases.
From-SVN: r22936
1998-10-08 17:04:53 -04:00
Jeff Law
c675621fcc Update copyright dates.
From-SVN: r22934
1998-10-08 13:17:41 -06:00
Jeffrey A Law
338ed9bc7c * i386/xm-cygwin32.h: Only define POSIX if it is not already defined.
From-SVN: r22933
1998-10-08 13:16:44 -06:00
Jeff Law
96fc0606e3 From Brendan:
date: 1998/07/15 18:18:49;  author: brendan;  state: Exp;  lines: +2 -2
dd expected warning, remove first error loc (now only on line 13)

From-SVN: r22932
1998-10-08 12:21:50 -06:00
Nick Clifton
ba0dcc87be * gcc.dg/dll-?.c Add thumb to target list.
Fix assembler scan patterns to match current assembler output.

From-SVN: r22931
1998-10-08 12:17:00 -06:00
Jeff Law
edf39d97d2 Update copyrights.
From-SVN: r22930
1998-10-08 12:10:07 -06:00
Jeffrey A Law
428a55dee2 * jump.c (jump_optimize): Revert accidental patch.
From-SVN: r22929
1998-10-08 11:45:02 -06:00
Richard Henderson
c2b7e122db flow.c (find_basic_blocks): Correctly determine when a call is within an exception region.
* flow.c (find_basic_blocks): Correctly determine when a call
        is within an exception region.

From-SVN: r22928
1998-10-08 10:01:01 -07:00
Jeffrey A Law
0cc291f759 Makefile.in (cpplib.o): Use unlibsubdir.
* Makefile.in (cpplib.o): Use unlibsubdir.
Somehow lost during unlibsubdir changes.

From-SVN: r22925
1998-10-08 10:17:12 -06:00
Anthony Green
6e9438cf7c semantics.c (finish_asm_stmt): Revert my 1998-09-28 change.
* semantics.c (finish_asm_stmt): Revert my 1998-09-28
	change.

From-SVN: r22924
1998-10-08 16:04:13 +00:00
Catherine Moore
dfa8a4ddfd * execute/941014-1.x: New file.
From-SVN: r22923
1998-10-08 08:11:11 -06:00
Jim Wilson
12f289ac32 Fix for powerpc/c4x problem with missed loop optimizations.
* loop.c (get_condition): Allow combine when either compare is
	VOIDmode.

From-SVN: r22922
1998-10-08 05:52:52 -07:00
Alexandre Oliva
1636b950f9 expr6.C: New test.
* g++.old-deja/g++.pt/expr6.C: New test.  operator?: breaks
	matching of template brackets.

From-SVN: r22921
1998-10-08 12:02:21 +00:00
Jeffrey A Law
6cf9bfcf53 Bump for snapshot
From-SVN: r22919
1998-10-08 05:31:05 -06:00
Richard Frith-Macdonald
f1488abaa3 c-lex.c (remember_protocol_qualifiers): Handle RID_BYREF.
* c-lex.c (remember_protocol_qualifiers): Handle RID_BYREF.
        (init_lex): Initialize ridpointers[RID_BYREF].
        * c-lex.h (enum rid): Add RID_BYREF.
        * c-parse.gperf: Add RID_BYREF as a type qualifier.
        * objc/objc-act.c (is_objc_type_qualifiers): Handle RID_BYREF.
        (encode_type_qualifiers): Similarly
        * c-gperf.h: Rebuilt.

From-SVN: r22918
1998-10-08 05:28:08 -06:00
Richard Frith-Macdonald
1df287f8fb encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
* encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
        (objc_get_type_qualifiers): Similarly.
        * objc/encoding.h (_C_BYREF): Define.
        (_F_BYREF): Define.

From-SVN: r22917
1998-10-08 05:23:35 -06:00
Jeffrey A Law
946dc1c8ad typeck.c (unsigned_type): Only return TItype nodes when HOST_BITS_PER_WIDE_INT is >= 64 bits.
* typeck.c (unsigned_type): Only return TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (signed_type): Similarly.
        * decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (init_decl_processing): Only create TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        * cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.

From-SVN: r22915
1998-10-07 23:04:57 -06:00
Jeffrey A Law
e39b138b41 typeck (type_for_mode): Only return TItype nodes when HOST_BITS_PER_WIDE_INT is >= 64 bits.
* typeck (type_for_mode): Only return TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (type_for_size): Similarly.
        * decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (init_decl_processing): Only create TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.

From-SVN: r22914
1998-10-07 23:01:10 -06:00
Jeff Law
b03fc8c9bd c-common.c (type_for_mode): Only return TItype nodes when HOST_BITS_PER_WIDE_INT is >= 64 bits.
* c-common.c (type_for_mode): Only return TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        * c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (init_decl_processing): Only create TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        * c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.
Forgot to commit with last change.

From-SVN: r22913
1998-10-07 22:57:39 -06:00
Jeff Law
21a9616b39 c-common.c (type_for_mode): Only return TItype nodes when HOST_BITS_PER_WIDE_INT is >= 64 bits.
* c-common.c (type_for_mode): Only return TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        * c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (init_decl_processing): Only create TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        * c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.

From-SVN: r22912
1998-10-07 22:37:30 -06:00
Bernd Schmidt
2a230e9dc4 stmt.c (n_occurrences): New static function.
* stmt.c (n_occurrences): New static function.
        (expand_asm_operands): Verify that all constrains match in the
        number of alternatives.
        Verify that '+' or '=' are at the beginning of an output constraint.
        Don't allow '&' for input operands.
        Verify that '%' isn't written for the last operand.
        * reload.c (find_reloads): Abort if an asm is found with invalid
        constraints; all possible problems ought to be checked for earlier.

From-SVN: r22911
1998-10-07 22:07:40 -06:00
Michael Hayes
f1da172943 flags.h (flag_branch_on_count_reg): Always declare
* flags.h (flag_branch_on_count_reg): Always declare
	* toplev.c (flag_branch_on_count_reg): Likewise.
	* toplev.c: Fix typos.

From-SVN: r22910
1998-10-07 21:30:32 -06:00
Michael Hayes
eba0c7243e real.c (c4xtoe): Remove unused variables.
* real.c (c4xtoe): Remove unused variables.  Add some missing parens.
        (toc4x): Similarly.

From-SVN: r22909
1998-10-07 21:29:02 -06:00