Commit Graph

17829 Commits

Author SHA1 Message Date
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
Jeff Law
cdfaa20223 Daily bump.
From-SVN: r21128
1998-07-13 18:45:02 -06:00
David S. Miller
1c44748c3f Fix regressions introduced by most recent Sparc commits.
Fix regressions introduced by most recent Sparc
commits.
	* config/sparc/sparc.c (output_scc_insn): Enclose || conditions in
	parens while walking over notes.
	* config/sparc/sparc.md (reg movdi split): Clean up matching
	conditions.
	(all DI arithop splits on 32-bit): Handle immediate arguments
	correctly when they are CONST_INTs.

From-SVN: r21127
1998-07-13 17:18:57 -07:00
Kamil Iskra
e8d1616611 m68k.h (TARGET_SWITCHES): Clear MASK_68040_ONLY for -m68020-40, -m68020-60 and -m5200.
(
        * m68k/m68k.h (TARGET_SWITCHES): Clear MASK_68040_ONLY for
        -m68020-40, -m68020-60 and -m5200.

From-SVN: r21126
1998-07-13 17:02:08 -06:00
Kamil Iskra
dffe9c09e2 m68k.h (TARGET_SWITCHES): Clear MASK_68040_ONLY for -m68020-40, -m68020-60 and -m5200.
�
        * m68k/m68k.h (TARGET_SWITCHES): Clear MASK_68040_ONLY for
        -m68020-40, -m68020-60 and -m5200.

From-SVN: r21125
1998-07-13 17:02:06 -06:00
Weiwen Liu
24c2aa3068 gcc.c (do_spec_1): Fix %O handling for secure temporary file creation.
8
        * gcc.c (do_spec_1): Fix %O handling for secure temporary file
        creation.

From-SVN: r21124
1998-07-13 16:54:48 -06:00
Weiwen Liu
a5dd9832a1 gcc.c (do_spec_1): Fix %O handling for secure temporary file creation.
�
        * gcc.c (do_spec_1): Fix %O handling for secure temporary file
        creation.

From-SVN: r21123
1998-07-13 16:54:46 -06:00
Ralf Corsepius
6508af23db elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.
* sh/elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

From-SVN: r21122
1998-07-13 16:46:00 -06:00
Ralf Corsepius
acefd904b6 elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.
�
        * sh/elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

From-SVN: r21121
1998-07-13 16:45:58 -06:00
Jim Wilson
1228a9bd1e i386.h (CPP_486_SPEC, [...]): New specs.
* i386/i386.h (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): New specs.
        (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Use them.
        (EXTRA_SPECS): Support them.
        * gcc.c: Delete %[spec] support.
        (do_spec_1, case '('): Likewise.
        (do_spec_1, case '['): Call error.
        * i386/aix386ng.h, cygwin32.h, freebsd-elf.h, gas.h, isc.h,
        linux-aout.h, linux-oldld.h, linux.h, osfelf.h, osfrose.h, sco.h,
        sco4.h, sco4dbx.h, sco5.h, sol2.h, sysv3.h (CPP_SPEC): Delete
        %[cpp_cpu].

From-SVN: r21120
1998-07-13 16:38:51 -06:00
Andreas Schwab
4a8c52e048 * m68k.c (output_scc_di): Use cmpw #0 only for address registers.
From-SVN: r21119
1998-07-13 16:33:07 -06:00
Jeffrey A Law
4280146803 tree.h (tree_common): Note front-end dependencies on layout of this structure.
* tree.h (tree_common): Note front-end dependencies on layout of
        this structure.

From-SVN: r21118
1998-07-13 16:29:02 -06:00
Martin v. Löwis
8e539071f4 * search.c (my_tree_cons): The bitfield is at index 2.
From-SVN: r21117
1998-07-13 16:27:34 -06:00
Craig Burley
b941bcbc1f stmt.c (expand_expr_stmt): If not assigning fresh value to last_expr_value...
* stmt.c (expand_expr_stmt): If not assigning fresh
        value to last_expr_value, zero it, so old garbage
        doesn't get dereferenced.

From-SVN: r21116
1998-07-13 16:21:01 -06:00
Henning Petersen
48e87cefab * gcse.c (hash_scan_insn): Add missing argument declaration.
From-SVN: r21115
1998-07-13 16:09:21 -06:00
Jeffrey A Law
637d5bacaf 920715-1.x: No longer expected to fail on the mn10200.
* gcc.c-torture/execute/920715-1.x: No longer expected to fail on
        the mn10200.
        * gcc.c-torture/execute/strct-varg-1.x: New file.  Expect failure on
        the mn10200.
        * gcc.c-torture/execute/va-arg-3.x: Similarly.
        * gcc.c-torture/compile/930326-1.x: Similarly.

From-SVN: r21114
1998-07-13 15:31:31 -06:00
Jeffrey A Law
bb121ccecb 920715-1.x: No longer expected to fail on the mn10200.
* gcc.c-torture/execute/920715-1.x: No longer expected to fail on
        the mn10200.
        * gcc.c-torture/execute/strct-varg-1.x: New file.  Expect failure on
        the mn10200.
        * gcc.c-torture/execute/va-arg-3.x: Similarly.
Minor testsuite cleanups.

From-SVN: r21113
1998-07-13 15:29:27 -06:00
Jim Wilson
74c55ab0bb Fix irix5 build failure due to bad definition of HAVE_INTTYPES_H.
* configure.in (mips-sgi-irix5cross64, mips-sgi-irix5*): Remove
	HAVE_INTTYPES_H from xm_defines.  Define xm_file to mips/xm-iris5.h.
	* mips/xm-iris5.h (USG): Delete.

From-SVN: r21112
1998-07-13 12:01:14 -07:00
Nick Clifton
30e5b40b79 Added --help descriptions of various command line switches
From-SVN: r21111
1998-07-13 17:32:15 +00:00
Nick Clifton
124cb0bf52 --help support added
From-SVN: r21110
1998-07-13 17:22:27 +00:00
Nick Clifton
b8468bc70a Add --help option.
From-SVN: r21109
1998-07-13 17:20:29 +00:00
John Carr
c6b0465b28 sparc.c, [...]: New trampoline code.
Mon Jul 13 16:15:10 1998  John Carr  <jfc@mit.edu>
	* sparc.c, sparc.h, sparc.md: New trampoline code.
	Allow integer operand 1 to V8+ DImode shift instructions.
	Fix bugs in V8+ wide multiply patterns.
	In 32 bit mode, split DImode register moves and logical instructions.
	Write V9 branch prediction flag.
	Use V9 conditional move more often for scc.
	* print-rtl.c (print_rtx): Use HOST_PTR_PRINTF to print pointer.

From-SVN: r21108
1998-07-13 16:53:32 +00:00
Philippe De Muyter
e69fd6e52f invoke.texi (-fno-builtin): Explain that the names of built-in functions begin with __builtin_', not __'.
* invoke.texi(-fno-builtin): Explain that the names of built-in
	functions begin with `__builtin_', not `__'.

From-SVN: r21107
1998-07-13 06:39:33 -06:00
Craig Burley
eeba5929b8 u77-test.f: Double-check ETIME results, just like 0.5.24 does.
Mon Jul 13 13:31:03 1998  Craig Burley  <burley@gnu.org>
	* libU77/u77-test.f: Double-check ETIME results, just
	like 0.5.24 does.

From-SVN: r21106
1998-07-13 12:13:54 +00:00