Commit Graph

20751 Commits

Author SHA1 Message Date
Jason Merrill
700466c28c pt.c (maybe_process_partial_specialization): Complain about specialization in wrong namespace.
* pt.c (maybe_process_partial_specialization): Complain about
	specialization in wrong namespace.
	* tree.c (decl_namespace_context): New fn.
g++.pt/explicit73.C
	* decl2.c (arg_assoc_type): Handle TEMPLATE_TEMPLATE_PARM.
	* pt.c (coerce_template_template_parms): Handle nested
	template template parameters.
g++.pt/nttp[12].C

From-SVN: r25072
1999-02-07 10:44:12 -05:00
Jonathan Larmour
561cb39b35 new
From-SVN: r25071
1999-02-07 10:40:17 -05:00
Jason Merrill
54281b2919 update
From-SVN: r25070
1999-02-07 10:40:03 -05:00
Jason Merrill
7766fe8e5f * tree.h (DECL_P): New macro.
From-SVN: r25069
1999-02-07 10:37:43 -05:00
Jeffrey A Law
ff90310e44 Bump for snapshot
From-SVN: r25067
1999-02-06 18:15:09 -07:00
Jeff Law
b47e151bf7 Daily bump.
From-SVN: r25066
1999-02-06 17:45:02 -07:00
Jeffrey A Law
f15ec016f9 * mn10300.md (reload_insi): Do not earlyclobber the output operand.
From-SVN: r25065
1999-02-06 10:25:19 -07:00
Jeffrey A Law
8d31fdf4ba README.g77, [...]: Update email addresses.
* README.g77, gcc.c, gcc.texi: Update email addresses.
        * invoke.texi system.h: Likewise.

From-SVN: r25064
1999-02-06 10:20:33 -07:00
Jeffrey A Law
ab5c7875e7 * typeck2.c: Update email addrsses.
From-SVN: r25063
1999-02-06 10:12:29 -07:00
Jeffrey A Law
5b2c2c944e * g77.texi: Update email addresses.
From-SVN: r25062
1999-02-06 10:06:57 -07:00
Jeffrey A Law
9019832024 * README: Update email addresses.
From-SVN: r25061
1999-02-06 10:04:18 -07:00
Jim Wilson
8318490b1e unroll.c (find_splittable_givs): After express_from, call replace_rtx to convert dest_reg to new_reg.
* unroll.c (find_splittable_givs): After express_from, call replace_rtx
        to convert dest_reg to new_reg.

From-SVN: r25056
1999-02-06 03:08:51 -07:00
Jeffrey A Law
54ca6ffa13 reload1.c (reload_combine_note_store): Be more careful with STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
* reload1.c (reload_combine_note_store): Be more careful with
        STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
        (move2add_note_store): Likewise.

From-SVN: r25055
1999-02-06 02:41:08 -07:00
Kaveh R. Ghazi
bdc1937ed9 cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to U_CHAR* when assigning to one.
* cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
        U_CHAR* when assigning to one.  Ensure the values of a ?: operator
        have the same type.
        * cppinit.c (initialize_char_syntax): Use K&R function definition.

From-SVN: r25054
1999-02-06 07:38:50 +00:00
Richard Earnshaw
b36ba79f65 Support for ARM9
Support for ARM9
* config/arm/arm.c (all_procs): Add arm9 and arm9tdmi.
* config/arm/arm.h ((TARGET_CPU_arm9, TARGET_CPUD_arm9tdmi): Define.
(TARGET_CPU_DEFAULT): Rework to support ARM9.
(CPP_CPU_ARCH_SPEC): Likewise.
(enum processor_type): Likewise.
* config/arm/arm.md (attr cpu): Add arm9.
General scheduling changes
* config/arm/arm.c (MAX_INSNS_SKIPPED): Delete.
(max_insns_skipped): New variable.
(arm_override_options): If generating hard floating point code for
the FPA, emit code for version 3.
When optimizing for space, don't synthesize constants.
Reword several flags based on the requested processor and optimization
level.
(use_return_insn): New argument iscond, all callers changed.  Don't
use a return insn if it will be conditional and that would be
expensive; eg on StrongARM.
(arm_adjust_cost): Anti- and output- dependencies normally have no
cost.
(load_multiple_sequence): Newer ARMs don't benefit from ldm if
the sequence is short.
(final_prescan_insn): Use max_insns_skipped instead of
MAX_INSNS_SKIPPED.  Note whether we will make a return instruction
conditional, and aviod this if it would be expensive.
* config/arm/arm.md (scheduling attributes and function units):
Rewrite to better describe ARM8, 9 and StrongARM.
* config/arm/arm.md (*movhi_insn_littleend): Make op0 predicate
s_register_operand.
(*ifcompare_plus_move): Use arm_rhs_operand in place of
arm_rhsm_operand.  Rework constraints.
(*if_plus_move): Likewise.
(*ifcompare_move_plus): Likewise.
(*if_move_plus): Likewise.
(*ifcompre_arith_move): Likewise.
(*if_arith_move): Likewise.
(*ifcompare_move_arith): Likewise.
(*if_move_arith): Likewise.
* config/arm/xm-netbsd.h: Don't include arm/xm-arm.h.

From-SVN: r25053
1999-02-06 04:09:55 +00:00
Jeff Law
6ea296f8bf Daily bump.
From-SVN: r25052
1999-02-05 17:47:03 -07:00
Michael Meissner
3603fb785f loop.c (check_dbra_loop): A store using an address giv for which we have no life information is not...
* loop.c (check_dbra_loop): A store using an address giv for which
        we have no life information is not reversible.

From-SVN: r25051
1999-02-05 17:46:54 -07:00
Jeffrey A Law
5f3db57e52 loop.c (strength_reduce): Clear not_every_iteration when passing the NOTE_INSN_LOOP_CONT note.
* loop.c (strength_reduce): Clear not_every_iteration when
        passing the NOTE_INSN_LOOP_CONT note.

From-SVN: r25050
1999-02-05 07:38:32 -07:00
Dave Brolley
d33c2956a4 function.c (fixup_var_refs): Scan catch_clauses too.
Fri Feb  5 17:08:01 1999  Dave Brolley  <brolley@cygnus.com>
        * function.c (fixup_var_refs): Scan catch_clauses too.

From-SVN: r25049
1999-02-05 09:12:38 -05:00
Brendan Kehoe
2814ec94f8 bogus tests
From-SVN: r25048
1999-02-05 07:28:26 -05:00
Benjamin Kosnik
9a6e70c918 c-common.c (decl_attributes): Fix reserved space for init_priority.
�
Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25047
1999-02-05 11:46:16 +00:00
Benjamin Kosnik
4c4e4fd61b c-common.c (decl_attributes): Fix reserved space for init_priority.
�
Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25046
1999-02-05 11:46:14 +00:00
Benjamin Kosnik
aa33de95b2 c-common.c (decl_attributes): Fix reserved space for init_priority.
�
Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25045
1999-02-05 11:46:10 +00:00
Jeff Law
342d9c89f6 haifa-sched.c (add_dependence): Do not add a dependency on a note.
h
        * haifa-sched.c (add_dependence): Do not add a dependency on a
        note.

From-SVN: r25044
1999-02-05 04:43:22 -07:00
Jeff Law
29ed8a2760 haifa-sched.c (add_dependence): Do not add a dependency on a note.
�
        * haifa-sched.c (add_dependence): Do not add a dependency on a
        note.

From-SVN: r25043
1999-02-05 04:43:20 -07:00
Nick Clifton
3c4fc1ccc4 Only call update_flow_info if instruction scheduling is enabled.
From-SVN: r25042
1999-02-05 10:57:02 +00:00
Zack Weinberg
850350d1f7 Makefile.in (gen-protos): Use libcpp.a like everyone else.
1999-02-05 11:22 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* Makefile.in (gen-protos): Use libcpp.a like everyone else.

From-SVN: r25041
1999-02-05 08:24:29 +00:00
Zack Weinberg
a49f70bdf9 cpplib.c (initialize_char_syntax): Move to cppinit.c.
1999-02-04 14:33 -0500	Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (initialize_char_syntax): Move to cppinit.c.
	(cpp_define): Remove redundant syntax checks.
	(make_assertion): Rename cpp_assert, remove redundant syntax
	checks, export.
	(cpp_options_init): Don't init things to zero twice.
	(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
	(do_include): Kill excessively verbose #import warning that
	snuck back in in the gcc2 merge.
	(convert_string): Removed.
	(do_line): Rewrite with simple last-name-used cache instead of
	private hashtable.
	(cpp_start_read): Call initialize_char_syntax here, not...
	(cpp_reader_init): ...here.
	(cpp_handle_options): Support the -std switch.
	* cpplib.h (cpp_buffer): Add last_nominal_fname member.
	(cpp_options): Add c9x flag.
	Declare all the is_* tables and trigraph table here, as const.
	Prototype cpp_assert and initialize_char_syntax.
	* cppinit.c: New file.
	* cppfiles.c (read_and_prescan): Optimize.
	* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25040
1999-02-05 08:11:18 +00:00
Andrew Haley
93089423bd class.c (make_class_data): The superclass of an interface should be null, not class Object.
1999-02-05  Andrew Haley  <aph@cygnus.com>
        * class.c (make_class_data): The superclass of an interface should
        be null, not class Object.
        * lex.c (java_lex): Sign extend hex literals.

From-SVN: r25039
1999-02-05 07:58:05 +00:00
Jason Merrill
01235b8090 cp-tree.h: Declare it.
* cp-tree.h: Declare it.
Missed a piece...

From-SVN: r25038
1999-02-04 21:55:44 -05:00
Jason Merrill
000ab922b0 decl2.c: Remove flag_init_priority.
* decl2.c: Remove flag_init_priority.  Always enable initp stuff.
	(start_objects, finish_objects): Only use special
	init_priority code if the user specified a priority.
	(do_ctors, do_dtors): Use DEFAULT_INIT_PRIORITY for the non-initp
	objects.

From-SVN: r25037
1999-02-04 21:47:00 -05:00
Jason Merrill
fcfcdfc897 pt.c (unify): Call coerce_template_parms with the COMPLAIN flag turned off.
* pt.c (unify): Call coerce_template_parms with the COMPLAIN flag
	turned off.
	* lex.c (retrofit_lang_decl): Split out...
	(build_lang_decl): From here.
	* decl.c (pushdecl): Call it for functions generated by the middle
	end that don't have DECL_LANG_SPECIFIC.
	* decl2.c: Remove flag_init_priority.  Always enable initp stuff.
	(start_objects, finish_objects): Only use special
	init_priority code if the user specified a priority.
	(do_ctors, do_dtors): Use DEFAULT_INIT_PRIORITY for the non-initp
	objects.

From-SVN: r25036
1999-02-04 21:42:48 -05:00
Jeff Law
8e7dd8d984 Daily bump.
From-SVN: r25035
1999-02-04 17:45:02 -07:00
J"orn Rennecke
2d4fde68c3 loop.c (first_loop_store_insn): New file-scope variable.
* loop.c (first_loop_store_insn): New file-scope variable.
	(prescan_loop): Set it.
	(check_dbra_loop): Check if a store depends on a register
	that is set after the store.

From-SVN: r25034
1999-02-04 23:10:46 +00:00
J"orn Rennecke
a5af23fe12 unroll.c (entire file): Remove tabs / spaces at end of lines.
* unroll.c (entire file): Remove tabs / spaces at end of lines.
	Replace spaces with tabs where appropriate.

From-SVN: r25033
1999-02-04 22:55:55 +00:00
Brendan Kehoe
ca077833bc fix to actually offer usable results
From-SVN: r25032
1999-02-04 14:33:22 -05:00
Ulrich Drepper
7f84e195e0 Update.
From-SVN: r25031
1999-02-04 15:53:14 +00:00
Ulrich Drepper
ab9e56828d Configuration fragment for thread lbirary.
From-SVN: r25030
1999-02-04 15:52:53 +00:00
Ulrich Drepper
bd73754650 (frags): Add fragments for Solaris defining macro specifying thread library to...
(frags): Add fragments for Solaris defining macro specifying thread
library to be used and generic POSIX thread libraries.

From-SVN: r25029
1999-02-04 15:52:08 +00:00
Ulrich Drepper
7fccd11028 Add support for Solaris thread library.
From-SVN: r25028
1999-02-04 15:51:42 +00:00
Ulrich Drepper
b76354a542 Recognize _SOLTHREADS and define internal macros appropriately.
From-SVN: r25027
1999-02-04 15:51:19 +00:00
J"orn Rennecke
6dd49eb4d3 loop.c (scan_loop): New argument loop_cont.
* loop.c (scan_loop): New argument loop_cont.  Changed caller.
        (strength_reduce): New argument loop_cont. Changed caller.
        Before clearing not_every_iteration after a label, check if
        we are not already past LOOP_CONT.

From-SVN: r25026
1999-02-04 07:19:36 -07:00
Zack Weinberg
74c9467af5 cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge.
1999-02-04 16:04 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpperror.c (cpp_print_containing_files): Fix formatting
	bug induced by merge.

From-SVN: r25025
1999-02-04 13:06:30 +00:00
Zack Weinberg
5538ada62f cpplib.c (initialize_char_syntax): Move to cppinit.c.
1999-02-04 14:33 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (initialize_char_syntax): Move to cppinit.c.
	(cpp_define): Remove redundant syntax checks.
	(make_assertion): Rename cpp_assert, remove redundant syntax
	checks, export.
	(cpp_options_init): Don't init things to zero twice.
	(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
	(do_include): Kill excessively verbose import warning that
	snuck back in in the gcc2 merge.
	(convert_string): Removed.
	(do_line): Rewrite with simple last-name-used cache instead of
	private hashtable.
	(cpp_start_read): Call initialize_char_syntax here, not...
	(cpp_reader_init): ...here.
	(cpp_handle_options): Support the -std switch.
	* cpplib.h (cpp_buffer): Add last_nominal_fname member.
	(cpp_options): Add c9x flag.
	Declare all the is_* tables and trigraph table here, as const.
	Prototype cpp_assert and initialize_char_syntax.
	* cppinit.c: New file.
	* cppfiles.c (read_and_prescan): Optimize.
	* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25024
1999-02-04 06:36:54 -05:00
Craig Burley
c20df9e705 fix typo in libf2c/ChangeLog
From-SVN: r25023
1999-02-04 04:35:23 -05:00
Andrew Haley
954d8a5d44 class.c (build_utf8_ref): Output signatures using '.' as a separator, rather than '/'.
1999-02-04  Andrew Haley  <aph@cygnus.com>
        * class.c (build_utf8_ref): Output signatures using '.' as a
        separator, rather than '/'.
        (make_class_data): Likewise.

From-SVN: r25022
1999-02-04 08:15:41 +00:00
Robert Lipe
7a19950eda egcs_update: Test return values of 'cvs update'.
* egcs_update: Test return values of 'cvs update'.  Propogate
       to caller as exit values.

From-SVN: r25021
1999-02-04 08:07:51 +00:00
Gavin Romig-Koch
2d7423ebf5 update copyright
From-SVN: r25020
1999-02-04 07:52:04 +00:00
Gavin Romig-Koch
1feed51c77 mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3, [...]): Don't copy the "zero" argument to a register before calling gen_div_trap.
* config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
	[u]modsi3,[u]moddi3) : Don't copy the "zero" argument to a register
       	before calling gen_div_trap.

From-SVN: r25019
1999-02-04 07:51:51 +00:00
Jeff Law
333dc73199 Daily bump.
From-SVN: r25018
1999-02-03 17:45:02 -07:00