Commit Graph

19023 Commits

Author SHA1 Message Date
Zack Weinberg
faa765969f cppexp.c: When forcing unsigned comparisons, cast both sides of the operation.
* cppexp.c: When forcing unsigned comparisons, cast both sides
        of the operation.
        * cpphash.h: Move static declaration of hashtab[]...
        * cpphash.c: ...here.
        * cpplib.c: Cast difference of two pointers to size_t before
        comparing it to size_t.  Cast signed to unsigned
        before comparing to size_t. (FIXME: struct argdata should use
        unsigned buffer sizes.)
        * cpplib.h (struct cpp_reader): Declare token_buffer_size as
        unsigned int. (CPP_WRITTEN): Cast return value to size_t.
        (CPP_RESERVE): Parenthesize N for evaluation order, cast to
        size_t before comparison.

From-SVN: r22980
1998-10-10 18:05:11 -06:00
Jeffrey A Law
9265dacf25 flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
* flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
        (find_basic_blocks_1): Similarly.
        * output.h (find_basic_blocks): Fix prototype.
        * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
        find_basic_blocks anymore.

From-SVN: r22979
1998-10-10 17:18:32 -06:00
Richard Henderson
a86d864c41 basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
* basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
        (sbitmap_free, sbitmap_vector_free): New macros.
        * output.h (rtl_dump_file): Declare.

From-SVN: r22978
1998-10-10 15:03:34 -07:00
Jeffrey A Law
937e37cc6e * regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
From-SVN: r22977
1998-10-10 10:03:44 -06:00
Alexandre Oliva
3aeab4377c these XFAILs are hard to get right on the first try.
these XFAILs are hard to get right on the first try.  Yet harder when results
are different on different platforms :-)

From-SVN: r22976
1998-10-10 11:50:22 +00:00
Manfred Hollstein
066d147cbf decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
8
	* decl2.c (start_objects): Add new variable `joiner' and
	initialize it properly.

From-SVN: r22975
1998-10-10 09:24:06 +00:00
Manfred Hollstein
182ed311af decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
�
	* decl2.c (start_objects): Add new variable `joiner' and
	initialize it properly.

From-SVN: r22974
1998-10-10 09:24:04 +00:00
Alexandre Oliva
ce88636209 typeof is an extension, -ansi -pedantic (default options) wouldn't
accept it; make it __typeof__

From-SVN: r22973
1998-10-10 08:15:19 +00:00
Dariush Eslimi
71685c48ea typeof1.C: New test; typeof based on template-dependent type
* g++.old-deja/g++.ext/typeof1.C: New test; typeof based on
	template-dependent type

From-SVN: r22972
1998-10-10 08:11:06 +00:00
Alexandre Oliva
e98791f8a6 parse3.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse3.C: XFAILs, not ERRORs
	* g++.old-deja/g++.brendan/parse5.C: XFAILs, not ERRORs
	* g++.old-deja/g++.brendan/parse6.C: XFAILs, not ERRORs

From-SVN: r22971
1998-10-10 07:51:24 +00:00
Alexandre Oliva
2feb9724a1 using5.C: New test; using decl from base class should be usable as argument of member function
* g++.old-deja/g++.other/using5.C: New test; using decl from base
 	class should be usable as argument of member function
	* g++.old-deja/g++.other/using6.C: New test; using decl from base
 	class should be usable as return type of member function
	* g++.old-deja/g++.other/using7.C: New test; using decl from base
 	class should be usable as type of data member

From-SVN: r22970
1998-10-10 07:38:29 +00:00
Jeff Law
827204e706 Daily bump.
From-SVN: r22969
1998-10-09 18:45:01 -06:00
Alexandre Oliva
4acf6064f2 * g++.old-deja/g++.ns/extern1.C: fix XFAIL mark
From-SVN: r22968
1998-10-09 21:25:57 +00:00
Kaveh R. Ghazi
a0a190d4d9 Warning fixes:
* fp-bit.c (SFtype): Don't implicitly use int in declaration.
        (DFtype): Likewise.
        (_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
        (divide): Remove unused variable `tmp'.
        (si_to_float): Cast numeric constant to (SItype) before comparing
        it against one.

From-SVN: r22967
1998-10-09 19:17:54 +00:00
Jeff Law
1a34b7b328 920521-1.c: Fix bogus test.
8
        * gcc.c-torture/special/920521-1.c: Fix bogus test.

From-SVN: r22966
1998-10-09 12:22:11 -06:00
Jeff Law
bb0f4c31d3 920521-1.c: Fix bogus test.
�
        * gcc.c-torture/special/920521-1.c: Fix bogus test.

From-SVN: r22965
1998-10-09 12:22:09 -06:00
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