platform/upstream/gcc.git
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

26 years agoPlease try to remember to regenerate this when
David S. Miller [Sat, 11 Jul 1998 21:38:27 +0000 (14:38 -0700)]
Please try to remember to regenerate this when
you commit changes to configure.in

From-SVN: r21063

26 years agocplus-dem.c (string): Move definition before work_stuff.
Mark Mitchell [Sat, 11 Jul 1998 16:20:54 +0000 (16:20 +0000)]
cplus-dem.c (string): Move definition before work_stuff.

* cplus-dem.c (string): Move definition before work_stuff.
(work_stuff): Add volatile_type, forgetting_types,
previous_argument, and nrepeats fields.
(SCOPE_STRING): New macro.
(demangle_template): Add `remember' parameter.  Add comment.
Register the `B' code type here, if remembering.  Tidy.  Fix crash
on NULL tmpl_argvec.  Be consistent with use of tname/trawname.
(demangle_nested_args): New function.
(internal_cplus_demangle): Handle volatile-qualified member
functions.
(mop_up): Delete the previous_argument string if present.
(demangle_signature): Tidy.  Handle volatile-qualified member
functions.  Handle back-references using the `B' code.  Use extra
parameter to demangle_template and SCOPE_STRING where appropriate.
(demangle_template_value_parm): Fix thinko; 'B' is not an integral
code.
(demangle_class): Use SCOPE_STRING.
(gnu_special): Pass additional argument to demangle_template.
Use SCOPE_STRING.
(demangle_qualified): Save qualified types for later
back-references.  Handle constructors and destructors for template
types correctly.
(do_type): Tidy.  Use SCOPE_STRING.  Pass extra argument to
demangle_template.  Use demangled_nested_args.  Don't remember
qualified types here; that's now done in demangle_qualified.
Similarly for templates.
(do_arg): Improve commment.  Handle 'n' repeat code.
(remember_type): Check forgetting_types.
(demangle_args): Deal with 'n' repeat codes.  Tidy.
* method.c (flush_repeats): Add nrepeats parameter.
(issue_nrepeats): Likewise.
(is_back_referenceable_type): New function.  Don't back-reference
TEMPLATE_TYPE_PARMs as well as simple types like integers.
(build_mangled_name_for_type): Likewise.
(build_mangled_name_for_type_with_Gcode): Likewise.
(lasttype): Remove.
(nrepeats): Likewise.
(Nrepeats): Likewise.
(start_squangling): Don't clear the variables removed above.
(end_squangling): Likewise.
(flush_repeats): Tidy.  Use nrepeats parameter rather than
Nrepeats global.
(issue_nrepeats): Likewise, but with nrepeats global.  Use
is_backreferenceable_type.
(build_overload_nested_name): Tidy.  Add comment.  Use
build_mangled_name_for_type.
(build_underscore_int): Comment.
(build_overload_scope_ref): Use build_mangled_name_for_type.
(build_overload_int): Likewise.
(build_template_template_parm_names): Tidy.
(build_template_parm_names): Use build_mangled_name_for_type.
(build_overload_identifier): Add comments.
(build_mangled_name_for_type_with_Gcode): Split out from
build_mangled_name.
(build_mangled_name_for_type): Use it.
(build_mangled_name): Rework to use build_mangled_name_for_type
and to not use global nrepeats/Nrepeats.  Tidy.
(process_modifiers): Tidy.
(check_btype): Use is_backreferenceable_type.  Add comment.
Rename `node' to `type'.
(process_overload_item): Set numeric_output_need_bar here.
Use build_mangled_name_for_type.  Tidy.
(build_decl_overload_real): Tidy.  Don't use Nrepeats.  Use
build_mangled_name_for_type.

From-SVN: r21062

26 years agopt.c (push_template_decl_real): Don't look at DECL_TEMPLATE_INFO for TYPE_DECLs.
Mark Mitchell [Sat, 11 Jul 1998 15:42:37 +0000 (15:42 +0000)]
pt.c (push_template_decl_real): Don't look at DECL_TEMPLATE_INFO for TYPE_DECLs.

* pt.c (push_template_decl_real): Don't look at DECL_TEMPLATE_INFO
for TYPE_DECLs.

From-SVN: r21061

26 years agoNew test case.
Martin v. Löwis [Sat, 11 Jul 1998 10:36:18 +0000 (10:36 +0000)]
New test case.

From-SVN: r21060

26 years agoNew testcase.
Martin v. Löwis [Sat, 11 Jul 1998 10:35:24 +0000 (10:35 +0000)]
New testcase.

From-SVN: r21059

26 years ago* configure.in (thumb-*-coff*): Don't cause fixincludes to be run.
Richard Earnshaw [Sat, 11 Jul 1998 03:09:16 +0000 (03:09 +0000)]
* configure.in (thumb-*-coff*): Don't cause fixincludes to be run.

From-SVN: r21058

26 years agoarm.md (extendhisi2_mem, [...]): Propagate the volatile and structure attribute flags...
Richard Earnshaw [Sat, 11 Jul 1998 03:04:39 +0000 (03:04 +0000)]
arm.md (extendhisi2_mem, [...]): Propagate the volatile and structure attribute flags to MEMs generated.

* arm.md (extendhisi2_mem, movhi, movhi_bytes): Propagate the volatile
and structure attribute flags to MEMs generated.
(splits for sign-extended HI & QI mode from memory):  Also propagate
the volatile flag.

From-SVN: r21057

26 years agoAdd myself, as per Jeff Law's request.
Martin v. Löwis [Sat, 11 Jul 1998 02:20:40 +0000 (02:20 +0000)]
Add myself, as per Jeff Law's request.

From-SVN: r21056

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

From-SVN: r21055

26 years agosingleton.C: Return error value instead of taking SIGSEGV.
Martin v. Loewis [Fri, 10 Jul 1998 21:45:18 +0000 (21:45 +0000)]
singleton.C: Return error value instead of taking SIGSEGV.

*  g++.other/singleton.C: Return error value instead of taking
SIGSEGV.

From-SVN: r21054

26 years agoInclude system.h if it was not already included
Michael Meissner [Fri, 10 Jul 1998 16:12:26 +0000 (16:12 +0000)]
Include system.h if it was not already included

From-SVN: r21053

26 years agojump.c (jump_optimize): If after_regscan and our transformations generate new REGs...
David S. Miller [Fri, 10 Jul 1998 14:00:58 +0000 (14:00 +0000)]
jump.c (jump_optimize): If after_regscan and our transformations generate new REGs, rerun reg_scan.

* jump.c (jump_optimize): If after_regscan and our transformations
generate new REGs, rerun reg_scan.

From-SVN: r21052

26 years agoi960.c (i960_address_cost): MEMA operands with positive offsets < 4096 are free.
Andrew MacLeod [Fri, 10 Jul 1998 08:55:34 +0000 (08:55 +0000)]
i960.c (i960_address_cost): MEMA operands with positive offsets < 4096 are free.

Fri Jul 10 11:50:43 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
* config/i960/i960.c (i960_address_cost): MEMA operands with
positive offsets < 4096 are free.

From-SVN: r21051

26 years agosingleton.C: New test.
Klaus-Georg Adams [Fri, 10 Jul 1998 08:03:35 +0000 (08:03 +0000)]
singleton.C: New test.

*  g++.other/singleton.C: New test.   Warning is under dispute.
Runtime crash is not.

From-SVN: r21050

26 years agom68k.c (const_uint32_operand): Recognize CONSTANT_P_RTX.
Andreas Schwab [Fri, 10 Jul 1998 03:36:24 +0000 (03:36 +0000)]
m68k.c (const_uint32_operand): Recognize CONSTANT_P_RTX.

* config/m68k/m68k.c (const_uint32_operand): Recognize
CONSTANT_P_RTX.
(const_sint32_operand): Likewise.

From-SVN: r21049

26 years agoDaily bump.
Jeff Law [Fri, 10 Jul 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21047

26 years ago* gcc.c-torture/execute/980709-1.c: New test.
Jeffrey A Law [Thu, 9 Jul 1998 23:19:19 +0000 (23:19 +0000)]
* gcc.c-torture/execute/980709-1.c: New test.

From-SVN: r21046

26 years agoRemove trailing whitespace after a backslash.
Jeff Law [Thu, 9 Jul 1998 22:55:40 +0000 (16:55 -0600)]
Remove trailing whitespace after a backslash.

From-SVN: r21045

26 years ago* Makefile.in (alias.o): Depend on $(EXPR_H).
Jeffrey A Law [Thu, 9 Jul 1998 22:04:00 +0000 (22:04 +0000)]
* Makefile.in (alias.o): Depend on $(EXPR_H).

From-SVN: r21044

26 years ago
Martin v. Loewis [Thu, 9 Jul 1998 21:10:51 +0000 (21:10 +0000)]

From Martin Von Loewis.
       * g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C,
       ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C,
       using6.C, using7.C}:  New namespace tests.

From-SVN: r21043

26 years ago
Martin v. Loewis [Thu, 9 Jul 1998 21:10:50 +0000 (21:10 +0000)]

From Martin Von Loewis.
       * g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C,
       ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C,
       using6.C, using7.C}:  New namespace tests.

From-SVN: r21042

26 years ago
Martin v. Loewis [Thu, 9 Jul 1998 21:10:49 +0000 (21:10 +0000)]

From Martin Von Loewis.
       * g++.ns/{alias2.C, alias5.C, koenig4.C, lookup3.C ns13.C,
       ns14.C, ns15.C, template3.C, undef1.C, using4.C, using5.C,
       using6.C, using7.C}:  New namespace tests.

From-SVN: r21041

26 years agoFrom Alexandre Oliva
Alexandre Oliva [Thu, 9 Jul 1998 20:56:44 +0000 (20:56 +0000)]
From Alexandre Oliva
        * g++.old-deja/g++.other/partspec1.C: test matching of partial
        specialization with typedef'ed names used as array indexes.

From-SVN: r21040

26 years agointdoc.in (HOSTNM_func, [...]): Update last change.
Dave Love [Thu, 9 Jul 1998 14:17:18 +0000 (14:17 +0000)]
intdoc.in (HOSTNM_func, [...]): Update last change.

1998-07-09  Dave Love  <d.love@dl.ac.uk>
* intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change.

From-SVN: r21039

26 years agoUpdate last change.
Dave Love [Thu, 9 Jul 1998 14:15:13 +0000 (14:15 +0000)]
Update last change.

From-SVN: r21038

26 years agoMakefile.in (check): Wrap -lg2c ...
Dave Love [Thu, 9 Jul 1998 14:05:42 +0000 (14:05 +0000)]
Makefile.in (check): Wrap -lg2c ...

* libU77/Makefile.in (check): Wrap -lg2c ... -lm around $(LIBS) in
case of static link.

From-SVN: r21037

26 years ago(check): Wrap -lg2c ...
Dave Love [Thu, 9 Jul 1998 14:03:23 +0000 (14:03 +0000)]
(check): Wrap -lg2c ...

(check): Wrap -lg2c ... -lm around $(LIBS) in
case of static link.

From-SVN: r21036

26 years agoreload1.c (choose_reload_regs): If using an equivalence from find_equiv_reg and reg_r...
J"orn Rennecke [Thu, 9 Jul 1998 10:29:03 +0000 (10:29 +0000)]
reload1.c (choose_reload_regs): If using an equivalence from find_equiv_reg and reg_reloaded_valid is not set...

* reload1.c (choose_reload_regs): If using an equivalence from
find_equiv_reg and reg_reloaded_valid is not set for this register,
clear the associated spill_reg_store.

From-SVN: r21035

26 years agoreload1.c (emit_reload_insns): If an output reload copies only to a secondary reload...
J"orn Rennecke [Thu, 9 Jul 1998 10:18:53 +0000 (10:18 +0000)]
reload1.c (emit_reload_insns): If an output reload copies only to a secondary reload register...

* reload1.c (emit_reload_insns): If an output reload copies only
to a secondary reload register, indicate that the secondary reload
does the actual store.

From-SVN: r21034

26 years agoreload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is change...
J"orn Rennecke [Thu, 9 Jul 1998 10:06:18 +0000 (10:06 +0000)]
reload.c (find_equiv_reg): If need_stable_sp is set, check if stack pointer is changed directly in a PARALLEL.

* reload.c (find_equiv_reg): If need_stable_sp is set,
check if stack pointer is changed directly in a PARALLEL.

From-SVN: r21033

26 years ago* jump.c (duplicate_loop_exit_test): Fix thinko.
Jeffrey A Law [Thu, 9 Jul 1998 09:40:18 +0000 (09:40 +0000)]
* jump.c (duplicate_loop_exit_test): Fix thinko.

From-SVN: r21032

26 years ago* libU77/Version.c, libI77/Version.c: Update version info.
Dave Love [Thu, 9 Jul 1998 04:01:07 +0000 (04:01 +0000)]
* libU77/Version.c, libI77/Version.c: Update version info.

From-SVN: r21031

26 years agoUpdate version info.
Dave Love [Thu, 9 Jul 1998 03:59:25 +0000 (03:59 +0000)]
Update version info.

From-SVN: r21030

26 years agoZap spurious entry.
Dave Love [Thu, 9 Jul 1998 03:57:21 +0000 (03:57 +0000)]
Zap spurious entry.

From-SVN: r21029

26 years agosys_clock_.c: Replace TIMES conditional stuff removed in error by last change.
Dave Love [Thu, 9 Jul 1998 03:40:30 +0000 (03:40 +0000)]
sys_clock_.c: Replace TIMES conditional stuff removed in error by last change.

1998-07-09  Dave Love  <d.love@dl.ac.uk>
* libU77/sys_clock_.c: Replace TIMES conditional stuff removed in
error by last change.

From-SVN: r21028

26 years agoReplace TIMES conditional stuff removed in
Dave Love [Thu, 9 Jul 1998 03:40:06 +0000 (03:40 +0000)]
Replace TIMES conditional stuff removed in
error by last change.

From-SVN: r21027

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

From-SVN: r21026

26 years agortemself.h: Updated to keep in sync with config/i386/linux.h.
Joel Sherrill [Thu, 9 Jul 1998 00:37:05 +0000 (00:37 +0000)]
rtemself.h: Updated to keep in sync with config/i386/linux.h.

        * config/i386/rtemself.h: Updated to keep in sync with
        config/i386/linux.h.
        * configure.in: Added sh-rtemself.
        * configure: Rebuilt.
        * config/sh/rtems.h: Removed -D__ELF__ since it is now COFF.
        * config/sh/rtemself.h: New file.
        * config/rs6000/rtems.h: Defined STARTFILE_DEFAULT_SPEC.

Co-Authored-By: Ralf Corsepius <corsepiu@faw.uni-ulm.de>
From-SVN: r21025

26 years agoRegenerated.
Jeff Law [Thu, 9 Jul 1998 00:28:12 +0000 (18:28 -0600)]
Regenerated.

From-SVN: r21024

26 years agoconfigure.in: Check if the assembler supports ".balign" and ".p2align" and define...
Jeffrey A Law [Thu, 9 Jul 1998 00:27:21 +0000 (00:27 +0000)]
configure.in: Check if the assembler supports ".balign" and ".p2align" and define...

        * configure.in: Check if the assembler supports ".balign" and
        ".p2align" and define HAVE_GAS_BALIGN_AND_P2ALIGN appropriately.
        * acconfig.h (HAVE_GAS_BALIGN_AND_P2ALIGN): New tag.
        * i386/gas.h (ASM_OUTPUT_ALIGN): If the assembler has support for
        ".balign" then use it.

From-SVN: r21023

26 years agoFix debugging of CHARACTER*(*), etc., which requires emitting debug info on types...
Jeff Law [Wed, 8 Jul 1998 23:47:57 +0000 (17:47 -0600)]
Fix debugging of CHARACTER*(*), etc., which requires emitting debug info on types like `ftnlen':

Fix debugging of CHARACTER*(*), etc., which requires
emitting debug info on types like `ftnlen':
* com.c (ffecom_start_progunit_): Don't bother
resetting "invented" flag for identifier.
(ffecom_transform_equiv_): Don't bother zeroing
"ignored" flag for decl.
(pushdecl): No longer set "ignored", "used", or
"suppressed debug" flags for decls having "invented"
identifiers.

From-SVN: r21022

26 years agoFix debugging of CHARACTER*(*), etc., which requires emitting debug info on types...
Craig Burley [Wed, 8 Jul 1998 23:47:55 +0000 (17:47 -0600)]
Fix debugging of CHARACTER*(*), etc., which requires emitting debug info on types like `ftnlen':

d
Fix debugging of CHARACTER*(*), etc., which requires
emitting debug info on types like `ftnlen':
* com.c (ffecom_start_progunit_): Don't bother
resetting "invented" flag for identifier.
(ffecom_transform_equiv_): Don't bother zeroing
"ignored" flag for decl.
(pushdecl): No longer set "ignored", "used", or
"suppressed debug" flags for decls having "invented"
identifiers.

From-SVN: r21021

26 years agoFix debugging of CHARACTER*(*), etc., which requires emitting debug info on types...
Craig Burley [Wed, 8 Jul 1998 23:47:54 +0000 (17:47 -0600)]
Fix debugging of CHARACTER*(*), etc., which requires emitting debug info on types like `ftnlen':


Fix debugging of CHARACTER*(*), etc., which requires
emitting debug info on types like `ftnlen':
* com.c (ffecom_start_progunit_): Don't bother
resetting "invented" flag for identifier.
(ffecom_transform_equiv_): Don't bother zeroing
"ignored" flag for decl.
(pushdecl): No longer set "ignored", "used", or
"suppressed debug" flags for decls having "invented"
identifiers.

From-SVN: r21020

26 years ago* print-rtl.c (print_rtx): Revert previous patch.
Jeffrey A Law [Wed, 8 Jul 1998 23:44:15 +0000 (23:44 +0000)]
* print-rtl.c (print_rtx): Revert previous patch.

From-SVN: r21019

26 years ago* gcc.dg/980709-1.c: New test.
Jeffrey A Law [Wed, 8 Jul 1998 23:40:33 +0000 (23:40 +0000)]
* gcc.dg/980709-1.c: New test.

From-SVN: r21018

26 years agojump.c (duplicate_loop_exit_test): Do not duplicate the loop exit test if the exit...
Jeffrey A Law [Wed, 8 Jul 1998 23:37:50 +0000 (23:37 +0000)]
jump.c (duplicate_loop_exit_test): Do not duplicate the loop exit test if the exit code has an insn with ASM_OPERANDS.

        * jump.c (duplicate_loop_exit_test): Do not duplicate the loop exit
        test if the exit code has an insn with ASM_OPERANDS.

From-SVN: r21017

26 years ago* m32r.h (STDIO_PROTO): Fix typo.
Jeffrey A Law [Wed, 8 Jul 1998 22:45:04 +0000 (22:45 +0000)]
* m32r.h (STDIO_PROTO): Fix typo.

From-SVN: r21016

26 years ago* i386/cygwin32.h (STDIO_PROTO): Fix typo.
Jeffrey A Law [Wed, 8 Jul 1998 22:39:04 +0000 (22:39 +0000)]
* i386/cygwin32.h (STDIO_PROTO): Fix typo.

From-SVN: r21015

26 years agopa.h (LEGITIMIZE_RELOAD_ADDRESS): Handle addresses created by LEGITIMIZE_RELOAD_ADDRESS.
Jeffrey A Law [Wed, 8 Jul 1998 22:05:40 +0000 (22:05 +0000)]
pa.h (LEGITIMIZE_RELOAD_ADDRESS): Handle addresses created by LEGITIMIZE_RELOAD_ADDRESS.

        * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Handle addresses created by
        LEGITIMIZE_RELOAD_ADDRESS.
        * tm.texi (LEGITIMIZE_RELOAD_ADDRESS): Note that this macro must be
        able to handle addresses created by previous invocations of the macro.

From-SVN: r21014