OSDN Git Service
law [Mon, 13 Jul 1998 22:38:51 +0000 (22:38 +0000)]
* 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].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21120
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 22:33:07 +0000 (22:33 +0000)]
* m68k.c (output_scc_di): Use cmpw #0 only for address registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21119
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21118
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 22:27:34 +0000 (22:27 +0000)]
* search.c (my_tree_cons): The bitfield is at index 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21117
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 22:21:01 +0000 (22:21 +0000)]
* stmt.c (expand_expr_stmt): If not assigning fresh
value to last_expr_value, zero it, so old garbage
doesn't get dereferenced.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21116
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 22:09:21 +0000 (22:09 +0000)]
* gcse.c (hash_scan_insn): Add missing argument declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21115
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 21:31:31 +0000 (21:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21114
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 21:29:27 +0000 (21:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21113
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21112
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 13 Jul 1998 17:32:15 +0000 (17:32 +0000)]
Added --help descriptions of various command line switches
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21111
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 13 Jul 1998 17:22:27 +0000 (17:22 +0000)]
--help support added
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21110
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 13 Jul 1998 17:20:29 +0000 (17:20 +0000)]
Add --help option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21109
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [Mon, 13 Jul 1998 16:53:32 +0000 (16:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21108
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 12:39:33 +0000 (12:39 +0000)]
* invoke.texi(-fno-builtin): Explain that the names of built-in
functions begin with `__builtin_', not `__'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21107
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Mon, 13 Jul 1998 12:13:54 +0000 (12:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21106
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Mon, 13 Jul 1998 12:11:43 +0000 (12:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21105
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 12:08:59 +0000 (12:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21104
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 13 Jul 1998 11:04:45 +0000 (11:04 +0000)]
* reload1.c (reload_reg_free_before_p): Abort for RELOAD_FOR_OUTPUT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21103
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 13 Jul 1998 10:55:11 +0000 (10:55 +0000)]
Update entry for last change to include more details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21102
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21101
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 13 Jul 1998 10:50:32 +0000 (10:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21100
138bc75d-0d04-0410-961f-
82ee72b054a4
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 REFERENCE_TYPE or when we think we might have found
an optimized access to the first element in an array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21099
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Mon, 13 Jul 1998 03:53:27 +0000 (03:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21098
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Mon, 13 Jul 1998 03:51:25 +0000 (03:51 +0000)]
New test from Craig.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21097
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [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.
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21096
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 13 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21095
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 16:55:29 +0000 (16:55 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21091
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 16:39:31 +0000 (16:39 +0000)]
fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21090
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 15:41:22 +0000 (15:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21089
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 15:20:42 +0000 (15:20 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21088
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21087
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 09:02:56 +0000 (09:02 +0000)]
Fix bug address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21086
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 08:55:18 +0000 (08:55 +0000)]
* g77.f-torture/noncompile/980616-0.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21085
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 08:54:18 +0000 (08:54 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21084
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 05:15:00 +0000 (05:15 +0000)]
Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21083
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 05:02:03 +0000 (05:02 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21082
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 04:53:33 +0000 (04:53 +0000)]
1998-07-12 Dave Love <d.love@dl.ac.uk>
* version.c: Bump version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21081
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 04:52:27 +0000 (04:52 +0000)]
Bump version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21080
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 04:47:46 +0000 (04:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21079
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 04:42:47 +0000 (04:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21078
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 04:36:38 +0000 (04:36 +0000)]
1998-07-12 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/970816-3.f: New test from Craig.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21077
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 12 Jul 1998 04:33:13 +0000 (04:33 +0000)]
New test from Craig.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21076
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 03:18:39 +0000 (03:18 +0000)]
* stl_tempbuf.h (temporary_buffer): Add missing typename.
* type_traits.h: update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21075
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 03:08:33 +0000 (03:08 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21074
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 03:06:46 +0000 (03:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21073
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 02:20:51 +0000 (02:20 +0000)]
* Makefile.in (VERSION): Bump to 2.9.0.
* std/bastring.cc (find_last_of): Fix.
(find_last_not_of): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21072
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 02:20:22 +0000 (02:20 +0000)]
* tstring.cc (findtest): New fn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21071
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 01:56:00 +0000 (01:56 +0000)]
* cplus-dem.c (demangle_nested_args): Return a value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21070
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 01:53:48 +0000 (01:53 +0000)]
* repo.c (get_base_filename): Use file_name_nondirectory ().
(open_repo_file): Ditto.
* cp-tree.h (file_name_nondirectory): Add prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21069
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 01:30:11 +0000 (01:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21068
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 01:29:26 +0000 (01:29 +0000)]
* tree.h (TYPE_P): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21067
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 12 Jul 1998 01:25:52 +0000 (01:25 +0000)]
document -fno-optional-diags
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21066
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 12 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21065
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 12 Jul 1998 00:25:49 +0000 (00:25 +0000)]
* g++.1 (-traditional): Remove duplicated documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21064
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 11 Jul 1998 21:38:27 +0000 (21:38 +0000)]
Please try to remember to regenerate this when
you commit changes to configure.in
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21063
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 11 Jul 1998 16:20:54 +0000 (16:20 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21062
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21061
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Sat, 11 Jul 1998 10:36:18 +0000 (10:36 +0000)]
New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21060
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Sat, 11 Jul 1998 10:35:24 +0000 (10:35 +0000)]
New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21059
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 11 Jul 1998 03:09:16 +0000 (03:09 +0000)]
* configure.in (thumb-*-coff*): Don't cause fixincludes to be run.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21058
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 11 Jul 1998 03:04:39 +0000 (03:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21057
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Sat, 11 Jul 1998 02:20:40 +0000 (02:20 +0000)]
Add myself, as per Jeff Law's request.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21056
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 11 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21055
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Fri, 10 Jul 1998 21:45:18 +0000 (21:45 +0000)]
* g++.other/singleton.C: Return error value instead of taking
SIGSEGV.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21054
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 10 Jul 1998 16:12:26 +0000 (16:12 +0000)]
Include system.h if it was not already included
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21053
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21052
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Fri, 10 Jul 1998 08:55:34 +0000 (08:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21051
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Fri, 10 Jul 1998 08:03:35 +0000 (08:03 +0000)]
* g++.other/singleton.C: New test. Warning is under dispute.
Runtime crash is not.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21050
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Fri, 10 Jul 1998 03:36:24 +0000 (03:36 +0000)]
* config/m68k/m68k.c (const_uint32_operand): Recognize
CONSTANT_P_RTX.
(const_sint32_operand): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21049
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 10 Jul 1998 01:27:47 +0000 (01:27 +0000)]
dummy commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21048
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 10 Jul 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21047
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 23:19:19 +0000 (23:19 +0000)]
* gcc.c-torture/execute/980709-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21046
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 22:55:40 +0000 (22:55 +0000)]
Remove trailing whitespace after a backslash.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21045
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 22:04:00 +0000 (22:04 +0000)]
* Makefile.in (alias.o): Depend on $(EXPR_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21044
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21043
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21042
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21041
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21040
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 14:17:18 +0000 (14:17 +0000)]
1998-07-09 Dave Love <d.love@dl.ac.uk>
* intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21039
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 14:15:13 +0000 (14:15 +0000)]
Update last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21038
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 14:05:42 +0000 (14:05 +0000)]
* libU77/Makefile.in (check): Wrap -lg2c ... -lm around $(LIBS) in
case of static link.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21037
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 14:03:23 +0000 (14:03 +0000)]
(check): Wrap -lg2c ... -lm around $(LIBS) in
case of static link.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21036
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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 for this register,
clear the associated spill_reg_store.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21035
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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, indicate that the secondary reload
does the actual store.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21034
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21033
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 09:40:18 +0000 (09:40 +0000)]
* jump.c (duplicate_loop_exit_test): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21032
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 04:01:07 +0000 (04:01 +0000)]
* libU77/Version.c, libI77/Version.c: Update version info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21031
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 03:59:25 +0000 (03:59 +0000)]
Update version info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21030
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 03:57:21 +0000 (03:57 +0000)]
Zap spurious entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21029
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 03:40:30 +0000 (03:40 +0000)]
1998-07-09 Dave Love <d.love@dl.ac.uk>
* libU77/sys_clock_.c: Replace TIMES conditional stuff removed in
error by last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21028
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Thu, 9 Jul 1998 03:40:06 +0000 (03:40 +0000)]
Replace TIMES conditional stuff removed in
error by last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21027
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21026
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 00:37:05 +0000 (00:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21025
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 00:28:12 +0000 (00:28 +0000)]
Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21024
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 9 Jul 1998 00:27:21 +0000 (00:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21023
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Jul 1998 23:47:57 +0000 (23:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21022
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Jul 1998 23:47:55 +0000 (23:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21021
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Jul 1998 23:47:54 +0000 (23:47 +0000)]
�
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21020
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Jul 1998 23:44:15 +0000 (23:44 +0000)]
* print-rtl.c (print_rtx): Revert previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21019
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Jul 1998 23:40:33 +0000 (23:40 +0000)]
* gcc.dg/980709-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21018
138bc75d-0d04-0410-961f-
82ee72b054a4