platform/upstream/gcc.git
26 years agoFix thinko.
Jeff Law [Tue, 9 Dec 1997 19:20:43 +0000 (12:20 -0700)]
Fix thinko.

From-SVN: r17032

26 years agoinit.c (expand_vec_init): Don't fold a list of parameters.
Jason Merrill [Tue, 9 Dec 1997 18:59:59 +0000 (18:59 +0000)]
init.c (expand_vec_init): Don't fold a list of parameters.

* init.c (expand_vec_init): Don't fold a list of parameters.

Fixes kde.

From-SVN: r17031

26 years agotoplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition to RLIMIT_STACK...
Manfred Hollstein [Tue, 9 Dec 1997 16:41:12 +0000 (16:41 +0000)]
toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition to RLIMIT_STACK to see if...

        * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
        to RLIMIT_STACK to see if we can call getrlimit and setrlimit.

From-SVN: r17030

26 years agors6000.h (FUNCTION_ARG_PADDING): Define.
David Edelsohn [Tue, 9 Dec 1997 16:35:56 +0000 (16:35 +0000)]
rs6000.h (FUNCTION_ARG_PADDING): Define.

        * rs6000.h (FUNCTION_ARG_PADDING): Define.
        * rs6000.c (function_arg_padding): New function.

From-SVN: r17029

26 years ago* m68k.c: Include tree.h only once.
Manfred Hollstein [Tue, 9 Dec 1997 16:33:10 +0000 (16:33 +0000)]
* m68k.c: Include tree.h only once.

From-SVN: r17028

26 years agointegrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
Richard Kenner [Tue, 9 Dec 1997 16:29:43 +0000 (16:29 +0000)]
integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.

        * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
From Kenner, fixes more ADDRESSOF problems.

From-SVN: r17027

26 years ago* Partially cleaned up prototyping code from HJ.
Jeffrey A Law [Tue, 9 Dec 1997 09:03:51 +0000 (09:03 +0000)]
* Partially cleaned up prototyping code from HJ.

        * tree.h: Add many prototypes.

From-SVN: r17025

26 years ago* Partially cleaned up prototyping code from HJ.
Jeffrey A 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.

From-SVN: r17024

26 years agoconfigure.in: Check for functions getrlimit and setrlimit.
Manfred Hollstein [Tue, 9 Dec 1997 07:55:17 +0000 (07:55 +0000)]
configure.in: Check for functions getrlimit and setrlimit.

        * 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.

From-SVN: r17023

26 years agodecl.c (copy_args_p): Handle copy elision for types with virtual bases.
Jason Merrill [Tue, 9 Dec 1997 07:26:26 +0000 (07:26 +0000)]
decl.c (copy_args_p): Handle copy elision for types with virtual bases.

* decl.c (copy_args_p): Handle copy elision for types with virtual
  bases.
   * call.c (build_over_call): Likewise.

From-SVN: r17022

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

From-SVN: r17021

26 years agoalpha.c (REG_RA, [...]): Fix merge problems.
Richard Henderson [Tue, 9 Dec 1997 05:11:34 +0000 (21:11 -0800)]
alpha.c (REG_RA, [...]): Fix merge problems.

* 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.

From-SVN: r17020

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

From-SVN: r17019

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

From-SVN: r17015

26 years agononcompile.exp (921102-1.c): Fixed comment.
J"orn Rennecke [Tue, 9 Dec 1997 00:05:54 +0000 (00:05 +0000)]
noncompile.exp (921102-1.c): Fixed comment.

* noncompile/noncompile.exp (921102-1.c): Fixed comment.
(940510-1.c): Removed duplicate.
(971104-1.c): New test.

From-SVN: r17013

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

From-SVN: r17012

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

From-SVN: r17011

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

From-SVN: r17010

26 years agoFix typo.
Jeff Law [Mon, 8 Dec 1997 19:39:42 +0000 (12:39 -0700)]
Fix typo.

From-SVN: r17008

26 years agopt.c (lookup_template_function): Copy the template arguments...
Mark Mitchell [Mon, 8 Dec 1997 06:41:17 +0000 (06:41 +0000)]
pt.c (lookup_template_function): Copy the template arguments...

* pt.c (lookup_template_function): Copy the template arguments,
not just the list containing them, to the permanent obstack.

From-SVN: r17006

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

From-SVN: r17004

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

* except.c (expand_start_catch_block): suspend_momentary for the
terminate handler.

From-SVN: r17003

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

From-SVN: r17002

26 years agoerror.c (dump_decl): Handle LOOKUP_EXPR.
Jason Merrill [Mon, 8 Dec 1997 00:33:08 +0000 (19:33 -0500)]
error.c (dump_decl): Handle LOOKUP_EXPR.

* 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.

From-SVN: r17001

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

From-SVN: r16999

26 years agobastring.h: Move closer to the draft standard implementation of basic_string by addin...
Jody Goldberg [Sun, 7 Dec 1997 10:41:01 +0000 (10:41 +0000)]
bastring.h: Move closer to the draft standard implementation of basic_string by adding 3...

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.

From-SVN: r16993

26 years agoiosfwd: New header.
Jason Merrill [Sun, 7 Dec 1997 10:33:36 +0000 (05:33 -0500)]
iosfwd: New header.

* 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.

From-SVN: r16991

26 years ago[multiple changes]
Jason Merrill [Sun, 7 Dec 1997 10:01:16 +0000 (05:01 -0500)]
[multiple changes]

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.

From-SVN: r16990

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

From-SVN: r16989

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

From-SVN: r16987

26 years agoThis commit was generated by cvs2svn to compensate for changes in r16983,
Jeff Law [Sat, 6 Dec 1997 17:30:09 +0000 (10:30 -0700)]
This commit was generated by cvs2svn to compensate for changes in r16983,

which included commits to RCS files with non-trunk default branches.

From-SVN: r16984

26 years agoInitial revision
Jeff Law [Sat, 6 Dec 1997 17:29:33 +0000 (10:29 -0700)]
Initial revision

From-SVN: r16981

26 years agoInitial revision
Jeff Law [Sat, 6 Dec 1997 17:18:39 +0000 (10:18 -0700)]
Initial revision

From-SVN: r16980

26 years agom68k.c: Include tree.h for dwarf2out_cfi_label.
Jeff Law [Sat, 6 Dec 1997 15:48:29 +0000 (08:48 -0700)]
m68k.c: Include tree.h for dwarf2out_cfi_label.

        * 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.

From-SVN: r16978

26 years agoFix bug in test
Jeff Law [Sat, 6 Dec 1997 15:45:59 +0000 (08:45 -0700)]
Fix bug in test

From-SVN: r16977

26 years agoparse.y (do_id): New nonterminal.
Jason Merrill [Sat, 6 Dec 1997 09:34:46 +0000 (09:34 +0000)]
parse.y (do_id): New nonterminal.

* parse.y (do_id): New nonterminal.
(template_id): Use it.

From-SVN: r16974

26 years agoloop.c (invariant_p): Don't test flag_rerun_loop_opt.
Jeff Law [Sat, 6 Dec 1997 07:38:01 +0000 (00:38 -0700)]
loop.c (invariant_p): Don't test flag_rerun_loop_opt.

        * 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.

From-SVN: r16973

26 years agostreambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout...
H.J. Lu [Sat, 6 Dec 1997 07:32:08 +0000 (00:32 -0700)]
streambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout/_IO_stderr.

        * streambuf.cc (streambuf::~streambuf): Don't delete _lock
        for _IO_stdin/_IO_stdout/_IO_stderr.

From-SVN: r16972

26 years agoparse.y (template_id): do_identifier for PFUNCNAMEs, too.
Jason Merrill [Sat, 6 Dec 1997 03:43:05 +0000 (03:43 +0000)]
parse.y (template_id): do_identifier for PFUNCNAMEs, too.

* 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.

From-SVN: r16971

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

From-SVN: r16970

26 years agotypo in last delta.
Jeff Law [Fri, 5 Dec 1997 05:55:31 +0000 (22:55 -0700)]
typo in last delta.

From-SVN: r16956

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

* except.c (get_dynamic_handler_chain): Only make the call once per
  function.

From-SVN: r16955

26 years agoAdd patch from release branch accidentally left off the mainline.
Jim 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.

From-SVN: r16954

26 years agomissing part of Sept 22 change brought over:
Benjamin Kosnik [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.

From-SVN: r16953

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

From-SVN: r16952

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

From-SVN: r16951

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

From-SVN: r16950

26 years agosh.c (final_prescan_insn): Use local label prefix when emitting .uses pseudo-ops.
J"orn Rennecke [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.

        * sh.c (final_prescan_insn): Use local label prefix
        when emitting .uses pseudo-ops.

From-SVN: r16949

26 years agoinit.c (build_new): Use a TARGET_EXPR instead of SAVE_EXPR for alloc_expr.
Jason Merrill [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.

* init.c (build_new): Use a TARGET_EXPR instead of SAVE_EXPR for
  alloc_expr.
   * call.c (build_op_delete_call): Adjust.

From-SVN: r16939

26 years agooops
Jason Merrill [Thu, 4 Dec 1997 09:41:53 +0000 (04:41 -0500)]
oops

From-SVN: r16938

26 years ago./: * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
Jason Merrill [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.

From-SVN: r16937

26 years agotweak
Jason Merrill [Thu, 4 Dec 1997 09:16:21 +0000 (04:16 -0500)]
tweak

From-SVN: r16936

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

From-SVN: r16935

26 years agoupdate
Jason Merrill [Thu, 4 Dec 1997 07:22:02 +0000 (02:22 -0500)]
update

From-SVN: r16934

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

From-SVN: r16932

26 years agopt.c (tsubst): Remove tree_cons call (places redundant info into DECL_TEMPLATE_INSTAN...
Benjamin Kosnik [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).

* pt.c (tsubst): Remove tree_cons call (places redundant info into
  DECL_TEMPLATE_INSTANTIATION).

From-SVN: r16931

26 years agonew
Jason Merrill [Wed, 3 Dec 1997 20:29:19 +0000 (15:29 -0500)]
new

From-SVN: r16930

26 years agoexcept.c (expand_fixup_region_end): New fn.
Jason Merrill [Wed, 3 Dec 1997 20:04:31 +0000 (20:04 +0000)]
except.c (expand_fixup_region_end): New fn.

* 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.

From-SVN: r16929

26 years agotree.c (is_overloaded_fn): Handle getting a fn template.
Jason Merrill [Wed, 3 Dec 1997 19:46:56 +0000 (14:46 -0500)]
tree.c (is_overloaded_fn): Handle getting a fn template.

* 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.

From-SVN: r16928

26 years agomips.md (muldi3_r4000): Broaden the output template and attribute assignments to...
Gavin Koch [Wed, 3 Dec 1997 16:47:25 +0000 (16:47 +0000)]
mips.md (muldi3_r4000): Broaden the output template and attribute assignments to handle three operand...

* 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.

From-SVN: r16927

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

From-SVN: r16896

26 years ago[multiple changes]
Jason Merrill [Wed, 3 Dec 1997 03:37:17 +0000 (22:37 -0500)]
[multiple changes]

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.

From-SVN: r16895

26 years agoBetter fix for loop unrolling problem.
Jim 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.

From-SVN: r16893

26 years agoMore doc junk.
Jeff Law [Tue, 2 Dec 1997 20:16:00 +0000 (13:16 -0700)]
More doc junk.

From-SVN: r16891

26 years agoMakefile.in (INSTALL_TARGET_CROSS): Define.
Jeffrey A Law [Tue, 2 Dec 1997 17:53:36 +0000 (17:53 +0000)]
Makefile.in (INSTALL_TARGET_CROSS): Define.

        * Makefile.in (INSTALL_TARGET_CROSS): Define.
        (install-cross, install-gcc-cross): New targets.

From-SVN: r16888

26 years agoC9X draft.
Jeff Law [Tue, 2 Dec 1997 17:01:35 +0000 (10:01 -0700)]
C9X draft.

From-SVN: r16885

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

From-SVN: r16883

26 years agoFrom egcs release branch
Jeff Law [Mon, 1 Dec 1997 18:18:10 +0000 (11:18 -0700)]
From egcs release branch

From-SVN: r16867

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

From-SVN: r16866

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

From-SVN: r16865

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

From-SVN: r16821

26 years agopt.c (check_explicit_specialization): Complain about using a template-id for a non...
Jason Merrill [Fri, 28 Nov 1997 10:30:44 +0000 (05:30 -0500)]
pt.c (check_explicit_specialization): Complain about using a template-id for a non-specialization.

* 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.

From-SVN: r16818

26 years agofix
Jason Merrill [Fri, 28 Nov 1997 10:28:34 +0000 (05:28 -0500)]
fix

From-SVN: r16817

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

From-SVN: r16816

26 years agoflow.c (find_basic_blocks): Handle cfg issues for rethrows and nested exceptions...
Jeffrey A 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.

        * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
        nested exceptions correctly.

From-SVN: r16812

26 years agotypeck.c (build_const_cast): Handle references here instead of handing off to convert...
Jason Merrill [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.

* typeck.c (build_const_cast): Handle references here instead of
handing off to convert_to_reference.

From-SVN: r16810

26 years agoexcept.c: Lose Unexpected, SetTerminate, SetUnexpected, TerminateFunctionCall.
Jason Merrill [Thu, 27 Nov 1997 20:55:44 +0000 (20:55 +0000)]
except.c: Lose Unexpected, SetTerminate, SetUnexpected, TerminateFunctionCall.

* 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/.

From-SVN: r16805

26 years agocp-tree.h (struct lang_decl_flags): Add comdat.
Jason Merrill [Thu, 27 Nov 1997 19:26:15 +0000 (19:26 +0000)]
cp-tree.h (struct lang_decl_flags): Add comdat.

* 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.

From-SVN: r16804

26 years agounroll.c (find_splittable_givs): Don't split givs with a dest_reg that was created...
Jeffrey A 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.

        * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
        that was created by loop.

From-SVN: r16803

26 years agoclass.c: Remove static pending_hard_virtuals.
Jason Merrill [Thu, 27 Nov 1997 09:45:25 +0000 (09:45 +0000)]
class.c: Remove static pending_hard_virtuals.

* 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.

From-SVN: r16787

26 years agoMakefile.in (insatll): Change gxx_includedir to gcc_include_dir.
Jeffrey A Law [Thu, 27 Nov 1997 08:39:12 +0000 (08:39 +0000)]
Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.

        * 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.

From-SVN: r16786

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

From-SVN: r16785

26 years agoMakefile.in (INSTALL_TARGET): Do install-gcc first.
Jeffrey A Law [Thu, 27 Nov 1997 08:37:03 +0000 (08:37 +0000)]
Makefile.in (INSTALL_TARGET): Do install-gcc first.

        * Makefile.in (INSTALL_TARGET): Do install-gcc first.
        * configure (gxx_include_dir): Provide a definition for subdirs
        which do not use autoconf.

From-SVN: r16784

26 years agoNew entry.
Jeff Law [Thu, 27 Nov 1997 07:31:04 +0000 (00:31 -0700)]
New entry.

From-SVN: r16780

26 years agodecl2.c (import_export_vtable): If we support one_only but not weak symbols...
Jason Merrill [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...

* 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.

From-SVN: r16779

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

* except.c (expand_throw): Call mark_used on the destructor.

Fixes operator new on the PA.

From-SVN: r16773

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

* pt.c (unify): Handle `void' template parameters in
specializations.

From-SVN: r16772

26 years agoconfig.guess (alpha stuff): Merge with FSF to avoid incorrect guesses.
Jeff Law [Wed, 26 Nov 1997 23:54:57 +0000 (16:54 -0700)]
config.guess (alpha stuff): Merge with FSF to avoid incorrect guesses.

        * config.guess (alpha stuff): Merge with FSF to avoid incorrect
        guesses.

From-SVN: r16770

26 years agoconfigure.in (target frags): Add powerpc*-linux-gnulibc1.
Richard Henderson [Wed, 26 Nov 1997 23:54:30 +0000 (15:54 -0800)]
configure.in (target frags): Add powerpc*-linux-gnulibc1.

        * 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.

From-SVN: r16769

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

From-SVN: r16768

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

From-SVN: r16765

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

From-SVN: r16756

26 years agoPass 9th fp argument correctly on System V/eabi; Add @plt for -fPIC/-mrelocatable
Michael 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

From-SVN: r16746

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

From-SVN: r16742

26 years agortti.c (build_dynamic_cast): Handle template case here.
Jason Merrill [Wed, 26 Nov 1997 10:14:51 +0000 (10:14 +0000)]
rtti.c (build_dynamic_cast): Handle template case here.

* rtti.c (build_dynamic_cast): Handle template case here.
(build_dynamic_cast_1): Not here.

From-SVN: r16729

26 years agotypeck2.c (digest_init): Make copies where appropriate.
Jason Merrill [Wed, 26 Nov 1997 09:56:56 +0000 (09:56 +0000)]
typeck2.c (digest_init): Make copies where appropriate.

* typeck2.c (digest_init): Make copies where appropriate.

* decl2.c (delete_sanity): resolve_offset_ref.

From-SVN: r16727

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

* 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.

From-SVN: r16726

26 years agointegrate.c (output_inline_function): Just unset DECL_INLINE.
Jason Merrill [Wed, 26 Nov 1997 07:38:08 +0000 (02:38 -0500)]
integrate.c (output_inline_function): Just unset DECL_INLINE.

* 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.

From-SVN: r16724

26 years agoLondon changes to string:
Jason Merrill [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.

From-SVN: r16722

26 years agoFix typo.
Jeff Law [Wed, 26 Nov 1997 05:13:31 +0000 (22:13 -0700)]
Fix typo.

From-SVN: r16720