OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years agoFixup --enable-target-optspace
meissner [Tue, 28 Apr 1998 04:36:18 +0000 (04:36 +0000)]
Fixup --enable-target-optspace

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19464 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAdd mt-ospace
meissner [Tue, 28 Apr 1998 04:33:46 +0000 (04:33 +0000)]
Add mt-ospace

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19463 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBounce the ftnint argument through a local time_t.
rth [Mon, 27 Apr 1998 23:00:10 +0000 (23:00 +0000)]
Bounce the ftnint argument through a local time_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19460 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
rth [Mon, 27 Apr 1998 22:53:54 +0000 (22:53 +0000)]
* libU77/ltime_.c: Bounce the ftnint argument through a local time_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19457 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoOne more try at correct paths to f771 headers.
rth [Mon, 27 Apr 1998 22:46:10 +0000 (22:46 +0000)]
One more try at correct paths to f771 headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19456 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
manfred [Mon, 27 Apr 1998 22:27:25 +0000 (22:27 +0000)]
8
* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19455 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Mon, 27 Apr 1998 22:27:23 +0000 (22:27 +0000)]

* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19454 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 22:11:44 +0000 (22:11 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19451 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:53:17 +0000 (21:53 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19448 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:12:32 +0000 (21:12 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19445 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:11:12 +0000 (21:11 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19444 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:10:27 +0000 (21:10 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19443 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:08:51 +0000 (21:08 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19442 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:08:00 +0000 (21:08 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19441 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:07:41 +0000 (21:07 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19440 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:03:02 +0000 (21:03 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19439 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Mon, 27 Apr 1998 21:02:41 +0000 (21:02 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19438 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix for x86 FP problem.
wilson [Mon, 27 Apr 1998 19:24:06 +0000 (19:24 +0000)]
Fix for x86 FP problem.
* reg-stack.c: Revert last patch (Apr 20).
(convert_regs): Set insn to PREV_INSN (next) after do while loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19437 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix coldfire addsf3 bug, bug and patch from David Fiddes.
wilson [Mon, 27 Apr 1998 18:41:40 +0000 (18:41 +0000)]
Fix coldfire addsf3 bug, bug and patch from David Fiddes.
* m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19436 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix hppa miscompilation bug reported by Manfred Hollstein.
wilson [Mon, 27 Apr 1998 18:39:07 +0000 (18:39 +0000)]
Fix hppa miscompilation bug reported by Manfred Hollstein.
* loop.c (check_dbra_loop): New locals jump, first_compare, and
compare_and_branch.  Call get_condition to set first_compare.
Set compare_and_branch to number of compare/branch instructions.
Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
Replace '2' with compare_and_branch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19435 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (maybe_push_to_top_level): Always clear
mmitchel [Mon, 27 Apr 1998 14:02:45 +0000 (14:02 +0000)]
* decl.c (maybe_push_to_top_level): Always clear
current_template_parms and processing_template_decl.
(pushtag): Remove check of current_class_type and some comments,
since maybe_push_to_top_level no longer creates confusion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19434 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agocplus-dem.c (demangle_qualified): Add a missing else which caused
amacleod [Mon, 27 Apr 1998 12:59:51 +0000 (12:59 +0000)]
cplus-dem.c (demangle_qualified): Add a missing else which caused
qualified names with temp,\7flates to be demangled improperly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19433 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
amylaar [Mon, 27 Apr 1998 12:25:51 +0000 (12:25 +0000)]
* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19432 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoComment about fix.
fx [Mon, 27 Apr 1998 11:19:46 +0000 (11:19 +0000)]
Comment about fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19431 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * sh.c (sh_expand_prologue, sh_expand_epilogue):
amylaar [Mon, 27 Apr 1998 10:26:39 +0000 (10:26 +0000)]
    * sh.c (sh_expand_prologue, sh_expand_epilogue):
        If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
        * sh.h (STACK_BOUNDARY): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19430 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoSun Apr 26 09:13:41 1998 Craig Burley <burley@gnu.org>
fx [Mon, 27 Apr 1998 10:22:25 +0000 (10:22 +0000)]
Sun Apr 26 09:13:41 1998  Craig Burley  <burley@gnu.org>
* libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19429 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoupdate
jason [Mon, 27 Apr 1998 10:19:31 +0000 (10:19 +0000)]
update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19428 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(G77_hostnm_0): Fix off-by-one error
fx [Mon, 27 Apr 1998 10:11:57 +0000 (10:11 +0000)]
(G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19427 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew test.
fx [Mon, 27 Apr 1998 10:06:28 +0000 (10:06 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19426 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* g77.f-torture/compile/980427-0.f: New test.
fx [Mon, 27 Apr 1998 10:03:37 +0000 (10:03 +0000)]
* g77.f-torture/compile/980427-0.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19425 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
amylaar [Mon, 27 Apr 1998 09:26:21 +0000 (09:26 +0000)]
* sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19424 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoRedefine abort to report linenumber and filename of the error
meissner [Mon, 27 Apr 1998 08:49:53 +0000 (08:49 +0000)]
Redefine abort to report linenumber and filename of the error

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19423 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix a warning
meissner [Mon, 27 Apr 1998 06:20:13 +0000 (06:20 +0000)]
Fix a warning

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19422 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoMake args to jump_optimize symbolic
meissner [Mon, 27 Apr 1998 06:05:55 +0000 (06:05 +0000)]
Make args to jump_optimize symbolic

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19421 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* alpha.h (CONST_COSTS): Zero is always free.
rth [Sun, 26 Apr 1998 23:21:55 +0000 (23:21 +0000)]
* alpha.h (CONST_COSTS): Zero is always free.
(RTX_COSTS): Add EV6 costs.  Abort if alpha_cpu is unknown.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19420 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT
rth [Sun, 26 Apr 1998 18:09:12 +0000 (18:09 +0000)]
* configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT
tests to work out of the build directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19419 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
mmitchel [Sun, 26 Apr 1998 16:30:11 +0000 (16:30 +0000)]
* cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
(DECL_CLASS_TEMPLATE_P): Likewise.
(DECL_PRIMARY_TEMPLATE): Likewise.
(PRIMARY_TEMPLATE_P): Use it.
(push_template_decl_real): New function.
(redeclare_class_template): Take new template parameters as
input.
(is_specialization_of): New function.
(comp_template_args): Declare.
* decl.c (pushtag): Handle friend template classes.
(xref_tag): Likewise.  Use new calling convention for
redeclare_class_template.
* decl2.c (grok_x_components): Handle friend templates.
* friend.c (is_friend): Use is_specialization_of where
appropriate.  Deal with friend class templates.
(make_friend_class): Let a class template be friends with itself.
* pt.c (comp_template_args): Remove declaration.
(tsubst_friend_class): New function.
(push_template_decl_real): New function.
(push_template_decl): Use it.
(redeclare_class_template): Adjust for new calling convention.
(comp_template_args): Give it external linkage.
(instantiate_class_type): Use tsubst_friend_class to deal
with friend templates.
* typeck.c (comptypes): Use comp_template_args, rather than
expanding it inline.
* parse.y (component_decl): Handle a nested template type
like other component type declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19418 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
jason [Sun, 26 Apr 1998 15:41:36 +0000 (15:41 +0000)]
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
length in the name of a virtual table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19417 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agonew
jason [Sun, 26 Apr 1998 15:21:49 +0000 (15:21 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19416 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
rth [Sun, 26 Apr 1998 14:00:10 +0000 (14:00 +0000)]
* alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19415 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (mabybe_get_template_decl_from_type_decl): New function.
mmitchel [Sun, 26 Apr 1998 13:36:02 +0000 (13:36 +0000)]
* pt.c (mabybe_get_template_decl_from_type_decl): New function.
(lookup_template_class): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19414 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (check_explicit_specialization): Handle overloaded
mmitchel [Sun, 26 Apr 1998 12:34:42 +0000 (12:34 +0000)]
* pt.c (check_explicit_specialization): Handle overloaded
constructors correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19413 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDuh, remove the mail header before comitting, please.
rth [Sun, 26 Apr 1998 02:14:45 +0000 (02:14 +0000)]
Duh, remove the mail header before comitting, please.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19412 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Sat, 25 Apr 1998 22:11:40 +0000 (22:11 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19410 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fold-const.c (fold_convert): Fix typo.
law [Sat, 25 Apr 1998 16:17:08 +0000 (16:17 +0000)]
    * fold-const.c (fold_convert): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19409 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alias.c (alias_invariant): New variable.
jfc [Sat, 25 Apr 1998 16:09:24 +0000 (16:09 +0000)]
* alias.c (alias_invariant): New variable.
(record_base_value): New argument INVARIANT.
(memrefs_conflict_p): If a register has an entry in the alias_invariant
array, try substituting that value for the register.
* rtl.h: Declare record_base_value.
* loop.c, unroll.c: Update callers of record_base_value.
* alias.c (find_base_value, find_base_term): SIGN_EXTEND and
ZERO_EXTEND do not affect base values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19408 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * dbxout.c (dbxout_type): Fix typo.
law [Fri, 24 Apr 1998 20:53:53 +0000 (20:53 +0000)]
    * dbxout.c (dbxout_type): Fix typo.
        (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19407 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
law [Fri, 24 Apr 1998 14:58:23 +0000 (14:58 +0000)]
    * configure.in: Use CC_FOR_BUILD, not BUILD_CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19406 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
jfc [Fri, 24 Apr 1998 13:16:26 +0000 (13:16 +0000)]
* expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
if the argument is the address of a structure or array.
* configure.in: Enable Haifa scheduler by default for SPARC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19405 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cse.c (cse_set_around_loop): Don't do optimization when
amylaar [Fri, 24 Apr 1998 13:03:42 +0000 (13:03 +0000)]
* cse.c (cse_set_around_loop): Don't do optimization when
new pseudos are created.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19404 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoNew test from Joern.
law [Fri, 24 Apr 1998 11:44:42 +0000 (11:44 +0000)]
New test from Joern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19403 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agod
law [Fri, 24 Apr 1998 10:03:16 +0000 (10:03 +0000)]
d
        * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
        appropriately.
        (dbxout_type_method_1, dbxout_type): Likewise.
        (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
        (dbxout_type): Fix check for when to print a type range in
        octal vs decimal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19402 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Fri, 24 Apr 1998 10:03:15 +0000 (10:03 +0000)]

        * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
        appropriately.
        (dbxout_type_method_1, dbxout_type): Likewise.
        (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
        (dbxout_type): Fix check for when to print a type range in
        octal vs decimal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19401 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * (gen_shl_and, in case 1): Fix comparison with mask.
amylaar [Fri, 24 Apr 1998 08:51:10 +0000 (08:51 +0000)]
* (gen_shl_and, in case 1): Fix comparison with mask.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19400 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/compile/980424-0.f: New test.
fx [Fri, 24 Apr 1998 07:58:33 +0000 (07:58 +0000)]
    * g77.f-torture/compile/980424-0.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19399 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoNew test.
fx [Fri, 24 Apr 1998 07:53:34 +0000 (07:53 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19398 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDisallow frame pointer as second register in REG+REG pair.
nickc [Fri, 24 Apr 1998 06:48:40 +0000 (06:48 +0000)]
Disallow frame pointer as second register in REG+REG pair.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19397 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix a typo:
ghazi [Fri, 24 Apr 1998 06:27:03 +0000 (06:27 +0000)]
Fix a typo:
* c-common.c (check_format_info): Don't check for the 'x' format
character twice, instead check for 'x' and 'X'

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19396 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agod
manfred [Thu, 23 Apr 1998 23:04:07 +0000 (23:04 +0000)]
d
* Makefile.in (libgcc2.ready): Add explicit dependancy from
$(STMP_FIXPROTO) to ensure all necessary include files have
been created and to guarantee proper parallel builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19395 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 23 Apr 1998 23:04:05 +0000 (23:04 +0000)]

* Makefile.in (libgcc2.ready): Add explicit dependancy from
$(STMP_FIXPROTO) to ensure all necessary include files have
been created and to guarantee proper parallel builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19394 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.def: Add WRAPPER. USER_CONV now only has two ops.
jason [Thu, 23 Apr 1998 22:26:41 +0000 (22:26 +0000)]
* cp-tree.def: Add WRAPPER.  USER_CONV now only has two ops.
* cp-tree.h: Add WRAPPER support.
* call.c (add_candidate): Split out from add_*_candidate fns.
(build_over_call): Take the candidate instead of function and args.
Enforce access control here.  Emit overload warnings here.
(add_warning): New fn.
(joust): Add WARN parm.  If not set, call add_warning instead of
printing a warning.  Reenable some warnings.
(tourney): Pass it.
(convert_like): Adjust.
(build_new_op): Adjust.
(build_new_function_call): Adjust.
(build_user_type_conversion_1): Adjust.
(USER_CONV_FN): Adjust.
* tree.c (build_expr_wrapper, build_expr_ptr_wrapper,
build_int_wrapper): New fns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19393 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix consistency error reported by Yotam Medini.
wilson [Thu, 23 Apr 1998 21:33:41 +0000 (21:33 +0000)]
Fix consistency error reported by Yotam Medini.
* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19392 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix for execute/980205.c failure on SH[123].
amylaar [Thu, 23 Apr 1998 20:57:06 +0000 (20:57 +0000)]
Fix for execute/980205.c failure on SH[123].
* sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
register for stdarg functions.
* sh.h (current_function_varargs): Declare.
(FUNCTION_ARG): Ignore NAMED for stdarg functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19391 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPartial fix for problem reported by Don Bowman.
wilson [Thu, 23 Apr 1998 19:57:57 +0000 (19:57 +0000)]
Partial fix for problem reported by Don Bowman.
* frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
inhibit_libc is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19390 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix macro usage error found by Martin von Loewis's checking patch.
wilson [Thu, 23 Apr 1998 19:52:46 +0000 (19:52 +0000)]
Fix macro usage error found by Martin von Loewis's checking patch.
* c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19389 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix gcov mips switch table interaction bug reported to bug-gcc.
wilson [Thu, 23 Apr 1998 19:10:52 +0000 (19:10 +0000)]
Fix gcov mips switch table interaction bug reported to bug-gcc.
* profile.c (tablejump_entry_p): New function.
(branch_prob): Add code to recognize MIPS tablejump entry branch.
Use tablejump_entry_p in MIPS and HPPA tablejump checking code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19388 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (unify): Fix typo in previous change.
mmitchel [Thu, 23 Apr 1998 17:32:02 +0000 (17:32 +0000)]
* pt.c (unify): Fix typo in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19387 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agofind_barrier(): Return as soon as a BARRIER insn is found.
nickc [Thu, 23 Apr 1998 15:03:25 +0000 (15:03 +0000)]
find_barrier(): Return as soon as a BARRIER insn is found.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19386 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
amylaar [Thu, 23 Apr 1998 13:37:16 +0000 (13:37 +0000)]
* sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
* sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19385 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * error.c (dump_type_real): Declare canonical_name.
jason [Thu, 23 Apr 1998 09:35:38 +0000 (09:35 +0000)]
* error.c (dump_type_real): Declare canonical_name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19384 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * typeck.c (comp_target_types): Fix PMFs.
jason [Thu, 23 Apr 1998 09:34:57 +0000 (09:34 +0000)]
* typeck.c (comp_target_types): Fix PMFs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19383 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd prototype
mmitchel [Wed, 22 Apr 1998 21:06:37 +0000 (21:06 +0000)]
Add prototype

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19380 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago*** empty log message ***
mmitchel [Wed, 22 Apr 1998 21:02:15 +0000 (21:02 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19379 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (tsubst): Decrease the template-level of
mmitchel [Wed, 22 Apr 1998 21:02:01 +0000 (21:02 +0000)]
 * pt.c (tsubst): Decrease the template-level of
 TEMPLATE_TEMPLATE_PARMS.  Likewise for the DECL_INITIAL of a
 TEMPLATE_PARM_INDEX.
 (template_decl_level): New function.
 (unify): Make sure to record unifications for template
 parameters, even when the parameters exactly match the arguments.
 Combine duplicated code for TEMPLATE_TEMPLATE_PARMs and
 TEMPLATE_TYPE_PARMS.  Don't try to unify template parameters that
 aren't from the level we're currently working on.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19378 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd match_insn2; Fix prototype in loop.c
meissner [Wed, 22 Apr 1998 14:20:29 +0000 (14:20 +0000)]
Add match_insn2; Fix prototype in loop.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19377 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for
mmitchel [Wed, 22 Apr 1998 13:23:32 +0000 (13:23 +0000)]
* class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for
the DECL_RESULTs of a member TEMPLATE_DECL, not just the
TEMPLATE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19376 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
jfc [Wed, 22 Apr 1998 12:57:04 +0000 (12:57 +0000)]
* emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
* final.c (split_double): Sign extend both halves of a split CONST_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19375 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd support for --enable-target-optspace to compile with -Os instead of -O2, and...
meissner [Wed, 22 Apr 1998 12:33:17 +0000 (12:33 +0000)]
Add support for --enable-target-optspace to compile with -Os instead of -O2, and default m32r to use it

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19374 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
law [Wed, 22 Apr 1998 09:43:06 +0000 (09:43 +0000)]
    * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19373 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Wed, 22 Apr 1998 09:43:04 +0000 (09:43 +0000)]

        * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19372 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* cplus-dem.c: Add code to enable demangling of names produced
amacleod [Wed, 22 Apr 1998 08:04:13 +0000 (08:04 +0000)]
* cplus-dem.c:  Add code to enable demangling of names produced
                with the -fsquangle option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19371 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
schwab [Wed, 22 Apr 1998 01:54:53 +0000 (01:54 +0000)]
* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19370 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl2.c (grokfield): Remangle the name of a member TYPE_DECL.
mmitchel [Tue, 21 Apr 1998 22:08:05 +0000 (22:08 +0000)]
* decl2.c (grokfield): Remangle the name of a member TYPE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19369 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl2.c (check_member_template): Set DECL_IGNORED for member
mmitchel [Tue, 21 Apr 1998 22:03:34 +0000 (22:03 +0000)]
* decl2.c (check_member_template): Set DECL_IGNORED for member
class templates, too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19368 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.
mmitchel [Tue, 21 Apr 1998 21:55:45 +0000 (21:55 +0000)]
* errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19367 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago*** empty log message ***
bkoz [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19366 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago/
bkoz [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
/
tests for g++/15307 and -Wredundant-decls

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19365 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix fortran failure reported by Craig Burley.
wilson [Tue, 21 Apr 1998 19:43:55 +0000 (19:43 +0000)]
Fix fortran failure reported by Craig Burley.
* stmt.c (check_seenlabel): When search for line number note for
warning, handle case where there is no such note.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19364 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
bkoz [Tue, 21 Apr 1998 19:08:48 +0000 (19:08 +0000)]
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19363 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
bkoz [Tue, 21 Apr 1998 19:08:46 +0000 (19:08 +0000)]
8
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19362 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * typeck.c (convert_for_assignment): Fix handling of pmfs.
jason [Tue, 21 Apr 1998 18:05:35 +0000 (18:05 +0000)]
* typeck.c (convert_for_assignment): Fix handling of pmfs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19361 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago (convert_for_assignment): Fix handling of pmfs.
jason [Tue, 21 Apr 1998 18:05:17 +0000 (18:05 +0000)]
(convert_for_assignment): Fix handling of pmfs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19360 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * genemit.c (gen_exp): Allow machine description to set mode of
jfc [Tue, 21 Apr 1998 17:50:21 +0000 (17:50 +0000)]
* genemit.c (gen_exp): Allow machine description to set mode of
MATCH_OP_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19359 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * mips.h (STACK_BOUNDARY): Allow specific targets to override.
law [Tue, 21 Apr 1998 15:00:15 +0000 (15:00 +0000)]
    * mips.h (STACK_BOUNDARY): Allow specific targets to override.
        (MIPS_STACK_ALIGN): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19358 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alias.c (mode_alias_check): New function.
jfc [Tue, 21 Apr 1998 13:51:41 +0000 (13:51 +0000)]
* alias.c (mode_alias_check): New function.
(true_dependence, anti_dependence, output_dependence): Call
mode_alias_check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19357 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Declare.
law [Tue, 21 Apr 1998 13:27:12 +0000 (13:27 +0000)]
    * cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Declare.
        * decl.c (intTI_type_node, unsigned_intTI_type_node): Define.
        (init_decl_processing): Handle TI types.
        * typeck.c (unsigned_type, signed_type): Handle TI types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19356 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-common.c (type_for_mode): Handle TI types.
law [Tue, 21 Apr 1998 13:25:56 +0000 (13:25 +0000)]
    * c-common.c (type_for_mode): Handle TI types.
        * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
        (init_decl_processing): Handle TI types.
        * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19355 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * mips.c (block_move_loop): Test Pmode == DImode instead of
law [Tue, 21 Apr 1998 11:07:59 +0000 (11:07 +0000)]
    * mips.c (block_move_loop): Test Pmode == DImode instead of
        TARGET_MIPS64.
        (expand_block_move, save_restore_insns): Likewise.
        (function_prologue, mips_expand_prologue): Likewise.
        (mips_expand_epilogue): Likewise.
        * mips.h (POINTER_SIZE): Allow specific targets to override.
        (Pmode): Allow specific targets to override.
        (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
        (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
        (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
        (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
        (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
        (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
        * mips.md (indirect, tablejump & casesi support): Test for
        Pmode == DImode instead of TARGET_MIPS64.
        (call patterns): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19354 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFixes a problem compiling on sparcs where STRUCT_VALUE is defined in
ghazi [Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)]
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in
sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in
sendmsg.c.
        * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
        for gen_rtx(MEM, ...).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19353 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
rth [Tue, 21 Apr 1998 02:24:02 +0000 (02:24 +0000)]
* sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
to not be so gross, and to properly function with PIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19352 138bc75d-0d04-0410-961f-82ee72b054a4