platform/upstream/gcc.git
26 years agopt.c (complete_template_args): Don't look at the context unless we have to.
Jason Merrill [Wed, 15 Jul 1998 14:21:35 +0000 (14:21 +0000)]
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

26 years agoNew test case.
Martin v. Löwis [Wed, 15 Jul 1998 12:17:53 +0000 (12:17 +0000)]
New test case.

From-SVN: r21194

26 years agoMake-lang.in (f77.rebuilt): Fix to depend on build-dir-based, not source-based, g77...
Craig Burley [Wed, 15 Jul 1998 11:39:21 +0000 (11:39 +0000)]
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

26 years agointdoc.texi: Regenerated.
Dave Love [Wed, 15 Jul 1998 11:38:08 +0000 (11:38 +0000)]
intdoc.texi: Regenerated.

1998-07-15  Dave Love  <d.love@dl.ac.uk>
* intdoc.texi: Regenerated.

From-SVN: r21191

26 years agoUpdate from Craig, previously missed.
Dave Love [Wed, 15 Jul 1998 11:05:36 +0000 (11:05 +0000)]
Update from Craig, previously missed.

From-SVN: r21187

26 years ago* i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
Richard Henderson [Wed, 15 Jul 1998 10:50:48 +0000 (03:50 -0700)]
* i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).

From-SVN: r21186

26 years agoNew test case.
Martin v. Löwis [Wed, 15 Jul 1998 07:58:24 +0000 (07:58 +0000)]
New test case.

From-SVN: r21180

26 years agoChanges from Craig.
Dave Love [Wed, 15 Jul 1998 07:19:13 +0000 (07:19 +0000)]
Changes from Craig.

From-SVN: r21179

26 years agoMake-lang.in (f77.rebuilt): Fix to depend on build-dir-based, not source-based, g77...
Craig Burley [Wed, 15 Jul 1998 07:15:52 +0000 (03:15 -0400)]
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

26 years agoCleanups vis-a-vis g77-0.5.24:
Craig Burley [Wed, 15 Jul 1998 07:13:43 +0000 (03:13 -0400)]
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

26 years agoCleanups vis-a-vis system.h cutover and g77-0.5.24:
Craig Burley [Wed, 15 Jul 1998 07:07:55 +0000 (03:07 -0400)]
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

26 years agomethod.c (build_decl_overload_real): Fix namespace handling.
Jason Merrill [Wed, 15 Jul 1998 04:38:53 +0000 (04:38 +0000)]
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

26 years agoDaily bump.
Jeff Law [Wed, 15 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21170

26 years agoNew test case.
Martin v. Löwis [Wed, 15 Jul 1998 00:18:50 +0000 (00:18 +0000)]
New test case.

From-SVN: r21169

26 years agodecl2.c (add_function): Move error message ...
Martin v. Löwis [Tue, 14 Jul 1998 23:34:17 +0000 (23:34 +0000)]
decl2.c (add_function): Move error message ...

* decl2.c (add_function): Move error message ...
(arg_assoc_namespace): ... from here.

From-SVN: r21167

26 years agoAdd myself as jump.c maintainer.
David S. Miller [Tue, 14 Jul 1998 21:20:43 +0000 (14:20 -0700)]
Add myself as jump.c maintainer.

From-SVN: r21166

26 years agoparse.y (namespace_qualifier): Fix multiple level handling.
Jason Merrill [Tue, 14 Jul 1998 20:47:48 +0000 (20:47 +0000)]
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

26 years agoMakefile.in: stamp-lib* -> s-lib*.
Jeffrey A Law [Tue, 14 Jul 1998 20:27:34 +0000 (20:27 +0000)]
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

26 years agoconfigure.in: Rework gas feature code to work with symlink based source trees.
Jeffrey A Law [Tue, 14 Jul 1998 20:06:10 +0000 (20:06 +0000)]
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

26 years agoextend.texi: Clarify some issues related to local variables assigned to explicit...
Jeffrey A Law [Tue, 14 Jul 1998 19:59:53 +0000 (19:59 +0000)]
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

26 years ago* search.c (my_tree_cons): Clean up.
Jeffrey A Law [Tue, 14 Jul 1998 19:11:25 +0000 (19:11 +0000)]
* search.c (my_tree_cons): Clean up.

From-SVN: r21158

26 years agoMakefile.in (VERSION): Bump to 2.9.0.
Manfred Hollstein [Tue, 14 Jul 1998 19:06:53 +0000 (13:06 -0600)]
Makefile.in (VERSION): Bump to 2.9.0.

8
* Makefile.in (VERSION): Bump to 2.9.0.

From-SVN: r21157

26 years agoMakefile.in (VERSION): Bump to 2.9.0.
Manfred Hollstein [Tue, 14 Jul 1998 19:06:52 +0000 (13:06 -0600)]
Makefile.in (VERSION): Bump to 2.9.0.


* Makefile.in (VERSION): Bump to 2.9.0.

From-SVN: r21156

26 years ago* Makefile.in (all): Invoke $(MAKE) instead of just make.
Gerald Pfeifer [Tue, 14 Jul 1998 19:04:13 +0000 (21:04 +0200)]
* Makefile.in (all): Invoke $(MAKE) instead of just make.

From-SVN: r21152

26 years agox
Jason Merrill [Tue, 14 Jul 1998 16:20:47 +0000 (12:20 -0400)]
x

From-SVN: r21146

26 years agotweak formatting
Jason Merrill [Tue, 14 Jul 1998 16:16:52 +0000 (12:16 -0400)]
tweak formatting

From-SVN: r21145

26 years ago* mn10300.md (mulsi): Turn into expander + pattern.
Jeffrey A Law [Tue, 14 Jul 1998 14:53:36 +0000 (14:53 +0000)]
* mn10300.md (mulsi): Turn into expander + pattern.

From-SVN: r21143

26 years agoFix typo.
Martin v. Löwis [Tue, 14 Jul 1998 14:22:55 +0000 (14:22 +0000)]
Fix typo.

From-SVN: r21142

26 years agoImprove --help support.
Nick Clifton [Tue, 14 Jul 1998 14:18:56 +0000 (14:18 +0000)]
Improve --help support.

From-SVN: r21141

26 years agoNew test case.
Martin v. Löwis [Tue, 14 Jul 1998 14:18:34 +0000 (14:18 +0000)]
New test case.

From-SVN: r21140

26 years agomn10300.md (movsi, [...]): Remove "x" from I -> a alternative.
Jeff Law [Tue, 14 Jul 1998 13:52:06 +0000 (07:52 -0600)]
mn10300.md (movsi, [...]): Remove "x" from I -> a alternative.

        * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
        alternative.

From-SVN: r21139

26 years agomn10300.md (movsi, [...]): Remove "x" from I -> a alternative.
Jeff Law [Tue, 14 Jul 1998 13:52:04 +0000 (07:52 -0600)]
mn10300.md (movsi, [...]): Remove "x" from I -> a alternative.


        * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
        alternative.

From-SVN: r21138

26 years agocall.c (joust): Don't warn about "confusing" conversions to the same type.
Jason Merrill [Tue, 14 Jul 1998 12:09:17 +0000 (08:09 -0400)]
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

26 years ago* tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.
Richard Earnshaw [Tue, 14 Jul 1998 07:45:31 +0000 (07:45 +0000)]
* tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.

From-SVN: r21134

26 years agoversion.c: Bump again to distinguish mainline tree from the egcs-1.1 branch.
Jeffrey A Law [Tue, 14 Jul 1998 02:05:24 +0000 (02:05 +0000)]
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

26 years agoversion.c: Bump to avoid problems with old spec files during bootstrap.
Jeff Law [Tue, 14 Jul 1998 01:22:48 +0000 (19:22 -0600)]
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

26 years agoversion.c: Bump to avoid problems with old spec files during bootstrap.
Jeff Law [Tue, 14 Jul 1998 01:22:46 +0000 (19:22 -0600)]
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

26 years ago* libU77/Makefile.in (ALL_CFLAGS): Add -I$(F2C_H_DIR).
Jeffrey A Law [Tue, 14 Jul 1998 01:18:30 +0000 (01:18 +0000)]
* libU77/Makefile.in (ALL_CFLAGS): Add -I$(F2C_H_DIR).

From-SVN: r21129

26 years agoDaily bump.
Jeff Law [Tue, 14 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21128

26 years agoFix regressions introduced by most recent Sparc commits.
David S. Miller [Tue, 14 Jul 1998 00:18:57 +0000 (00:18 +0000)]
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

26 years agom68k.h (TARGET_SWITCHES): Clear MASK_68040_ONLY for -m68020-40, -m68020-60 and -m5200.
Kamil Iskra [Mon, 13 Jul 1998 23:02:08 +0000 (17:02 -0600)]
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

26 years agom68k.h (TARGET_SWITCHES): Clear MASK_68040_ONLY for -m68020-40, -m68020-60 and -m5200.
Kamil Iskra [Mon, 13 Jul 1998 23:02:06 +0000 (17:02 -0600)]
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

26 years agogcc.c (do_spec_1): Fix %O handling for secure temporary file creation.
Weiwen Liu [Mon, 13 Jul 1998 22:54:48 +0000 (16:54 -0600)]
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

26 years agogcc.c (do_spec_1): Fix %O handling for secure temporary file creation.
Weiwen Liu [Mon, 13 Jul 1998 22:54:46 +0000 (16:54 -0600)]
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

26 years agoelf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.
Ralf Corsepius [Mon, 13 Jul 1998 22:46:00 +0000 (16:46 -0600)]
elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

        * sh/elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

From-SVN: r21122

26 years agoelf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.
Ralf Corsepius [Mon, 13 Jul 1998 22:45:58 +0000 (16:45 -0600)]
elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.


        * sh/elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

From-SVN: r21121

26 years agoi386.h (CPP_486_SPEC, [...]): New specs.
Jim Wilson [Mon, 13 Jul 1998 22:38:51 +0000 (22:38 +0000)]
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

26 years ago* m68k.c (output_scc_di): Use cmpw #0 only for address registers.
Andreas Schwab [Mon, 13 Jul 1998 22:33:07 +0000 (22:33 +0000)]
* m68k.c (output_scc_di): Use cmpw #0 only for address registers.

From-SVN: r21119

26 years agotree.h (tree_common): Note front-end dependencies on layout of this structure.
Jeffrey A Law [Mon, 13 Jul 1998 22:29:02 +0000 (22:29 +0000)]
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

26 years ago* search.c (my_tree_cons): The bitfield is at index 2.
Martin v. Löwis [Mon, 13 Jul 1998 22:27:34 +0000 (16:27 -0600)]
* search.c (my_tree_cons): The bitfield is at index 2.

From-SVN: r21117

26 years agostmt.c (expand_expr_stmt): If not assigning fresh value to last_expr_value...
Craig Burley [Mon, 13 Jul 1998 22:21:01 +0000 (18:21 -0400)]
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

26 years ago* gcse.c (hash_scan_insn): Add missing argument declaration.
Henning Petersen [Mon, 13 Jul 1998 22:09:21 +0000 (16:09 -0600)]
* gcse.c (hash_scan_insn): Add missing argument declaration.

From-SVN: r21115

26 years ago920715-1.x: No longer expected to fail on the mn10200.
Jeffrey A Law [Mon, 13 Jul 1998 21:31:31 +0000 (21:31 +0000)]
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

26 years ago920715-1.x: No longer expected to fail on the mn10200.
Jeffrey A Law [Mon, 13 Jul 1998 21:29:27 +0000 (21:29 +0000)]
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

26 years agoFix irix5 build failure due to bad definition of HAVE_INTTYPES_H.
Jim Wilson [Mon, 13 Jul 1998 19:01:14 +0000 (19:01 +0000)]
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

26 years agoAdded --help descriptions of various command line switches
Nick Clifton [Mon, 13 Jul 1998 17:32:15 +0000 (17:32 +0000)]
Added --help descriptions of various command line switches

From-SVN: r21111

26 years ago--help support added
Nick Clifton [Mon, 13 Jul 1998 17:22:27 +0000 (17:22 +0000)]
--help support added

From-SVN: r21110

26 years agoAdd --help option.
Nick Clifton [Mon, 13 Jul 1998 17:20:29 +0000 (17:20 +0000)]
Add --help option.

From-SVN: r21109

26 years agosparc.c, [...]: New trampoline code.
John Carr [Mon, 13 Jul 1998 16:53:32 +0000 (16:53 +0000)]
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

26 years agoinvoke.texi (-fno-builtin): Explain that the names of built-in functions begin with...
Philippe De Muyter [Mon, 13 Jul 1998 12:39:33 +0000 (06:39 -0600)]
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

26 years agou77-test.f: Double-check ETIME results, just like 0.5.24 does.
Craig Burley [Mon, 13 Jul 1998 12:13:54 +0000 (08:13 -0400)]
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

26 years agocom.c (ffecom_push_tempvar): Replace kludge that munged back-end globals directly...
Craig Burley [Mon, 13 Jul 1998 12:11:43 +0000 (08:11 -0400)]
com.c (ffecom_push_tempvar): Replace kludge that munged back-end globals directly with proper calls to...

Mon Jul 13 11:54:03 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_push_tempvar): Replace kludge that
munged back-end globals directly with proper calls
to push_topmost_sequence and pop_topmost_sequence.

From-SVN: r21105

26 years agomn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
Jeff Law [Mon, 13 Jul 1998 12:08:59 +0000 (06:08 -0600)]
mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.

        * mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
        Handle 'x' as NO_REGS for this cpu.
        (REGNO_OK_FOR_BIT_BASE_P): Define.
        (REG_OK_FOR_BIT_BASE_P): Define.
        (GO_IF_LEGITIMATE_ADDRESS): Use them.
        (REG_OK_FOR_INDEX_P): Tweak.
        * mn13000.c (REG_SAVE_BYTES): Define.
        (expand_epilogue, initial_offset): Use it.
        (secondary_reload_class): Slightly reformat.
        (output_tst): Tweak comments.
        * mn10300.md: Change 'x' to 'y' for SP_REGS.  Then add 'x' to many
        patterns.
        (addsi3): Turn into a define_expand/define_insn pair.  Rework code for
        three operand addition case to be more efficient.
        (subsi3): Turn into a define_expand/define_insn pair.

From-SVN: r21104

26 years ago* reload1.c (reload_reg_free_before_p): Abort for RELOAD_FOR_OUTPUT.
J"orn Rennecke [Mon, 13 Jul 1998 11:04:45 +0000 (11:04 +0000)]
* reload1.c (reload_reg_free_before_p): Abort for RELOAD_FOR_OUTPUT.

From-SVN: r21103

26 years agoUpdate entry for last change to include more details.
Mark Mitchell [Mon, 13 Jul 1998 10:55:11 +0000 (10:55 +0000)]
Update entry for last change to include more details.

From-SVN: r21102

26 years agocplus-dem.c: Incorporate changes from GCC version not present in the libiberty version.
Mark Mitchell [Mon, 13 Jul 1998 10:54:01 +0000 (10:54 +0000)]
cplus-dem.c: Incorporate changes from GCC version not present in the libiberty version.

* cplus-dem.c: Incorporate changes from GCC version not present in
the libiberty version.

From-SVN: r21101

26 years agocplus-dem.c (SCOPE_STRING): Remove DMGL_JAVA stuff.
Mark Mitchell [Mon, 13 Jul 1998 10:50:32 +0000 (10:50 +0000)]
cplus-dem.c (SCOPE_STRING): Remove DMGL_JAVA stuff.

* cplus-dem.c (SCOPE_STRING): Remove DMGL_JAVA stuff.
(cplus_demangle_opname):  Initialize work.
(demangle_template): Remove is_java_array.
(do_type): Remove DMGL_JAVA stuff.
(long_options): Remove "java".
(main): Remove 'j' option.

From-SVN: r21100

26 years agoexpr.c (expand_expr): Only set MEM_IN_STRUCT_P if the memory address is not varying...
Jeffrey A Law [Mon, 13 Jul 1998 09:26:59 +0000 (09:26 +0000)]
expr.c (expand_expr): Only set MEM_IN_STRUCT_P if the memory address is not varying for...

        * expr.c (expand_expr): Only set MEM_IN_STRUCT_P if the memory address
        is not varying for REFERENCE_TYPE or when we think we might have found
        an optimized access to the first element in an array.

From-SVN: r21099

26 years agoauto0.f, auto1.f: New test from Craig.
Dave Love [Mon, 13 Jul 1998 03:53:27 +0000 (03:53 +0000)]
auto0.f, auto1.f: New test from Craig.

1998-07-13  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/auto0.f, g77.f-torture/execute/auto1.f:
New test from Craig.

From-SVN: r21098

26 years agoNew test from Craig.
Dave Love [Mon, 13 Jul 1998 03:51:25 +0000 (03:51 +0000)]
New test from Craig.

From-SVN: r21097

26 years agoMore efficient version of Jul 10 bugfix of mine, as discussed on egcs-patches.
David S. Miller [Mon, 13 Jul 1998 03:34:12 +0000 (03:34 +0000)]
More efficient version of Jul 10 bugfix of mine, as discussed on egcs-patches.

More efficient version of Jul 10 bugfix of mine, as
discussed on egcs-patches.
* regclass.c (reg_scan_mark_refs): New arg min_regno.  Only update
regscan information for REGs with numbers greater than or equal to
this.  All callers changed.
(reg_scan_update): New function to efficiently update regscan
information on the fly.
* rtl.h: Add prototype.
* jump.c (jump_optimize): Call it when we make a transformation
which generates new pseudo-REGs.

From-SVN: r21096

26 years agoDaily bump.
Jeff Law [Mon, 13 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21095

26 years agodecl2.c (build_expr_from_tree): Change calls of do_identifier.
Martin v. Löwis [Sun, 12 Jul 1998 16:55:29 +0000 (12:55 -0400)]
decl2.c (build_expr_from_tree): Change calls of do_identifier.

* decl2.c (build_expr_from_tree): Change calls of do_identifier.
Do Koenig lookup in CALL_EXPR.
(arg_assoc): Handle error_mark.
* lex.c (is_global): New function.
(do_identifier): Expect arguments for Koenig lookup.
* parse.y (primary): Add rules for calls of unqualified function calls.
(do_id): Change call of do_identifier.
* pt.c (finish_stmt_expr): Likewise.
* semantics.c (finish_id_expr): Likewise.
(finish_call_expr): Add integer parameter to indicate
argument-dependent lookup.

From-SVN: r21091

26 years agofix
Jason Merrill [Sun, 12 Jul 1998 16:39:31 +0000 (12:39 -0400)]
fix

From-SVN: r21090

26 years agodecl.c (struct binding_level): New field using_directives.
Martin v. Löwis [Sun, 12 Jul 1998 15:41:22 +0000 (11:41 -0400)]
decl.c (struct binding_level): New field using_directives.

* decl.c (struct binding_level): New field using_directives.
(push_using_decl): Not sorry anymore.
(push_using_directive): New function.
(lookup_tag): Use CP_DECL_CONTEXT to iterate.
(unqualified_namespace_lookup): New function, code from ...
(lookup_name_real): ... here.
* decl2.c (lookup_using_namespace): Pass using list instead of
initial scope.
(validate_nonmember_using_decl): New function.
(do_nonmember_using_decl): New function.
(do_toplevel_using_decl): Use them.
(do_local_using_decl): New function.
(do_using_directive): Support block-level directives.
* parse.y (simple_stmt): Support using declarations and
directives.
(namespace_qualifier, namespace_using_decl): New non-terminals.

From-SVN: r21089

26 years agoxref.c (classname): New function.
Martin v. Löwis [Sun, 12 Jul 1998 15:20:42 +0000 (11:20 -0400)]
xref.c (classname): New function.

* xref.c (classname): New function.
(GNU_xref_hier): Change class and base parameters to tree.
* decl.c (xref_baseypes): Change caller.
* friend.c (make_friend_class): Likewise.

From-SVN: r21088

26 years agocollect2.c (main): Use "-x c" instead of "-lang-c" for force the compiler into C...
Jeffrey A Law [Sun, 12 Jul 1998 12:11:28 +0000 (12:11 +0000)]
collect2.c (main): Use "-x c" instead of "-lang-c" for force the compiler into C mode.

        * collect2.c (main): Use "-x c" instead of "-lang-c" for force the
        compiler into C mode.

From-SVN: r21087

26 years agoFix bug address.
Dave Love [Sun, 12 Jul 1998 09:02:56 +0000 (09:02 +0000)]
Fix bug address.

From-SVN: r21086

26 years ago* g77.f-torture/noncompile/980616-0.f: New test.
Dave Love [Sun, 12 Jul 1998 08:55:18 +0000 (08:55 +0000)]
* g77.f-torture/noncompile/980616-0.f: New test.

From-SVN: r21085

26 years agoNew test.
Dave Love [Sun, 12 Jul 1998 08:54:18 +0000 (08:54 +0000)]
New test.

From-SVN: r21084

26 years agoRegenerate.
Dave Love [Sun, 12 Jul 1998 05:15:00 +0000 (05:15 +0000)]
Regenerate.

From-SVN: r21083

26 years agoMakefile.in: Re-write build procedure mainly to honour dependencies correctly but...
Dave Love [Sun, 12 Jul 1998 05:02:03 +0000 (05:02 +0000)]
Makefile.in: Re-write build procedure mainly to honour dependencies correctly but also allow...

1998-07-10  Dave Love  <d.love@dl.ac.uk>
* Makefile.in: Re-write build procedure mainly to honour
dependencies correctly but also allow making in the build
directory by configuring the relevant variables.  The lib[FIU]77
subdirs do dependency checking of their objects.  Stamp files
dictate when to run (new) archive targets in subdirs.  Some
tidying of variables.  Supply full set of standard targets.
* configure.in: Move much of testing to new configures in
subdirs.  Tidy up handling of RANLIB etc.
* stamp-h.in, libF77/configure.in, libI77/configure.in,
libF77/configure, libI77/configure: New files.
* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
Change in step with libf2c/Makefile.in.

From-SVN: r21082

26 years agoversion.c: Bump version.
Dave Love [Sun, 12 Jul 1998 04:53:33 +0000 (04:53 +0000)]
version.c: Bump version.

1998-07-12  Dave Love  <d.love@dl.ac.uk>
* version.c: Bump version.

From-SVN: r21081

26 years agoBump version.
Dave Love [Sun, 12 Jul 1998 04:52:27 +0000 (04:52 +0000)]
Bump version.

From-SVN: r21080

26 years agoFix 980616-0.f:
Craig Burley [Sun, 12 Jul 1998 04:47:46 +0000 (00:47 -0400)]
Fix 980616-0.f:

Sat Jul 11 19:24:32 1998  Craig Burley  <burley@gnu.org>
Fix 980616-0.f:
* equiv.c (ffeequiv_offset_): Don't crash on various
possible ANY operands.

From-SVN: r21079

26 years agocom.c (ffecom_expr_): Die if padding for constant is non-zero.
Craig Burley [Sun, 12 Jul 1998 04:42:47 +0000 (00:42 -0400)]
com.c (ffecom_expr_): Die if padding for constant is non-zero.

Sat Jul 11 18:24:37 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_expr_) [FFEBLD_opCONTER]: Die if padding
for constant is non-zero.
* com.c (__eprintf): Delete this function, it is obsolete.

From-SVN: r21078

26 years ago970816-3.f: New test from Craig.
Dave Love [Sun, 12 Jul 1998 04:36:38 +0000 (04:36 +0000)]
970816-3.f: New test from Craig.

1998-07-12  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/970816-3.f:  New test from Craig.

From-SVN: r21077

26 years agoNew test from Craig.
Dave Love [Sun, 12 Jul 1998 04:33:13 +0000 (04:33 +0000)]
New test from Craig.

From-SVN: r21076

26 years agostl_tempbuf.h (temporary_buffer): Add missing typename.
Klaus-Georg Adams [Sun, 12 Jul 1998 03:18:39 +0000 (03:18 +0000)]
stl_tempbuf.h (temporary_buffer): Add missing typename.

* stl_tempbuf.h (temporary_buffer): Add missing typename.
* type_traits.h: update comments.

From-SVN: r21075

26 years agonew
Jason Merrill [Sun, 12 Jul 1998 03:08:33 +0000 (23:08 -0400)]
new

From-SVN: r21074

26 years agotypeck.c (comptypes, [...]): Add parameter comparison.
Kriang Lerdsuwanakij [Sun, 12 Jul 1998 03:06:46 +0000 (23:06 -0400)]
typeck.c (comptypes, [...]): Add parameter comparison.

* typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter
comparison.
* pt.c (for_each_template_parm, case TEMPLATE_DECL): If it is a
template template parameter, record its use.
(for_each_template_parm, case TEMPLATE_TEMPLATE_PARM): Traverse
its template arguments if exists.
* pt.c (coerce_template_template_parms): New function equivalent
to coerce_template_parms when IS_TMPL_PARM is true.
(coerce_template_parms): Use it.  Remove the IS_TMPL_PARM parameter,
all callers changed.
(coerce_template_parms): Access ARGLIST properly when creating a
new vector.  Only accept implicit TYPE_DECL as valid argument for
a template template parameter when it is a base class of
current_class_type.  Don't display error message when COMPLAIN is
false.

From-SVN: r21073

26 years agoMakefile.in (VERSION): Bump to 2.9.0.
Jason Merrill [Sun, 12 Jul 1998 02:20:51 +0000 (22:20 -0400)]
Makefile.in (VERSION): Bump to 2.9.0.

* Makefile.in (VERSION): Bump to 2.9.0.
* std/bastring.cc (find_last_of): Fix.
(find_last_not_of): Likewise.

From-SVN: r21072

26 years ago* tstring.cc (findtest): New fn.
Bob Sidebotham [Sun, 12 Jul 1998 02:20:22 +0000 (02:20 +0000)]
* tstring.cc (findtest): New fn.

From-SVN: r21071

26 years ago* cplus-dem.c (demangle_nested_args): Return a value.
Jason Merrill [Sun, 12 Jul 1998 01:56:00 +0000 (01:56 +0000)]
* cplus-dem.c (demangle_nested_args): Return a value.

From-SVN: r21070

26 years agorepo.c (get_base_filename): Use file_name_nondirectory ().
Klaus Kaempf [Sun, 12 Jul 1998 01:53:48 +0000 (01:53 +0000)]
repo.c (get_base_filename): Use file_name_nondirectory ().

  * repo.c (get_base_filename): Use file_name_nondirectory ().
  (open_repo_file): Ditto.
* cp-tree.h (file_name_nondirectory): Add prototype.

From-SVN: r21069

26 years agofriend.c (do_friend): Pull the identifier out of declarator.
Jason Merrill [Sun, 12 Jul 1998 01:30:11 +0000 (01:30 +0000)]
friend.c (do_friend): Pull the identifier out of declarator.

* friend.c (do_friend): Pull the identifier out of declarator.
Use cp_error and friends.
* decl2.c (qualified_lookup_using_namespace): Fix call to
purpose_member.
* decl.c (lookup_name_real): Don't call complete_type on a namespace.
(grokvardecl): Use DECL_CLASS_SCOPE_P.
(xref_basetypes): Fix call to GNU_xref_hier.
* cvt.c (convert_pointer_to_real): Check for error_mark_node sooner.
* class.c (warn_hidden): Fix for OVERLOAD.
From grahams@rcp.co.uk:
* cp-tree.h (DEFARG_NODE_CHECK): New macro.
  (DEFARG_LENGTH, DEFARG_POINTER): Use it.

From-SVN: r21068

26 years ago* tree.h (TYPE_P): New macro.
Jason Merrill [Sun, 12 Jul 1998 01:29:26 +0000 (01:29 +0000)]
* tree.h (TYPE_P): New macro.

From-SVN: r21067

26 years agodocument -fno-optional-diags
Jason Merrill [Sun, 12 Jul 1998 01:25:52 +0000 (21:25 -0400)]
document -fno-optional-diags

From-SVN: r21066

26 years agoDaily bump.
Jeff Law [Sun, 12 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21065

26 years ago* g++.1 (-traditional): Remove duplicated documentation.
Jeffrey A Law [Sun, 12 Jul 1998 00:25:49 +0000 (00:25 +0000)]
* g++.1 (-traditional): Remove duplicated documentation.

From-SVN: r21064