OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years ago * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
law [Tue, 9 Dec 1997 16:29:43 +0000 (16:29 +0000)]
    * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
From Kenner, fixes more ADDRESSOF problems.

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

26 years ago * Partially cleaned up prototyping code from HJ.
law [Tue, 9 Dec 1997 09:03:51 +0000 (09:03 +0000)]
    * Partially cleaned up prototyping code from HJ.
        * tree.h: Add many prototypes.

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

26 years ago * Partially cleaned up prototyping code from HJ.
law [Tue, 9 Dec 1997 08:20:07 +0000 (08:20 +0000)]
    * Partially cleaned up prototyping code from HJ.
        * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
        All references changed.
        * rtl.h: Protect from multiple inclusions.  Add many prototypes.

        * libgcc2.c (string.h): Hoist inclusion to occur before first use of
        string functions like strlen.
More pending patches.

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

26 years ago * configure.in: Check for functions getrlimit and setrlimit.
law [Tue, 9 Dec 1997 07:55:17 +0000 (07:55 +0000)]
    * configure.in: Check for functions getrlimit and setrlimit.
        * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
        to RLIMIT_STACK to see if we can call getrlimit and setrlimit.

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

26 years ago * decl.c (copy_args_p): Handle copy elision for types with virtual
jason [Tue, 9 Dec 1997 07:26:26 +0000 (07:26 +0000)]
* decl.c (copy_args_p): Handle copy elision for types with virtual
  bases.
   * call.c (build_over_call): Likewise.

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

26 years ago * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
law [Tue, 9 Dec 1997 06:53:10 +0000 (06:53 +0000)]
    * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.

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

26 years ago* alpha.c (REG_RA, alpha_return_addr, output_epilog):
rth [Tue, 9 Dec 1997 05:11:34 +0000 (05:11 +0000)]
* alpha.c (REG_RA, alpha_return_addr, output_epilog):
Fix merge problems.

* alpha.c (override_options): Don't know about scheduling for EV6.
* alpha.md (ev5 function units): Don't overload as ev6.

* alpha.c (alpha_adjust_cost): Simplify.  Fix typo in ev5 mult case.
* alpha.md (define_attr type): Add mvi.
(ev5_e0): Define sceduling parameters for it.
(TARGET_MAX insns): Type is mvi not shift.

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

26 years ago* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
rth [Tue, 9 Dec 1997 02:17:09 +0000 (02:17 +0000)]
* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.

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

26 years agoRemove suprious file.
amylaar [Tue, 9 Dec 1997 00:11:26 +0000 (00:11 +0000)]
Remove suprious file.

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

26 years ago * noncompile/noncompile.exp (921102-1.c): Fixed comment.
amylaar [Tue, 9 Dec 1997 00:05:54 +0000 (00:05 +0000)]
* noncompile/noncompile.exp (921102-1.c): Fixed comment.
(940510-1.c): Removed duplicate.
(971104-1.c): New test.

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

26 years ago * cstamp-h, auto-config.h: Delete non-source files.
amylaar [Mon, 8 Dec 1997 21:20:49 +0000 (21:20 +0000)]
    * cstamp-h, auto-config.h: Delete non-source files.

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

26 years agoDelete bogus file from gcc-2.8 tarball.
law [Mon, 8 Dec 1997 20:45:05 +0000 (20:45 +0000)]
Delete bogus file from gcc-2.8 tarball.

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

26 years agoAmend Copyright notice.
amylaar [Mon, 8 Dec 1997 20:31:19 +0000 (20:31 +0000)]
Amend Copyright notice.

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

26 years agoFix typo.
law [Mon, 8 Dec 1997 19:39:42 +0000 (19:39 +0000)]
Fix typo.

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

26 years ago * pt.c (lookup_template_function): Copy the template arguments,
jason [Mon, 8 Dec 1997 06:41:17 +0000 (06:41 +0000)]
* pt.c (lookup_template_function): Copy the template arguments,
not just the list containing them, to the permanent obstack.

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

26 years ago * version.c: Bump for snapshot.
law [Mon, 8 Dec 1997 02:36:13 +0000 (02:36 +0000)]
    * version.c: Bump for snapshot.

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

26 years ago * except.c (expand_start_catch_block): suspend_momentary for the
jason [Mon, 8 Dec 1997 02:25:36 +0000 (02:25 +0000)]
* except.c (expand_start_catch_block): suspend_momentary for the
terminate handler.

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

26 years agoUpdates from gcc-2.8 test tarball to current gcc-2.8 tarball.
law [Mon, 8 Dec 1997 01:42:52 +0000 (01:42 +0000)]
Updates from gcc-2.8 test tarball to current gcc-2.8 tarball.

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

26 years ago * error.c (dump_decl): Handle LOOKUP_EXPR.
jason [Mon, 8 Dec 1997 00:33:08 +0000 (00:33 +0000)]
* error.c (dump_decl): Handle LOOKUP_EXPR.

Sun Dec  7 15:45:07 1997  Mark Mitchell  <mmitchell@usa.net>

* rtti.c (build_dynamic_cast): Copy the cast-to type to the
permanent obstack if we are processing a template decl.
* typeck.c (build_static_cast): Likewise.
(build_const_cast): Likewise.
(build_reinterpret_cast): Likewise.

* pt.c (coerce_template_parms): Coerce some expressions, even
when processing_template_decl.

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

26 years agoNote point where we merged in changes from gcc-2.8.
law [Sun, 7 Dec 1997 16:58:32 +0000 (16:58 +0000)]
Note point where we merged in changes from gcc-2.8.

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

26 years agoSun Dec 7 02:34:40 1997 Jody Goldberg <jodyg@idt.net>
jason [Sun, 7 Dec 1997 10:41:01 +0000 (10:41 +0000)]
Sun Dec  7 02:34:40 1997  Jody Goldberg <jodyg@idt.net>

* libstdc++/std/bastring.h : Move closer to the draft standard
implementation of basic_string by adding 3 paramter 'Allocator'.
NOTE: this still differs from the standard in not offering per
instance allocators.
* libstdc++/std/bastring.cc : Likewise.
* libstdc++/stlinst.cc : Handle thread safe allocators if they are the
default.

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

26 years ago * iosfwd: New header.
jason [Sun, 7 Dec 1997 10:33:36 +0000 (10:33 +0000)]
* iosfwd: New header.
* Makefile.in (HEADERS): Add it.

Sun Dec  7 02:32:20 1997  Gregory L. Galloway (gregg@eoeml.gtri.gatech.edu)

* Makefile.in (HEADERS): Modified list of headers to
install to include all of SGI STL headers especially hash_set and
hash_map, and added ANSI C++ style wrappers for fstream, iomanip,
iostream, and strstream.

* fstream, iomanip, iostream, strstream: New forwarding headers
added.

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

26 years agoSun Dec 7 01:46:33 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
jason [Sun, 7 Dec 1997 10:01:16 +0000 (10:01 +0000)]
Sun Dec  7 01:46:33 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

* typeck.c (build_binary_op_nodefault, pointer_diff): Symmetric
handling of pointer difference expressions.

* typeck.c (comp_target_types): Comparison of function/method types
is independent of nptrs.

Sun Dec  7 01:40:27 1997  Mark Mitchell  <mmitchell@usa.net>

* pt.c (tsubst): Avoid creating pointer to reference and
reference to reference types.

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

26 years ago * cccp.c: Fix typo brought over in merge.
law [Sun, 7 Dec 1997 05:21:05 +0000 (05:21 +0000)]
    * cccp.c: Fix typo brought over in merge.

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

26 years agoMerge from gcc-2.8
law [Sun, 7 Dec 1997 00:31:01 +0000 (00:31 +0000)]
Merge from gcc-2.8

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

26 years agoThis commit was generated by cvs2svn to compensate for changes in r16983,
law [Sat, 6 Dec 1997 17:30:09 +0000 (17:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r16983,
which included commits to RCS files with non-trunk default branches.

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

26 years agoInitial revision
law [Sat, 6 Dec 1997 17:29:33 +0000 (17:29 +0000)]
Initial revision

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

26 years agoInitial revision
law [Sat, 6 Dec 1997 17:18:39 +0000 (17:18 +0000)]
Initial revision

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

26 years ago * m68k.c: Include tree.h for dwarf2out_cfi_label.
law [Sat, 6 Dec 1997 15:48:29 +0000 (15:48 +0000)]
    * m68k.c: Include tree.h for dwarf2out_cfi_label.

        * gcc.c (process_command): Do not take address of function fatal when
        calling lang_specific_driver.

        * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
        doesn't work with it yet, so set it to 0.
        * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.

        * cse.c (cse_insn): Check for invalid entries when taking references.
More assorted pending patches.

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

26 years agoFix bug in test
law [Sat, 6 Dec 1997 15:45:59 +0000 (15:45 +0000)]
Fix bug in test

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

26 years ago * parse.y (do_id): New nonterminal.
jason [Sat, 6 Dec 1997 09:34:46 +0000 (09:34 +0000)]
* parse.y (do_id): New nonterminal.
(template_id): Use it.

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

26 years ago * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
law [Sat, 6 Dec 1997 07:38:01 +0000 (07:38 +0000)]
    * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
        (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
        * toplev.c (rest_of_compilation): Pass it.  Remove code to
        save / clear / restore flag_unroll_{,all_}loops.

        * i386.c (notice_update_cc): Remove bogus pentium GCC code.

        * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
Various pending patches.

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

26 years ago * streambuf.cc (streambuf::~streambuf): Don't delete _lock
law [Sat, 6 Dec 1997 07:32:08 +0000 (07:32 +0000)]
    * streambuf.cc (streambuf::~streambuf): Don't delete _lock
        for _IO_stdin/_IO_stdout/_IO_stderr.

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

26 years ago * parse.y (template_id): do_identifier for PFUNCNAMEs, too.
jason [Sat, 6 Dec 1997 03:43:05 +0000 (03:43 +0000)]
* parse.y (template_id): do_identifier for PFUNCNAMEs, too.
* spew.c (yylex): Don't do_identifier here.
* decl2.c (build_expr_from_tree): Revert last change.

* decl2.c (build_expr_from_tree): Expand the name for a method call.
* parse.y (object_template_id): Don't try to take the DECL_NAME.

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

26 years agorelease branch changes from 11-27 snapshot to egcs-1.0.
law [Fri, 5 Dec 1997 22:13:17 +0000 (22:13 +0000)]
release branch changes from 11-27 snapshot to egcs-1.0.

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

26 years agotypo in last delta.
law [Fri, 5 Dec 1997 05:55:31 +0000 (05:55 +0000)]
typo in last delta.

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

26 years ago * except.c (get_dynamic_handler_chain): Only make the call once per
jason [Fri, 5 Dec 1997 03:06:17 +0000 (03:06 +0000)]
* except.c (get_dynamic_handler_chain): Only make the call once per
  function.

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

26 years agoAdd patch from release branch accidentally left off the mainline.
wilson [Fri, 5 Dec 1997 01:10:51 +0000 (01:10 +0000)]
Add patch from release branch accidentally left off the mainline.
* mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
fix_truncsfdi2): Change *X to ?*X.

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

26 years agomissing part of Sept 22 change brought over:
brendan [Fri, 5 Dec 1997 00:48:46 +0000 (00:48 +0000)]
missing part of Sept 22 change brought over:
* decl.c (cp_finish_decl): Mark decls used if type has TREE_USED
set,don't clear TREE_USED wholesale.

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

26 years ago * strsignal.c (sys_nsig): Try NSIG and _NSIG.
law [Fri, 5 Dec 1997 00:22:32 +0000 (00:22 +0000)]
    * strsignal.c (sys_nsig): Try NSIG and _NSIG.

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

26 years agoMoved to noncompile.
amylaar [Thu, 4 Dec 1997 21:17:39 +0000 (21:17 +0000)]
Moved to noncompile.

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

26 years ago * except.c (expand_end_all_catch): Fix for sjlj exceptions.
jason [Thu, 4 Dec 1997 19:52:49 +0000 (19:52 +0000)]
* except.c (expand_end_all_catch): Fix for sjlj exceptions.

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

26 years ago * sh.c (final_prescan_insn): Use local label prefix
amylaar [Thu, 4 Dec 1997 17:45:10 +0000 (17:45 +0000)]
    * sh.c (final_prescan_insn): Use local label prefix
        when emitting .uses pseudo-ops.

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

26 years ago * init.c (build_new): Use a TARGET_EXPR instead of SAVE_EXPR for
jason [Thu, 4 Dec 1997 10:03:02 +0000 (10:03 +0000)]
* init.c (build_new): Use a TARGET_EXPR instead of SAVE_EXPR for
  alloc_expr.
   * call.c (build_op_delete_call): Adjust.

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

26 years agooops
jason [Thu, 4 Dec 1997 09:41:53 +0000 (09:41 +0000)]
oops

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

26 years ago./: * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
jason [Thu, 4 Dec 1997 09:41:38 +0000 (09:41 +0000)]
./: * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
* except.c: Lose outer_context_label_stack.
  (expand_eh_region_end): Rethrow from outer_context here.
(expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
(expand_internal_throw): Take no args.
(expand_internal_throw_indirect): Lose.
(expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
(expand_start_all_catch): Start a rethrow region.
(expand_end_all_catch): End it.
(expand_rethrow): New fn.
* except.h: Reflect above changes.

cp/: * except.c (expand_end_catch_block): Lose rethrow region.
(expand_start_catch_block): Likewise.
(expand_end_catch_block): Don't expand_leftover_cleanups.

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

26 years agotweak
jason [Thu, 4 Dec 1997 09:16:21 +0000 (09:16 +0000)]
tweak

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

26 years ago * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
law [Thu, 4 Dec 1997 07:26:05 +0000 (07:26 +0000)]
    * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.

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

26 years agoupdate
jason [Thu, 4 Dec 1997 07:22:02 +0000 (07:22 +0000)]
update

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

26 years agoAdded some words on FLOAT_WORDS_BIG_ENDIAN.
amylaar [Wed, 3 Dec 1997 23:37:38 +0000 (23:37 +0000)]
Added some words on FLOAT_WORDS_BIG_ENDIAN.

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

26 years ago * pt.c (tsubst): Remove tree_cons call (places redundant info into
bkoz [Wed, 3 Dec 1997 21:25:10 +0000 (21:25 +0000)]
* pt.c (tsubst): Remove tree_cons call (places redundant info into
  DECL_TEMPLATE_INSTANTIATION).

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

26 years agonew
jason [Wed, 3 Dec 1997 20:29:19 +0000 (20:29 +0000)]
new

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

26 years ago * except.c (expand_fixup_region_end): New fn.
jason [Wed, 3 Dec 1997 20:04:31 +0000 (20:04 +0000)]
* except.c (expand_fixup_region_end): New fn.
(expand_fixup_region_start): Likewise.
(expand_eh_region_start_tree): Store cleanup into finalization here.
* stmt.c (expand_cleanups): Use them to protect fixups.

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

26 years ago * tree.c (is_overloaded_fn): Handle getting a fn template.
jason [Wed, 3 Dec 1997 19:46:56 +0000 (19:46 +0000)]
* tree.c (is_overloaded_fn): Handle getting a fn template.
(really_overloaded_fn): Likewise.
* error.c (dump_decl): Handle TEMPLATE_ID_EXPRs better.
* pt.c (check_explicit_specialization): Tweak.
(determine_explicit_specialization): Tweak.

* tree.c, cp-tree.h (get_target_expr): New fn.

1997-12-02  Mark Mitchell  <mmitchell@usa.net>

* pt.c (determine_explicit_specialization): Avoid an internal
error for bad specializations.

* method.c (build_overload_value): Handle SCOPE_REF.

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

26 years ago * mips/mips.md (muldi3_r4000): Broaden the output template
gavin [Wed, 3 Dec 1997 16:47:25 +0000 (16:47 +0000)]
* mips/mips.md (muldi3_r4000): Broaden the output template
and attribute assignments to handle three operand dmult;
rename to muldi3_internal2.
(muldi3): Call the new muldi3_internal2 for R4000, and
any GENERATE_MULT3 chip.

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

26 years ago * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
jason [Wed, 3 Dec 1997 03:42:32 +0000 (03:42 +0000)]
* stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.

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

26 years agoTue Dec 2 19:18:50 1997 Mike Stump <mrs@wrs.com>
jason [Wed, 3 Dec 1997 03:37:17 +0000 (03:37 +0000)]
Tue Dec  2 19:18:50 1997  Mike Stump  <mrs@wrs.com>

* class.c (prepare_fresh_vtable): Enable even more complex MI
vtable names.

Tue Dec  2 01:37:19 1997  Jason Merrill  <jason@yorick.cygnus.com>

* exception.cc (__check_eh_spec): Optimize a bit.

* exception.cc (__cp_pop_exception): Lose handler arg.
* except.c (do_pop_exception): Likewise.
(push_eh_cleanup): Let the cleanup mechanism supply the handler.
(expand_end_catch_block): Likewise.

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

26 years agoBetter fix for loop unrolling problem.
wilson [Tue, 2 Dec 1997 20:57:41 +0000 (20:57 +0000)]
Better fix for loop unrolling problem.
* unroll.c (find_splittable_givs):  Remove last change.  Handle givs
with a dest_reg that was created by loop.

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

26 years agoMore doc junk.
law [Tue, 2 Dec 1997 20:16:00 +0000 (20:16 +0000)]
More doc junk.

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

26 years ago * Makefile.in (INSTALL_TARGET_CROSS): Define.
law [Tue, 2 Dec 1997 17:53:36 +0000 (17:53 +0000)]
    * Makefile.in (INSTALL_TARGET_CROSS): Define.
        (install-cross, install-gcc-cross): New targets.

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

26 years agoC9X draft.
law [Tue, 2 Dec 1997 17:01:35 +0000 (17:01 +0000)]
C9X draft.

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

26 years ago * Make-lang.in (f77.clean): Remove g77.c.
law [Tue, 2 Dec 1997 16:54:03 +0000 (16:54 +0000)]
    * Make-lang.in (f77.clean): Remove g77.c.

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

26 years agoFrom egcs release branch
law [Mon, 1 Dec 1997 18:18:10 +0000 (18:18 +0000)]
From egcs release branch

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

26 years agoO Bring in changes from release branch (egcs_ss_971127).
law [Mon, 1 Dec 1997 17:53:12 +0000 (17:53 +0000)]
O        Bring in changes from release branch (egcs_ss_971127).

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

26 years agoBring in changes from release branch (egcs_ss_971127).
law [Mon, 1 Dec 1997 17:45:00 +0000 (17:45 +0000)]
Bring in changes from release branch (egcs_ss_971127).

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

26 years ago * configure.in: Fix NCR entries.
law [Fri, 28 Nov 1997 17:04:14 +0000 (17:04 +0000)]
    * configure.in: Fix NCR entries.

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

26 years ago * pt.c (check_explicit_specialization): Complain about using a
jason [Fri, 28 Nov 1997 10:30:44 +0000 (10:30 +0000)]
* pt.c (check_explicit_specialization): Complain about using a
template-id for a non-specialization.

Fri Nov 28 01:56:35 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

        * error.c (dump_decl): Handle TEMPLATE_ID_EXPR.

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

26 years agofix
jason [Fri, 28 Nov 1997 10:28:34 +0000 (10:28 +0000)]
fix

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

26 years agoGrr. Used the wrong patchfile last time.
law [Fri, 28 Nov 1997 04:42:28 +0000 (04:42 +0000)]
Grr.  Used the wrong patchfile last time.

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

26 years ago * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
law [Fri, 28 Nov 1997 03:10:10 +0000 (03:10 +0000)]
    * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
        nested exceptions correctly.

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

26 years ago * typeck.c (build_const_cast): Handle references here instead of
jason [Thu, 27 Nov 1997 22:18:28 +0000 (22:18 +0000)]
* typeck.c (build_const_cast): Handle references here instead of
handing off to convert_to_reference.

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

26 years ago * except.c: Lose Unexpected, SetTerminate, SetUnexpected,
jason [Thu, 27 Nov 1997 20:55:44 +0000 (20:55 +0000)]
* except.c: Lose Unexpected, SetTerminate, SetUnexpected,
  TerminateFunctionCall.
(init_exception_processing): Likewise.  Terminate et al are now
  the fns, not ADDR_EXPRs.
(various): Lose redundant assemble_external calls.
(do_unwind): s/BuiltinReturnAddress/builtin_return_address_fndecl/.

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

26 years ago * cp-tree.h (struct lang_decl_flags): Add comdat.
jason [Thu, 27 Nov 1997 19:26:15 +0000 (19:26 +0000)]
* cp-tree.h (struct lang_decl_flags): Add comdat.
(DECL_COMDAT): New macro.
* decl.c (duplicate_decls): Propagate it.
(cp_finish_decl): Handle it.
* decl2.c (import_export_decl): Just set DECL_COMDAT on VAR_DECLs.

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

26 years ago * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
law [Thu, 27 Nov 1997 19:24:06 +0000 (19:24 +0000)]
    * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
        that was created by loop.

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

26 years ago * class.c: Remove static pending_hard_virtuals.
jason [Thu, 27 Nov 1997 09:45:25 +0000 (09:45 +0000)]
* class.c: Remove static pending_hard_virtuals.
  (add_virtual_function): Take pointers to pending_virtuals
and pending_hard_virtuals.
(finish_struct_1): Pass them.  Declare pending_hard_virtuals.

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

26 years ago * Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
law [Thu, 27 Nov 1997 08:39:12 +0000 (08:39 +0000)]
    * Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
        * config.shared (gxx_includedir): Remove default definition.
        * config/linux.mt: Change gxx_includedir to gxx_include_dir.
        * config/linuxaxp1.mt: Likewise.

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

26 years ago * Makefile.in (install): Change gxx_includedir to gxx_include_dir.
law [Thu, 27 Nov 1997 08:37:59 +0000 (08:37 +0000)]
    * Makefile.in (install): Change gxx_includedir to gxx_include_dir.

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

26 years ago * Makefile.in (INSTALL_TARGET): Do install-gcc first.
law [Thu, 27 Nov 1997 08:37:03 +0000 (08:37 +0000)]
    * Makefile.in (INSTALL_TARGET): Do install-gcc first.
        * configure (gxx_include_dir): Provide a definition for subdirs
        which do not use autoconf.

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

26 years agoNew entry.
law [Thu, 27 Nov 1997 07:31:04 +0000 (07:31 +0000)]
New entry.

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

26 years ago * decl2.c (import_export_vtable): If we support one_only but not
jason [Thu, 27 Nov 1997 07:31:02 +0000 (07:31 +0000)]
* decl2.c (import_export_vtable): If we support one_only but not
weak symbols, mark instantiated template vtables one_only.
(import_export_decl): Likewise for tinfo functions.
(finish_vtable_vardecl): Also write out vtables from explicitly
instantiated template classes.
* pt.c (mark_class_instantiated): Revert last change.

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

26 years ago * except.c (expand_throw): Call mark_used on the destructor.
jason [Thu, 27 Nov 1997 04:31:58 +0000 (04:31 +0000)]
* except.c (expand_throw): Call mark_used on the destructor.

Fixes operator new on the PA.

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

26 years ago * pt.c (unify): Handle `void' template parameters in
jason [Thu, 27 Nov 1997 03:49:23 +0000 (03:49 +0000)]
* pt.c (unify): Handle `void' template parameters in
specializations.

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

26 years ago * config.guess (alpha stuff): Merge with FSF to avoid incorrect
law [Wed, 26 Nov 1997 23:54:57 +0000 (23:54 +0000)]
    * config.guess (alpha stuff): Merge with FSF to avoid incorrect
        guesses.

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

26 years ago * configure.in (target frags): Add powerpc*-linux-gnulibc1.
law [Wed, 26 Nov 1997 23:54:30 +0000 (23:54 +0000)]
    * configure.in (target frags): Add powerpc*-linux-gnulibc1.
        (stdio-lock): Similarly.

        * configure.in (target frags): Add alpha*-linux-gnulibc1.
        (pic frags): Its alpha*- not alpha-.
        (stdio-lock): Kill everything.  Add alpha*-linux-gnulibc1.
        * libio.h: Check __GLIBC_MINOR__ to find stdio-lock.h.  If not
        _IO_MTSAFE_IO & GLIBC, make sure the lock pointer is still there.
        * libioP.h: Check __GLIBC_MINOR__ to find libc-lock.h.

        * config/linuxaxp1-libc-lock.h: New file.
        * config/linuxaxp1-stdio-lock.h: New file.
        * config/linuxaxp1.mt: New file.

        * gen-params (va_list): Check for and use __gnuc_va_list.
        (NULL): Work around some linux kernel headers and redefine NULL.

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

26 years agoFix -msdata=sysv and pass -dynamic-linker if not already passed
meissner [Wed, 26 Nov 1997 23:16:39 +0000 (23:16 +0000)]
Fix -msdata=sysv and pass -dynamic-linker if not already passed

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

26 years agoUse @local for local calls under System V
meissner [Wed, 26 Nov 1997 22:59:52 +0000 (22:59 +0000)]
Use @local for local calls under System V

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

26 years agoFix System V profiling.
meissner [Wed, 26 Nov 1997 21:04:33 +0000 (21:04 +0000)]
Fix System V profiling.

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

26 years agoPass 9th fp argument correctly on System V/eabi; Add @plt for -fPIC/-mrelocatable
meissner [Wed, 26 Nov 1997 19:29:38 +0000 (19:29 +0000)]
Pass 9th fp argument correctly on System V/eabi; Add @plt for -fPIC/-mrelocatable

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

26 years ago * toplev.c (main): Complain about -gdwarfn.
jason [Wed, 26 Nov 1997 19:13:02 +0000 (19:13 +0000)]
* toplev.c (main): Complain about -gdwarfn.

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

26 years ago * rtti.c (build_dynamic_cast): Handle template case here.
jason [Wed, 26 Nov 1997 10:14:51 +0000 (10:14 +0000)]
* rtti.c (build_dynamic_cast): Handle template case here.
(build_dynamic_cast_1): Not here.

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

26 years ago * typeck2.c (digest_init): Make copies where appropriate.
jason [Wed, 26 Nov 1997 09:56:56 +0000 (09:56 +0000)]
* typeck2.c (digest_init): Make copies where appropriate.

* decl2.c (delete_sanity): resolve_offset_ref.

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

26 years ago * except.c (expand_start_catch_block): Fix catching a reference
jason [Wed, 26 Nov 1997 09:15:09 +0000 (09:15 +0000)]
* except.c (expand_start_catch_block): Fix catching a reference
to pointer.

* init.c (build_new): Copy size to the saveable obstack.

* init.c (build_new): Stick a CLEANUP_POINT_EXPR inside the
  TRY_CATCH_EXPR for now.

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

26 years ago * integrate.c (output_inline_function): Just unset DECL_INLINE.
jason [Wed, 26 Nov 1997 07:38:08 +0000 (07:38 +0000)]
* integrate.c (output_inline_function): Just unset DECL_INLINE.

Tue Nov 25 23:33:29 1997  scott snyder  <snyder@d0sgif.fnal.gov>

* dwarf2out.c (outout_call_frame_info): Ensure that the info has
proper alignment.

* libgcc2.c (__throw): Initialize HANDLER.

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

26 years ago London changes to string:
jason [Wed, 26 Nov 1997 07:19:11 +0000 (07:19 +0000)]
London changes to string:
* std/bastring.cc (check_realloc): Don't be selfish anymore.
* std/bastring.h (non-const operator[]): Be selfish.
(iterator forms of insert and erase): Stay selfish.

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

26 years agoFix typo.
law [Wed, 26 Nov 1997 05:13:31 +0000 (05:13 +0000)]
Fix typo.

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

26 years agoFix goof.
law [Wed, 26 Nov 1997 03:37:34 +0000 (03:37 +0000)]
Fix goof.

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

26 years agoFix from HJ.
law [Tue, 25 Nov 1997 23:34:33 +0000 (23:34 +0000)]
Fix from HJ.

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

26 years ago * Make-lang.in (f77.all.build): Add $(exeext) to binary files.
law [Tue, 25 Nov 1997 23:32:19 +0000 (23:32 +0000)]
    * Make-lang.in (f77.all.build): Add $(exeext) to binary files.
        (f77.all.cross, f77.start.encap): Simliarly.

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

26 years agoNew entry.
law [Tue, 25 Nov 1997 23:29:09 +0000 (23:29 +0000)]
New entry.

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

26 years ago * lib/f-torture.exp: Improve error and loop detection.
law [Tue, 25 Nov 1997 23:17:56 +0000 (23:17 +0000)]
    * lib/f-torture.exp: Improve error and loop detection.

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