OSDN Git Service

pf3gnuchains/gcc-fork.git
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

26 years agoxfail a couple tests for the release.
law [Tue, 25 Nov 1997 22:31:27 +0000 (22:31 +0000)]
xfail a couple tests for the release.

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

26 years ago * Makefile.in (stmp-complex, bigstmp-complex): Changed to
law [Tue, 25 Nov 1997 21:02:19 +0000 (21:02 +0000)]
    * Makefile.in (stmp-complex, bigstmp-complex): Changed to
        xxxx-complx.

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

26 years ago * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
law [Tue, 25 Nov 1997 20:54:43 +0000 (20:54 +0000)]
    * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.

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

26 years ago * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
law [Tue, 25 Nov 1997 18:55:32 +0000 (18:55 +0000)]
    * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.

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

26 years agoTue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
jason [Tue, 25 Nov 1997 09:30:38 +0000 (09:30 +0000)]
Tue Nov 25 01:26:55 1997  Bruno Haible <haible@ilog.fr>:

* dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.

Mon Nov 24 22:41:55 1997  Jason Merrill  <jason@yorick.cygnus.com>

* except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
* optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
* expr.h: Likewise.

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

26 years ago * typeck.c (mark_addressable): Don't assume a FUNCTION_DECL
jason [Tue, 25 Nov 1997 07:00:30 +0000 (07:00 +0000)]
* typeck.c (mark_addressable): Don't assume a FUNCTION_DECL
has DECL_LANG_SPECIFIC.

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

26 years ago * exception.cc (struct cp_eh_info): Add handlers field.
jason [Tue, 25 Nov 1997 06:14:48 +0000 (06:14 +0000)]
* exception.cc (struct cp_eh_info): Add handlers field.
(__cp_push_exception): Initialize it.
(__cp_pop_exception): Decrement it.  Don't pop unless it's 0.
(__throw_bad_exception): Remove.
* except.c (call_eh_info): Add handlers field.
(get_eh_handlers): New fn.
(push_eh_cleanup): Increment handlers.

Fixes P15031.C, rethrow[45].C

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

26 years ago * Makefile.in: Use ln -f -s, not ln -s -f.
law [Mon, 24 Nov 1997 21:41:29 +0000 (21:41 +0000)]
    * Makefile.in: Use ln -f -s, not ln -s -f.

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

26 years agoDoc fixes from stan.
law [Mon, 24 Nov 1997 20:53:15 +0000 (20:53 +0000)]
Doc fixes from stan.

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

26 years ago * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
law [Sat, 22 Nov 1997 07:55:18 +0000 (07:55 +0000)]
    * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
        (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.

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

26 years ago * Makefile.in: Add --no-split argument to avoid creating files
law [Sat, 22 Nov 1997 03:36:36 +0000 (03:36 +0000)]
* Makefile.in: Add --no-split argument to avoid creating files
with names longer than 14 characters.

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

26 years ago * Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
law [Sat, 22 Nov 1997 03:36:10 +0000 (03:36 +0000)]
* Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
cope with filesystem not capable to handle names longer than
14 characters.

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

26 years agopatch from andrew cagney
wilson [Fri, 21 Nov 1997 22:23:26 +0000 (22:23 +0000)]
patch from andrew cagney
* config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
  TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
  definition.

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

26 years ago * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
jason [Fri, 21 Nov 1997 20:51:30 +0000 (20:51 +0000)]
* stmt.c (expand_end_bindings): Allow jump into block with cleanups.

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

26 years ago * except.c (expand_start_eh_spec): Use the try/catch code.
jason [Fri, 21 Nov 1997 20:29:06 +0000 (20:29 +0000)]
* except.c (expand_start_eh_spec): Use the try/catch code.
(expand_end_eh_spec): Likewise.  Call __check_eh_spec instead of
doing everything inline.
(init_exception_processing): throw_type_match now takes
  const void pointers.
* exception.cc (__check_eh_spec): New fn.
* inc/exception: Neither terminate nor unexpected return.
* decl.c: Make const_ptr_type_node public.
* tinfo2.cc (__throw_type_match_rtti): Take the typeinfos constly.

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

26 years agoFix typo.
law [Fri, 21 Nov 1997 20:24:56 +0000 (20:24 +0000)]
Fix typo.

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

26 years ago * except.c (expand_start_catch_block): We only need the rethrow
jason [Fri, 21 Nov 1997 20:23:57 +0000 (20:23 +0000)]
* except.c (expand_start_catch_block): We only need the rethrow
  region for non-sjlj exceptions.
(expand_end_catch_block): Likewise.  Use outer_context_label_stack.

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

26 years ago * except.h: Add outer_context_label_stack.
jason [Fri, 21 Nov 1997 20:20:41 +0000 (20:20 +0000)]
* except.h: Add outer_context_label_stack.
* except.c: Likewise.
(expand_start_all_catch): Push the outer_context for the try block
  onto outer_context_label_stack.
(expand_end_all_catch): Use it and pop it.

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

26 years ago * Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
law [Fri, 21 Nov 1997 17:21:34 +0000 (17:21 +0000)]
    * Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
        to before override of CC so that the override works.

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

26 years ago * i386/sco5.h (HAVE_ATEXIT): Revert last change.
law [Fri, 21 Nov 1997 17:14:43 +0000 (17:14 +0000)]
    * i386/sco5.h (HAVE_ATEXIT): Revert last change.

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

26 years ago * config.guess (alpha stuff): Merge with FSF to avoid incorrect
law [Fri, 21 Nov 1997 17:07:04 +0000 (17:07 +0000)]
    * config.guess (alpha stuff): Merge with FSF to avoid incorrect
        guesses.

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

26 years agoInitial revision
law [Fri, 21 Nov 1997 11:46:43 +0000 (11:46 +0000)]
Initial revision

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

26 years agotests
jason [Fri, 21 Nov 1997 04:05:13 +0000 (04:05 +0000)]
tests

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

26 years ago * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
law [Fri, 21 Nov 1997 02:08:30 +0000 (02:08 +0000)]
    * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.

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

26 years ago * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
law [Thu, 20 Nov 1997 23:36:55 +0000 (23:36 +0000)]
    * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
        to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.

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