2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-25 08:38:55 +08:00
Commit Graph

17952 Commits

Author SHA1 Message Date
Jeffrey A Law
6673b2ea6a mn10300.c (count_tst_insns): New arg oreg_countp.
* mn10300.c (count_tst_insns): New arg oreg_countp.  Callers changed.
        Simplify tests for clearing an address register.
        (expand_prologue): Corresponding changes.

From-SVN: r21215
1998-07-16 08:10:24 -06:00
Jeffrey A Law
fed2012bae mn10300.md (movXX patterns): Make sure the destination is an ADDRESS_REG when...
* mn10300.md (movXX patterns): Make sure the destination is an
        ADDRESS_REG when substituting "zero_areg" for (const_int 0).
        (logical patterns): Split into expanders + patterns
        (zero and sign extension patterns): Similarly.
        (shift patterns): Similarly.

From-SVN: r21214
1998-07-16 07:54:53 -06:00
Mark Mitchell
52889bc818 semantics.c (finish_object_call_expr): Move test for the function called being a TYPE_DECL to ...
1998-07-16  Mark Mitchell  <mark@markmitchell.com>
	* semantics.c (finish_object_call_expr): Move test for the
	function called being a TYPE_DECL to ...
	* call.c (build_new_method_call): Here.

From-SVN: r21213
1998-07-16 11:46:44 +00:00
Martin v. Löwis
439041b917 New test case.
From-SVN: r21212
1998-07-16 01:07:25 +00:00
Jeff Law
e00a24fa25 Daily bump.
From-SVN: r21211
1998-07-15 18:45:02 -06:00
Richard Henderson
00116a7b6d loop.c (emit_iv_add_mult): Scan the entire insn list generated for the sequence, recording base values.
8
        * loop.c (emit_iv_add_mult): Scan the entire insn list generated
        for the sequence, recording base values.

From-SVN: r21208
1998-07-15 18:22:41 -06:00
Richard Henderson
a2d926467c loop.c (emit_iv_add_mult): Scan the entire insn list generated for the sequence, recording base values.
�
        * loop.c (emit_iv_add_mult): Scan the entire insn list generated
        for the sequence, recording base values.

From-SVN: r21207
1998-07-15 18:22:39 -06:00
Jason Merrill
00dc635853 decl2.c (arg_assoc_class): Also look at template arguments, if any.
* decl2.c (arg_assoc_class): Also look at template arguments, if any.
	(arg_assoc): Handle error_mark_node and multiple levels of TREE_LIST.
	* lex.c (looking_for_typename): Don't initialize.
	* decl2.c (ambiguous_decl): Clarify error message.
	* decl.c (push_using_directive): Iterate over namespaces used
	indirectly.

From-SVN: r21205
1998-07-15 20:16:25 -04:00
Jeffrey A Law
e3a0385963 g2c.hin: Renamed from g2c.h.in.
* g2c.hin: Renamed from g2c.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.
        * libU77/config.hin: Renamed from libU77/config.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.

From-SVN: r21202
1998-07-15 18:07:42 -06:00
Martin v. Löwis
85c6cbaf2d decl2.c (add_using_namespace): Iterate over namespaces used indirectly.
* decl2.c (add_using_namespace): Iterate over namespaces used
	indirectly.
	* decl.c (lookup_name_real): Accept namespace aliases as locals.
	(cat_namespace_levels): Ignore aliases.
	(duplicate_decls): Ignore duplicate aliases.
	* decl2.c (do_namespace_alias): Process block level namespace
	aliases. Store alias with pushdecl. Remove odr errors.
	* parse.y (namespace_alias): New non-terminal.
	(extdef): Use it.

From-SVN: r21201
1998-07-15 13:27:24 -04:00
Jason Merrill
2d39086779 decl2.c (arg_assoc_type): Handle METHOD_TYPE like FUNCTION_TYPE.
* decl2.c (arg_assoc_type): Handle METHOD_TYPE like FUNCTION_TYPE.
	Handle TEMPLATE_TYPE_PARM.
	(arg_assoc): Rewrite.

From-SVN: r21199
1998-07-15 12:56:50 -04:00
Martin v. Löwis
2d2ad82da4 Add aliases in nested blocks
From-SVN: r21197
1998-07-15 14:38:06 +00:00
Jason Merrill
2077e863e2 pt.c (complete_template_args): Don't look at the context unless we have to.
* pt.c (complete_template_args): Don't look at the context unless
	we have to.

From-SVN: r21195
1998-07-15 10:21:35 -04:00
Martin v. Löwis
8d9eb1141f New test case.
From-SVN: r21194
1998-07-15 12:17:53 +00:00
Craig Burley
34d1a71f0c Make-lang.in (f77.rebuilt): Fix to depend on build-dir-based, not source-based, g77.info.
Mon Jul 13 18:45:06 1998  Craig Burley  <burley@gnu.org>
	* Make-lang.in (f77.rebuilt): Fix to depend on
	build-dir-based, not source-based, g77.info.
	* g77.texi: Merge docs with 0.5.24.
	* g77install.texi: Ditto.

From-SVN: r21192
1998-07-15 11:39:21 +00:00
Dave Love
a1d80b3eaa intdoc.texi: Regenerated.
1998-07-15  Dave Love  <d.love@dl.ac.uk>
	* intdoc.texi: Regenerated.

From-SVN: r21191
1998-07-15 11:38:08 +00:00
Dave Love
57a159354a Update from Craig, previously missed.
From-SVN: r21187
1998-07-15 11:05:36 +00:00
Richard Henderson
5d46457efa * i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
From-SVN: r21186
1998-07-15 03:50:48 -07:00
Martin v. Löwis
421ec9a741 New test case.
From-SVN: r21180
1998-07-15 07:58:24 +00:00
Dave Love
2cc6777c6b Changes from Craig.
From-SVN: r21179
1998-07-15 07:19:13 +00:00
Craig Burley
9a59ff4f47 Make-lang.in (f77.rebuilt): Fix to depend on build-dir-based, not source-based, g77.info.
Mon Jul 13 18:45:06 1998  Craig Burley  <burley@gnu.org>
	* Make-lang.in (f77.rebuilt): Fix to depend on
	build-dir-based, not source-based, g77.info.
	* g77.texi: Merge docs with 0.5.24.
	* g77install.texi: Ditto.

From-SVN: r21178
1998-07-15 07:15:52 +00:00
Craig Burley
4801aa8f37 Cleanups vis-a-vis g77-0.5.24:
Mon Jul 13 18:02:29 1998  Craig Burley  <burley@gnu.org>
	Cleanups vis-a-vis g77-0.5.24:
	* g77spec.c (lang_specific_driver): Tabify source.
	* top.c (ffe_decode_option): Use fixed macro to set
	internal-checking flag.
	* top.h (ffe_set_is_do_internal_checks): Fix macro.

From-SVN: r21177
1998-07-15 07:13:43 +00:00
Craig Burley
207ff633fe Cleanups vis-a-vis system.h cutover and g77-0.5.24:
Mon Jul 13 17:33:44 1998  Craig Burley  <burley@gnu.org>
	Cleanups vis-a-vis system.h cutover and g77-0.5.24:
	* Makefile.in (fini.o): Define USE_HCONFIG macro
	so source code doesn't have to.
	* fini.c: Don't define USE_HCONFIG here, since
	source code usually shouldn't care about this.
	* ansify.c: Include stddef.h only if we have it.
	* intdoc.c: Ditto.
	* proj.h: Ditto.

From-SVN: r21176
1998-07-15 07:07:55 +00:00
Jason Merrill
268775847c method.c (build_decl_overload_real): Fix namespace handling.
* method.c (build_decl_overload_real): Fix namespace handling.
	* typeck.c (build_unary_op): Extract a lone function from an
	OVERLOAD.
	* call.c (build_scoped_method_call): Handle getting a namespace
	for basetype in a destructor call.
	(check_dtor_name): Handle enums.
	* parse.y (using_directive): New nonterminal.
	(extdef, simple_stmt): Use it.

From-SVN: r21174
1998-07-15 00:38:53 -04:00
Jeff Law
8508a96d6b Daily bump.
From-SVN: r21170
1998-07-14 18:45:02 -06:00
Martin v. Löwis
25d164b840 New test case.
From-SVN: r21169
1998-07-15 00:18:50 +00:00
Martin v. Löwis
5f8ac7d1bb decl2.c (add_function): Move error message ...
* decl2.c (add_function): Move error message ...
	(arg_assoc_namespace): ... from here.

From-SVN: r21167
1998-07-14 23:34:17 +00:00
David S. Miller
95b3fb4181 Add myself as jump.c maintainer.
From-SVN: r21166
1998-07-14 14:20:43 -07:00
Jason Merrill
a41461c940 parse.y (namespace_qualifier): Fix multiple level handling.
* parse.y (namespace_qualifier): Fix multiple level handling.
	* decl2.c (namespace_ancestor): Use CP_DECL_CONTEXT.
	(arg_assoc): Don't skip the first argument of a function.

From-SVN: r21165
1998-07-14 16:47:48 -04:00
Jeffrey A Law
5d01f362ff Makefile.in: stamp-lib* -> s-lib*.
* Makefile.in: stamp-lib* -> s-lib*.
        * libU77/Makefile.in: Likewise.
        * libF77/Makefile.in: Likewise.
        * libI77/Makefile.in: Likewise.

From-SVN: r21162
1998-07-14 14:27:34 -06:00
Jeffrey A Law
a2c9d57cd0 configure.in: Rework gas feature code to work with symlink based source trees.
* configure.in: Rework gas feature code to work with symlink based
        source trees.

From-SVN: r21160
1998-07-14 14:06:10 -06:00
Jeffrey A Law
0deaf5908c extend.texi: Clarify some issues related to local variables assigned to explicit registers.
* extend.texi: Clarify some issues related to local variables
        assigned to explicit registers.

From-SVN: r21159
1998-07-14 13:59:53 -06:00
Jeffrey A Law
2c43b71ae5 * search.c (my_tree_cons): Clean up.
From-SVN: r21158
1998-07-14 13:11:25 -06:00
Manfred Hollstein
00025aeabb Makefile.in (VERSION): Bump to 2.9.0.
8
	* Makefile.in (VERSION): Bump to 2.9.0.

From-SVN: r21157
1998-07-14 13:06:53 -06:00
Manfred Hollstein
55ea324fdb Makefile.in (VERSION): Bump to 2.9.0.
�
	* Makefile.in (VERSION): Bump to 2.9.0.

From-SVN: r21156
1998-07-14 13:06:52 -06:00
Gerald Pfeifer
0176af447d * Makefile.in (all): Invoke $(MAKE) instead of just make.
From-SVN: r21152
1998-07-14 13:04:13 -06:00
Jason Merrill
e03f7a0e96 x
From-SVN: r21146
1998-07-14 12:20:47 -04:00
Jason Merrill
4d59ab3fda tweak formatting
From-SVN: r21145
1998-07-14 12:16:52 -04:00
Jeffrey A Law
284280b5f9 * mn10300.md (mulsi): Turn into expander + pattern.
From-SVN: r21143
1998-07-14 08:53:36 -06:00
Martin v. Löwis
e0e6c0aaa9 Fix typo.
From-SVN: r21142
1998-07-14 14:22:55 +00:00
Nick Clifton
40f943dd9f Improve --help support.
From-SVN: r21141
1998-07-14 14:18:56 +00:00
Martin v. Löwis
0650ddf440 New test case.
From-SVN: r21140
1998-07-14 14:18:34 +00:00
Jeff Law
2644deec19 mn10300.md (movsi, [...]): Remove "x" from I -> a alternative.
* mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
        alternative.

From-SVN: r21139
1998-07-14 07:52:06 -06:00
Jeff Law
9d5f042883 mn10300.md (movsi, [...]): Remove "x" from I -> a alternative.
�
        * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
        alternative.

From-SVN: r21138
1998-07-14 07:52:04 -06:00
Jason Merrill
9a68c51f56 call.c (joust): Don't warn about "confusing" conversions to the same type.
* call.c (joust): Don't warn about "confusing" conversions to the
	same type.
	* class.c (push_nested_class): Complain about namespaces.
	* decl.c (start_decl): Enter the object's namespace.
	(cp_finish_decl): Leave it.
	(grokdeclarator): Likewise.
	* decl2.c (check_decl_namespace): New function.
	(finish_file): Call it.
	* parse.y (complex_direct_notype_declarator): Set complexity
	of namespace-qualified ids to -1, enter the namespace.
	* method.c (build_template_decl_overload): Expect _DECL as first
	parameter. Put context temporarily into current_namespace.
	* pt.c (check_explicit_specialization): Change caller.
	(tsubst): Likewise.
	* init.c (build_offset_ref): Call mark_used and
	convert_from_reference for namespace members.

From-SVN: r21135
1998-07-14 08:09:17 -04:00
Richard Earnshaw
b33cfabac1 * tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.
From-SVN: r21134
1998-07-14 07:45:31 +00:00
Jeffrey A Law
40fd4eab45 version.c: Bump again to distinguish mainline tree from the egcs-1.1 branch.
* version.c: Bump again to distinguish mainline tree from the
        egcs-1.1 branch.

From-SVN: r21133
1998-07-13 20:05:24 -06:00
Jeff Law
597db54970 version.c: Bump to avoid problems with old spec files during bootstrap.
8
        * version.c: Bump to avoid problems with old spec files during
        bootstrap.

From-SVN: r21131
1998-07-13 19:22:48 -06:00
Jeff Law
a68b2bdebc version.c: Bump to avoid problems with old spec files during bootstrap.
�
        * version.c: Bump to avoid problems with old spec files during
        bootstrap.

From-SVN: r21130
1998-07-13 19:22:46 -06:00
Jeffrey A Law
c2d8a824e6 * libU77/Makefile.in (ALL_CFLAGS): Add -I$(F2C_H_DIR).
From-SVN: r21129
1998-07-13 19:18:30 -06:00