]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
27 years agoinit.c (build_new): Stick a CLEANUP_POINT_EXPR inside the TRY_CATCH_EXPR for now.
Jason Merrill [Tue, 25 Nov 1997 21:27:19 +0000 (21:27 +0000)] 
init.c (build_new): Stick a CLEANUP_POINT_EXPR inside the TRY_CATCH_EXPR for now.

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

From-SVN: r16708

27 years agoconversion.c (test_float_to_integer): Make double precision tests dependent on sizeof...
Jeff Law [Tue, 25 Nov 1997 21:10:57 +0000 (14:10 -0700)] 
conversion.c (test_float_to_integer): Make double precision tests dependent on sizeof (double).

* conversion.c (test_float_to_integer): Make double precision tests
dependent on sizeof (double).

From-SVN: r16707

27 years agova-sh.h (__va_arg_sh1): Define.
J"orn Rennecke [Tue, 25 Nov 1997 21:09:44 +0000 (21:09 +0000)] 
va-sh.h (__va_arg_sh1): Define.

        * va-sh.h (__va_arg_sh1): Define.
        (va_arg): Use it.
        SH3E doesn't use any integer registers for subsequent arguments
        once a non-float value was passed in the stack.
        * sh.h (PASS_IN_REG_P): Fix SH3E case.

From-SVN: r16706

27 years agoMakefile.in (stmp-complex, [...]): Changed to xxxx-complx.
H.J. Lu [Tue, 25 Nov 1997 21:01:31 +0000 (21:01 +0000)] 
Makefile.in (stmp-complex, [...]): Changed to xxxx-complx.

        * Makefile.in (stmp-complex, bigstmp-complex): Changed to
        xxxx-complx.

From-SVN: r16704

27 years ago* alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
Richard Henderson [Tue, 25 Nov 1997 20:53:07 +0000 (12:53 -0800)] 
* alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.

From-SVN: r16702

27 years agoconfigure.in (alphaev56*-*-*): Disable MASK_BYTE_OPS until ev56 support works correctly.
Jeffrey A Law [Tue, 25 Nov 1997 20:06:58 +0000 (20:06 +0000)] 
configure.in (alphaev56*-*-*): Disable MASK_BYTE_OPS until ev56 support works correctly.

        * configure.in (alphaev56*-*-*): Disable MASK_BYTE_OPS until
        ev56 support works correctly.

From-SVN: r16700

27 years agoexception.cc (struct cp_eh_info): Add handlers field.
Jason Merrill [Tue, 25 Nov 1997 19:34:14 +0000 (19:34 +0000)] 
exception.cc (struct cp_eh_info): Add handlers field.

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

From-SVN: r16699

27 years ago* crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
Jeffrey A Law [Tue, 25 Nov 1997 16:58:18 +0000 (16:58 +0000)] 
* crtstuff.c (do_global_dtors_aux): Handle multiple calls better.

From-SVN: r16697

27 years agoMakefile.in: Use ln -f -s, not ln -s -f.
Jeffrey A Law [Mon, 24 Nov 1997 21:40:27 +0000 (21:40 +0000)] 
Makefile.in: Use ln -f -s, not ln -s -f.

        * Makefile.in: Use ln -f -s, not ln -s -f.
x86-solaris2.5 doesn't like -s -f ordering.

From-SVN: r16692

27 years agoDoc fixes from Stan.
Jeff Law [Mon, 24 Nov 1997 20:52:10 +0000 (13:52 -0700)] 
Doc fixes from Stan.

From-SVN: r16690

27 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Sun, 23 Nov 1997 19:59:21 +0000 (19:59 +0000)] 
* version.c: Bump for snapshot.

From-SVN: r16688

27 years agopa-hpux10.h (NEW_HP_ASSEMBLER): Define.
Jeffrey A Law [Sun, 23 Nov 1997 01:57:15 +0000 (01:57 +0000)] 
pa-hpux10.h (NEW_HP_ASSEMBLER): Define.

        * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
        * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
        gas and not using the new HP assembler.

Also remove unwanted pa.md change accidentally committed.

From-SVN: r16684

27 years agoMakefile.in (program_transform_cross_name): Clean up "-e" confusion.
Jeffrey A Law [Sat, 22 Nov 1997 07:53:39 +0000 (07:53 +0000)] 
Makefile.in (program_transform_cross_name): Clean up "-e" confusion.

        * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
        (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.

From-SVN: r16666

27 years agoMakefile.in (bigstmp-complex): Name changed to bigstmp-complx to cope with filesystem...
Manfred Hollstein [Sat, 22 Nov 1997 03:34:43 +0000 (03:34 +0000)] 
Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to cope with filesystem not capable to handle...

* Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
cope with filesystem not capable to handle names longer than
14 characters.

From-SVN: r16663

27 years agoMakefile.in: Add --no-split argument to avoid creating files with names longer than...
Manfred Hollstein [Sat, 22 Nov 1997 03:34:17 +0000 (03:34 +0000)] 
Makefile.in: Add --no-split argument to avoid creating files with names longer than 14...

* Makefile.in: Add --no-split argument to avoid creating files
with names longer than 14 characters.

From-SVN: r16662

27 years ago* i386.h (TARGET_CMOV): Disable conditional moves for this release.
Jeffrey A Law [Sat, 22 Nov 1997 03:29:14 +0000 (03:29 +0000)] 
* i386.h (TARGET_CMOV): Disable conditional moves for this release.

From-SVN: r16661

27 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 21 Nov 1997 21:36:00 +0000 (21:36 +0000)] 
This commit was manufactured by cvs2svn to create branch
'egcs_1_00_branch'.

From-SVN: r16658

27 years agorevert new throw spec change
Jason Merrill [Fri, 21 Nov 1997 21:13:19 +0000 (16:13 -0500)] 
revert new throw spec change

From-SVN: r16657

27 years agorevert large changes
Jason Merrill [Fri, 21 Nov 1997 21:10:09 +0000 (16:10 -0500)] 
revert large changes

From-SVN: r16656

27 years agorevert large changes
Jason Merrill [Fri, 21 Nov 1997 21:04:23 +0000 (16:04 -0500)] 
revert large changes

From-SVN: r16655

27 years agoexcept.c (expand_start_eh_spec): Use the try/catch code.
Jason Merrill [Fri, 21 Nov 1997 20:29:39 +0000 (20:29 +0000)] 
except.c (expand_start_eh_spec): Use the try/catch code.

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

From-SVN: r16652

27 years agoFix typo.
Jeff Law [Fri, 21 Nov 1997 20:25:40 +0000 (13:25 -0700)] 
Fix typo.

From-SVN: r16650

27 years agoexcept.c (expand_start_catch_block): We only need the rethrow region for non-sjlj...
Jason Merrill [Fri, 21 Nov 1997 20:23:42 +0000 (20:23 +0000)] 
except.c (expand_start_catch_block): We only need the rethrow region for non-sjlj exceptions.

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

From-SVN: r16647

27 years agoexcept.h: Add outer_context_label_stack.
Jason Merrill [Fri, 21 Nov 1997 20:21:39 +0000 (20:21 +0000)] 
except.h: Add outer_context_label_stack.

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

From-SVN: r16646

27 years agoMake-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS to before override...
Fred Fish [Fri, 21 Nov 1997 17:22:06 +0000 (17:22 +0000)] 
Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS to before override of CC so that the...

        * Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
        to before override of CC so that the override works.

From-SVN: r16643

27 years ago* i386/sco5.h (HAVE_ATEXIT): Revert last change.
Robert Lipe [Fri, 21 Nov 1997 17:12:52 +0000 (17:12 +0000)] 
* i386/sco5.h (HAVE_ATEXIT): Revert last change.

From-SVN: r16640

27 years agoForgot to actually check it in.
Jeff Law [Fri, 21 Nov 1997 17:06:01 +0000 (10:06 -0700)] 
Forgot to actually check it in.

From-SVN: r16638

27 years agoconfig.guess (alpha stuff): Merge with FSF to avoid incorrect guesses.
Jeff Law [Fri, 21 Nov 1997 16:50:37 +0000 (09:50 -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: r16637

27 years agotests
Jason Merrill [Fri, 21 Nov 1997 04:04:33 +0000 (23:04 -0500)] 
tests

From-SVN: r16628

27 years ago* alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
Richard Henderson [Fri, 21 Nov 1997 02:07:26 +0000 (18:07 -0800)] 
* alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.

From-SVN: r16626

27 years agoMinor fix from meissner.
Jeff Law [Thu, 20 Nov 1997 23:40:57 +0000 (16:40 -0700)] 
Minor fix from meissner.

From-SVN: r16624

27 years agovms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label to correspond with...
Klaus Kaempf [Thu, 20 Nov 1997 23:34:57 +0000 (23:34 +0000)] 
vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label to correspond with the change to...

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

From-SVN: r16621

27 years agoMakefile.in (LIB2FUNCS): Remove C++ memory management support.
Jason Merrill [Thu, 20 Nov 1997 23:21:26 +0000 (23:21 +0000)] 
Makefile.in (LIB2FUNCS): Remove C++ memory management support.

./: * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
* libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
__builtin_delete, and __builtin_vec_delete.

* except.c (output_exception_table): Don't bother with
  __EXCEPTION_END__.

cp/:
* Make-lang.in (CXX_LIB2FUNCS): Add new op new and op delete objs.
(various.o): Likewise.
* inc/new: Add placement deletes.  Add throw specs for default new.
* new.cc (set_new_handler): Move here from libgcc2.
* new1.cc (new (nothrow)): Catch a bad_alloc thrown from the handler.
(new): Move from libgcc2.  Throw bad_alloc.
* new2.cc: Move the rest of the op news and op deletes from libgcc2.
* decl.c (init_decl_processing): Update exception specs on new and
delete.

From-SVN: r16619

27 years agopa.md (pre_stwm, [...]): Base register is an in/out operand.
Jeffrey A Law [Thu, 20 Nov 1997 23:19:01 +0000 (23:19 +0000)] 
pa.md (pre_stwm, [...]): Base register is an in/out operand.

        * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
        is an in/out operand.
        (zero extended variants of stwm/stwm patterns): Similarly.

From-SVN: r16618

27 years ago* mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
Jeffrey A Law [Thu, 20 Nov 1997 23:09:41 +0000 (23:09 +0000)] 
* mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.

From-SVN: r16615

27 years agomethod.c (build_decl_overload_real): Don't mess with global placement delete.
Jason Merrill [Thu, 20 Nov 1997 22:42:37 +0000 (22:42 +0000)] 
method.c (build_decl_overload_real): Don't mess with global placement delete.

* method.c (build_decl_overload_real): Don't mess with global
placement delete.

* init.c (build_new): Check for null throw spec, not nothrow_t.

* decl.c (duplicate_decls): Don't complain about different exceptions
from an internal declaration.

* call.c (build_op_delete_call): Fix check for member fns again.

* decl2.c (import_export_decl): Interface hackery affects
virtual synthesized methods.

From-SVN: r16611

27 years agodwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
Jason Merrill [Thu, 20 Nov 1997 21:38:39 +0000 (21:38 +0000)] 
dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.

* dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
Use assemble_name.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
(output_call_frame_info): Emit a \n after using it.

From-SVN: r16608

27 years agoPatch from meissner.
Jeff Law [Thu, 20 Nov 1997 08:09:56 +0000 (01:09 -0700)] 
Patch from meissner.

From-SVN: r16596

27 years ago* Make-lang.in (f77.install-info): Depend on f77.info.
H.J. Lu [Thu, 20 Nov 1997 07:55:53 +0000 (07:55 +0000)] 
* Make-lang.in (f77.install-info): Depend on f77.info.

From-SVN: r16594

27 years ago* configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
Dave Love [Thu, 20 Nov 1997 07:38:41 +0000 (07:38 +0000)] 
* configure.in: Add AC_ARG_ENABLE for Haifa as documentation.

From-SVN: r16592

27 years agodecl.c (start_decl): Don't just complain about a mismatched scope, fix it.
Jason Merrill [Thu, 20 Nov 1997 04:42:10 +0000 (04:42 +0000)] 
decl.c (start_decl): Don't just complain about a mismatched scope, fix it.

* decl.c (start_decl): Don't just complain about a mismatched
scope, fix it.

From-SVN: r16590

27 years agodecl.c (make_implicit_typename): Handle case where t is not actually from context.
Jason Merrill [Thu, 20 Nov 1997 03:55:02 +0000 (03:55 +0000)] 
decl.c (make_implicit_typename): Handle case where t is not actually from context.

* decl.c (make_implicit_typename): Handle case where t is not
  actually from context.
* tree.c (get_type_decl): Lose identifier case.
* spew.c (yylex): Lose useless call to identifer_typedecl_value.
* parse.y (nonnested_type): Just use lookup_name.
(complex_type_name): Just use IDENTIFIER_GLOBAL_VALUE.

From-SVN: r16588

27 years agodwarf2out.c (CIE_LENGTH_LABEL, [...]): New macros.
Philippe De Muyter [Wed, 19 Nov 1997 19:51:48 +0000 (20:51 +0100)] 
dwarf2out.c (CIE_LENGTH_LABEL, [...]): New macros.

Wed Nov 19 12:03:04 1997  Philippe De Muyter  <phdm@macqel.be>

* dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
(ASM_OUTPUT_DWARF_VALUE4): New macro.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
defined.
(output_call_frame_info): Do not output forward label differences
if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
* m68k/mot3300.h (SET_ASM_OP): Define when not using gas.

From-SVN: r16583

27 years agodecl.c (make_implicit_typename): New fn.
Jason Merrill [Wed, 19 Nov 1997 18:41:17 +0000 (18:41 +0000)] 
decl.c (make_implicit_typename): New fn.

* decl.c (make_implicit_typename): New fn.
(lookup_name_real): Use it.  Use current_class_type as the context.

From-SVN: r16580

27 years agoNew test.
Jeff Law [Wed, 19 Nov 1997 16:19:25 +0000 (09:19 -0700)] 
New test.

From-SVN: r16577

27 years agomips.c (save_restore_insns): If gp_offset or fp_offset are large_int...
Jim Wilson [Wed, 19 Nov 1997 05:49:11 +0000 (05:49 +0000)] 
mips.c (save_restore_insns): If gp_offset or fp_offset are large_int...

        * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
        large_int, emit two insns instead of one splitable insn.
        * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
        from cfa_temp_value, use cfa_offset.  Abort if cfa_reg is not SP.

From-SVN: r16576

27 years ago* stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.
H.J. Lu [Tue, 18 Nov 1997 16:51:39 +0000 (16:51 +0000)] 
* stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.

From-SVN: r16566

27 years agoclose.c (f_exit): Reset f__init so that f_clos does not (incorrectly) think there...
Mumit Khan [Tue, 18 Nov 1997 16:47:23 +0000 (16:47 +0000)] 
close.c (f_exit): Reset f__init so that f_clos does not (incorrectly) think there is an I/O...

        * libI77/close.c (f_exit): Reset f__init so that f_clos does not
        (incorrectly) think there is an I/O recursion when program is
        interrupted.

From-SVN: r16564

27 years agopt.c (do_poplevel): Don't prohibit jumps into this contour.
Bruno Haible [Tue, 18 Nov 1997 08:10:11 +0000 (09:10 +0100)] 
pt.c (do_poplevel): Don't prohibit jumps into this contour.

Mon Nov 17 23:42:03 1997  Bruno Haible <haible@ilog.fr>

* pt.c (do_poplevel): Don't prohibit jumps into this contour.

From-SVN: r16559

27 years agocall.c (build_new_method_call): Handle getting a TEMPLATE_ID_EXPR around a TEMPLATE_DECL.
Jason Merrill [Tue, 18 Nov 1997 06:54:29 +0000 (01:54 -0500)] 
call.c (build_new_method_call): Handle getting a TEMPLATE_ID_EXPR around a TEMPLATE_DECL.

* call.c (build_new_method_call): Handle getting a
  TEMPLATE_ID_EXPR around a TEMPLATE_DECL.  Don't look for a field
  if we got template parms.
* typeck.c (build_x_function_call): Remember the TEMPLATE_ID_EXPR,
  not just the args.
* decl2.c (build_expr_from_tree): Tweak last change.
* pt.c (tsubst_copy): Use get_first_fn instead of TREE_VALUE.
(maybe_fold_nontype_arg): Split out from tsubst_copy.
* tree.c (get_first_fn): Just return a TEMPLATE_ID_EXPR.

Mon Nov 10 20:08:38 1997  Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>

* pt.c (tsubst_copy): Handle explicit template arguments in
function calls.
* typeck.c (build_x_function_call): Likewise.
* decl2.c (build_expr_from_tree): Lookup function name if it
hasn't been done.

* pt.c (tsubst): Instantiate template functions properly when
template parameter does not appear in function arguments and return
type.
(comp_template_args): Handle member templates required by tsubst.

Mon Nov 10 20:08:29 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

* pt.c (coerce_template_parms): Tweak error message.

From-SVN: r16556

27 years agosearch.c (dfs_record_inheritance): Ignore template type parms.
Jason Merrill [Mon, 17 Nov 1997 19:37:07 +0000 (19:37 +0000)] 
search.c (dfs_record_inheritance): Ignore template type parms.

* search.c (dfs_record_inheritance): Ignore template type parms.

Fixes 13688.

* friend.c (do_friend): Warn about non-template friends in templates.

* call.c (build_op_delete_call): Fix handling of inherited delete.

From-SVN: r16552

27 years agosco5.h (HAVE_ATEXIT): Delete definition.
Robert Lipe [Mon, 17 Nov 1997 06:53:51 +0000 (06:53 +0000)] 
sco5.h (HAVE_ATEXIT): Delete definition.

Fri Nov  7 15:33:11 1997  Robert Lipe (robertl@dgii.com)

        * i386/sco5.h (HAVE_ATEXIT): Delete definition.

From-SVN: r16535

27 years agocse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl return.
Jeffrey A Law [Mon, 17 Nov 1997 06:50:55 +0000 (06:50 +0000)] 
cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl return.

        * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
        return.
        (cse_end_of_basic_block): Similarly.

From-SVN: r16533

27 years agosco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
J. Kean Johnston [Mon, 17 Nov 1997 06:01:16 +0000 (06:01 +0000)] 
sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.

        * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
        (SELECT_RTX_SECTION): Define.
        (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.

From-SVN: r16531

27 years agoMakefile.in (compare, [...]): Define $stage for each shell command.
Manfred Hollstein [Mon, 17 Nov 1997 05:45:46 +0000 (05:45 +0000)] 
Makefile.in (compare, [...]): Define $stage for each shell command.

        * Makefile.in (compare, compare-lean): Define $stage for each
        shell command.
        (gnucompare, gnucompare-lean): Likewise.

From-SVN: r16529

27 years ago* Makefile.in (SHLIB): Build with CC instead of CXX.
Jeffrey A Law [Mon, 17 Nov 1997 05:40:38 +0000 (05:40 +0000)] 
* Makefile.in (SHLIB): Build with CC instead of CXX.

From-SVN: r16527

27 years agowin-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
Richard Henderson [Mon, 17 Nov 1997 05:02:57 +0000 (21:02 -0800)] 
win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.

        * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.

        * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
        to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.

From-SVN: r16525

27 years agocall.c (build_new_op): Fix copy error.
Jason Merrill [Sat, 15 Nov 1997 08:36:08 +0000 (08:36 +0000)] 
call.c (build_new_op): Fix copy error.

* call.c (build_new_op): Fix copy error.
(build_op_new_call): New fn.
(build_op_delete_call): New fn.
* cp-tree.h: Declare them.
* init.c (build_new): Use them.  Support placement delete.
(build_x_delete): Use build_op_delete_call.
(build_delete): Likewise.
* decl2.c (delete_sanity): Likewise.
(coerce_delete_type): Don't complain about placement delete.

Support placement delete.

From-SVN: r16500

27 years agointrin.def: Supply gfrt for CPU_TIME.
Dave Love [Fri, 14 Nov 1997 15:12:42 +0000 (15:12 +0000)] 
intrin.def: Supply gfrt for CPU_TIME.

1997-11-14  Dave Love  <d.love@dl.ac.uk>

* intrin.def: Supply gfrt for CPU_TIME.  Generalize arg types of
INT2, INT8, per doc.

From-SVN: r16494

27 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Fri, 14 Nov 1997 14:59:09 +0000 (14:59 +0000)] 
* version.c: Bump for snapshot.

From-SVN: r16493

27 years agoexpr.c (expand_builtin_setjmp): Set current_function_has_nonlocal_label.
Richard Henderson [Fri, 14 Nov 1997 14:48:31 +0000 (06:48 -0800)] 
expr.c (expand_builtin_setjmp): Set current_function_has_nonlocal_label.

        * expr.c (expand_builtin_setjmp): Set
        current_function_has_nonlocal_label.
        * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
        call-saved registers across calls.

        * alpha.md (exception_receiver): Remove.
        (nonlocal_goto_receiver_osf): New
        (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
        (nonlocal_goto_receiver): New, select _osf or _vms.

From-SVN: r16491

27 years agoalpha.c (output_prolog [*]): Prefix entry labels with '$' to keep them from being...
Richard Henderson [Fri, 14 Nov 1997 14:42:27 +0000 (06:42 -0800)] 
alpha.c (output_prolog [*]): Prefix entry labels with '$' to keep them from being propogated to the object file.

        * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
        keep them from being propogated to the object file.
        (alpha_write_linkage): Likewise.
        * alpha.md (call_vms): Likewise.
        (call_value_vms): Likewise.
        (unnamed osf call insns): Likewise.

        * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
        (ASM_GENERATE_INTERNAL_LABEL): Likewise.

From-SVN: r16489

27 years agoFix some confusion with IEEE minus zero.
Paul Eggert [Fri, 14 Nov 1997 14:30:01 +0000 (14:30 +0000)] 
Fix some confusion with IEEE minus zero.

        * real.h (REAL_VALUES_IDENTICAL): New macro.

        * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
        * fold-const.c (operand_equal_p): Don't consider -0.0 to be
        identical to 0.0.
        * tree.c (simple_cst_equal): Don't consider -0.0 to have the
        same tree structure as 0.0.

        * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
        macro instead of doing it by hand.

From-SVN: r16488

27 years agoalpha.c (call_operand): Any reg is valid for WinNT.
Richard Henderson [Fri, 14 Nov 1997 14:22:13 +0000 (06:22 -0800)] 
alpha.c (call_operand): Any reg is valid for WinNT.

        * alpha.c (call_operand): Any reg is valid for WinNT.
        * alpha.md (call_nt, call_value_nt): Don't force address into $27.
        (anon nt calls): Add 'R' alternative.
        * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
        INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.

From-SVN: r16486

27 years agoAdd -frepo docs.
Jeff Law [Fri, 14 Nov 1997 01:57:05 +0000 (18:57 -0700)] 
Add -frepo docs.

From-SVN: r16479

27 years agoflow.c (find_basic_blocks): During marking phase...
Jeffrey A Law [Thu, 13 Nov 1997 23:08:15 +0000 (23:08 +0000)] 
flow.c (find_basic_blocks): During marking phase...

        * flow.c (find_basic_blocks): During marking phase, if we encounter
        an insn with a REG_LABEL note, make the target block live and
        create an edge from the insn to the target block.  Do not make
        edges from all blocks to the target block.
Another crack at the flow control problem.

From-SVN: r16468

27 years agomips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0...
Jim Wilson [Thu, 13 Nov 1997 21:08:05 +0000 (21:08 +0000)] 
mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0 is not a register.

* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
xplus1 when xplus0 is not a register.

From-SVN: r16466

27 years agoremoved unused parm to build_new_function_call
Jason Merrill [Thu, 13 Nov 1997 20:03:31 +0000 (20:03 +0000)] 
removed unused parm to build_new_function_call

From-SVN: r16465

27 years ago* m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
Jeffrey A Law [Thu, 13 Nov 1997 18:51:56 +0000 (18:51 +0000)] 
* m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.

From-SVN: r16461

27 years agors6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction...
David Edelsohn [Thu, 13 Nov 1997 18:49:31 +0000 (18:49 +0000)] 
rs6000.md (lshrdi3_power): Delete '&' from first alternative and swap instruction order.

        * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
        swap instruction order.

From-SVN: r16460

27 years agors6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to pick apart floatin...
Michael Meissner [Thu, 13 Nov 1997 18:46:01 +0000 (18:46 +0000)] 
rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to pick apart floating point values...

        * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
        pick apart floating point values, instead of using CONST_DOUBLE_LOW
        and CONST_DOUBLE_HIGH.

        * rs6000.md (define_splits for DF constants): Use the appropriate
        REAL_VALUE_* interface to pick apart DF floating point constants in
        a machine independent fashion.

From-SVN: r16459

27 years agoconfiugre.in: Tweak NCR entries.
Jeffrey A Law [Thu, 13 Nov 1997 18:39:51 +0000 (18:39 +0000)] 
confiugre.in: Tweak NCR entries.

        * confiugre.in: Tweak NCR entries.
        * configure: Rebuilt.

From-SVN: r16457

27 years ago* configure.in (i[3456]86-ncr-sysv4.3*): Tweak.
Jeffrey A Law [Thu, 13 Nov 1997 18:37:27 +0000 (18:37 +0000)] 
* configure.in (i[3456]86-ncr-sysv4.3*): Tweak.

From-SVN: r16456

27 years agoinit.c (build_new): Make the cleanup last longer.
Jason Merrill [Thu, 13 Nov 1997 10:11:07 +0000 (10:11 +0000)] 
init.c (build_new): Make the cleanup last longer.

* init.c (build_new): Make the cleanup last longer.
(expand_vec_init): Call do_pending_stack_adjust.

From-SVN: r16450

27 years agothinko
Jason Merrill [Wed, 12 Nov 1997 20:16:34 +0000 (20:16 +0000)] 
thinko

From-SVN: r16447

27 years agopt.c (do_type_instantiation): Fix typo.
Jason Merrill [Wed, 12 Nov 1997 19:53:33 +0000 (14:53 -0500)] 
pt.c (do_type_instantiation): Fix typo.

* pt.c (do_type_instantiation): Fix typo.
(mark_class_instantiated): If we support one_only but not weak
symbols, don't mark this as known.

* init.c (build_new): Handle cookies in EH cleanup.

Wed Nov 12 08:11:55 1997  Benjamin Kosnik  <bkoz@rhino.cygnus.com>

* call.c (build_method_call): Call complete_type before checking
  for destructor.

From-SVN: r16445

27 years agoexcept.c: Do not include "assert.h".
Jeffrey A Law [Wed, 12 Nov 1997 17:01:12 +0000 (17:01 +0000)] 
except.c: Do not include "assert.h".

        * except.c: Do not include "assert.h".
        (save_eh_status): Turn asserts into conditional aborts.
        (restore_eh_status, scan_region): Likewise.
        * dwarfout.c: Do not include "assert.h".
        (bit_offset_attribute): Turn asserts into conditional aborts.
        (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
        (output_inlined_structure_type_die): Likewise.
        (output_inlined_union_type_die): Likewise
        (output_tagged_type_instantiation): Likewise.
        (dwarfout_file_scope_decl): Likewise.
        * dwarf2out.c: Do not include "assert.h"
        (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
        (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
        (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
        (add_bit_size_attribute, scope_die_for): Likewise.
        (output_pending_types_for_scope): Likewise.
        (get_inlined_enumeration_type_die): Likewise.
        (get_inlined_structure_type_die): Likewise.
        (get_inlined_union_type_die, gen_subprogram_die): Likewise.
        (gen_tagged_type_instantiation_die): Likewise.

From-SVN: r16441

27 years agoflow.c (find_basic_blocks): Refine further to get a more correct cfg...
Jeffrey A Law [Wed, 12 Nov 1997 16:35:41 +0000 (16:35 +0000)] 
flow.c (find_basic_blocks): Refine further to get a more correct cfg...

        * flow.c (find_basic_blocks): Refine further to get a more correct
        cfg, especially in the presense of exception handling, computed
        gotos, and other non-trivial cases.  Call abort if an inaccuracy
        is detected in the cfg.

From-SVN: r16439

27 years agoinit.c (build_new): Handle freeing allocated memory when the constructor throws.
Jason Merrill [Wed, 12 Nov 1997 09:19:26 +0000 (09:19 +0000)] 
init.c (build_new): Handle freeing allocated memory when the constructor throws.

* init.c (build_new): Handle freeing allocated memory when the
constructor throws.

* call.c (build_new_method_call): Fix flags arg.

* pt.c (do_type_instantiation): Don't try to instantiate
member templates.
(mark_decl_instantiated): If we support one_only but not
weak symbols, mark this one_only.
* decl2.c (import_export_vtable): Don't defer handling of vtables
if MULTIPLE_SYMBOL_SPACES.

From-SVN: r16437

27 years agoexcept.c (expand_end_catch_block): Lose call to __sjpopnthrow.
Jason Merrill [Wed, 12 Nov 1997 03:54:47 +0000 (03:54 +0000)] 
except.c (expand_end_catch_block): Lose call to __sjpopnthrow.

* except.c (expand_end_catch_block): Lose call to __sjpopnthrow.

Fixes sjlj failures.

From-SVN: r16434

27 years agoexcept.c (do_pop_exception): Return a value.
Jason Merrill [Tue, 11 Nov 1997 10:59:14 +0000 (10:59 +0000)] 
except.c (do_pop_exception): Return a value.

* except.c (do_pop_exception): Return a value.

Oops.

From-SVN: r16430

27 years agoiomanip.h: Fix guiding decls.
Oleg Krivosheev [Tue, 11 Nov 1997 09:43:35 +0000 (09:43 +0000)] 
iomanip.h: Fix guiding decls.

Tue Nov 11 01:40:17 1997  Oleg Krivosheev <kriol@fnal.gov>

* iomanip.h: Fix guiding decls.

From-SVN: r16429

27 years ago[multiple changes]
Jason Merrill [Tue, 11 Nov 1997 02:32:50 +0000 (21:32 -0500)] 
[multiple changes]

Sun Oct 19 09:07:38 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* stmt.c (using_eh_for_cleanups_p): New variable.
(using_eh_for_cleanups): New function.
(expand_decl_cleanup): Don't call expand_eh_region_start_tree
unless using EH for cleanups.

Sun Oct 26 01:28:29 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* decl.c (init_decl_processing): Call using_eh_for_cleanups.

From-SVN: r16424

27 years agostmt.c (expand_decl_cleanup_no_eh): New fn.
Jason Merrill [Mon, 10 Nov 1997 20:06:56 +0000 (15:06 -0500)] 
stmt.c (expand_decl_cleanup_no_eh): New fn.

* stmt.c (expand_decl_cleanup_no_eh): New fn.

* except.c (expand_leftover_cleanups): do_pending_stack_adjust.

Complete nested exception support.
* except.c (do_pop_exception): Split out...
(push_eh_cleanup): From here.  Handle the EH region by hand.
(expand_start_catch_block): Add a new level for the catch parm.
Move the rethrow region outside the two cleanup regions.
Protect the initializer for the catch parm with terminate.
(expand_end_catch_block): Likewise.  End the region for the eh_cleanup.
* exception.cc (__cp_pop_exception): Now takes two parms.  Handle
popping off the middle of the stack.
* tree.c (lvalue_p, real_lvalue_p): Handle TRY_CATCH_EXPR,
WITH_CLEANUP_EXPR, and UNSAVE_EXPR.
(build_cplus_new): Only wrap CALL_EXPRs.
* init.c (expand_default_init): Handle a TRY_CATCH_EXPR around
the constructor call.

Sun Nov  9 18:00:26 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* Make-lang.in (c++.distdir): Make inc subdirectory.

From-SVN: r16420

27 years agoalias.c (MAX_ALIAS_LOOP_PASSES): Define.
Jeffrey A Law [Mon, 10 Nov 1997 07:03:51 +0000 (07:03 +0000)] 
alias.c (MAX_ALIAS_LOOP_PASSES): Define.

        * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
        (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.

From-SVN: r16414

27 years ago* fixinc.svr4 (__STDC__): Add another case.
Jeffrey A Law [Sun, 9 Nov 1997 09:05:40 +0000 (09:05 +0000)] 
* fixinc.svr4 (__STDC__): Add another case.

From-SVN: r16395

27 years agoa29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying addresses in the epilo...
J"orn Rennecke [Sun, 9 Nov 1997 08:59:10 +0000 (08:59 +0000)] 
a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying addresses in the epilogue delay slot.

        * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
        addresses in the epilogue delay slot.

From-SVN: r16393

27 years agodgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace in generated `specs...
Manfred Hollstein [Sun, 9 Nov 1997 08:39:09 +0000 (08:39 +0000)] 
dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace in generated `specs' file.

Sun Nov  9 01:40:40 1997  Manfred Hollstein  (manfred@s-direktnet.de)

        * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
        in generated `specs' file.

From-SVN: r16390

27 years agodecl.c (add_block_current_level): Delete.
Jim Wilson [Sun, 9 Nov 1997 08:28:43 +0000 (08:28 +0000)] 
decl.c (add_block_current_level): Delete.

        * decl.c (add_block_current_level): Delete.
        * init.c (build_vec_delete_1): Delete build_block and
        add_block_current_level calls.

From-SVN: r16387

27 years agoNew entry.
Jeff Law [Sun, 9 Nov 1997 05:12:23 +0000 (22:12 -0700)] 
New entry.

From-SVN: r16386

27 years agofix typo
Jason Merrill [Sat, 8 Nov 1997 08:51:40 +0000 (08:51 +0000)] 
fix typo

From-SVN: r16365

27 years agoflags.h (flag_rerun_loop_opt): Declare.
Jim Wilson [Fri, 7 Nov 1997 23:36:53 +0000 (23:36 +0000)] 
flags.h (flag_rerun_loop_opt): Declare.

        * flags.h (flag_rerun_loop_opt): Declare.
        * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
        * toplev.c (flag_rerum_loop_opt): Delete static.

From-SVN: r16362

27 years ago* method.c (emit_thunk): Don't let the backend defer generic thunks.
Jason Merrill [Fri, 7 Nov 1997 19:57:13 +0000 (19:57 +0000)] 
* method.c (emit_thunk): Don't let the backend defer generic thunks.

From-SVN: r16360

27 years agoframe.c (add_fdes, count_fdes): Go back to checking pc_begin for linked once FDEs.
Jason Merrill [Fri, 7 Nov 1997 18:57:23 +0000 (18:57 +0000)] 
frame.c (add_fdes, count_fdes): Go back to checking pc_begin for linked once FDEs.

* frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
  linked once FDEs.

From-SVN: r16358

27 years agofix typo
Jason Merrill [Fri, 7 Nov 1997 18:28:58 +0000 (18:28 +0000)] 
fix typo

From-SVN: r16356

27 years agostl_algo.h, [...]: Update to October 28 SGI release.
Jason Merrill [Thu, 6 Nov 1997 19:21:18 +0000 (19:21 +0000)] 
stl_algo.h, [...]: Update to October 28 SGI release.

* stl_algo.h, stl_algobase.h, stl_bvector.h,
  stl_deque.h: Update to October 28 SGI release.

From-SVN: r16350

27 years agoexcept.c (call_eh_info): Split out...
Jason Merrill [Thu, 6 Nov 1997 08:01:26 +0000 (08:01 +0000)] 
except.c (call_eh_info): Split out...

* except.c (call_eh_info): Split out...
(push_eh_info): From here.
(expand_builtin_throw): Use it.
(expand_start_catch_block): Move region start back.

* class.c (build_vbase_path): Propagate the result type properly.

From-SVN: r16348

27 years agoalias.c (find_base_value): Only return the known base value for pseudo registers.
Jeffrey A Law [Wed, 5 Nov 1997 21:17:36 +0000 (21:17 +0000)] 
alias.c (find_base_value): Only return the known base value for pseudo registers.

        * alias.c (find_base_value): Only return the known base value for
        pseudo registers.

From-SVN: r16343

27 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Wed, 5 Nov 1997 08:41:31 +0000 (08:41 +0000)] 
* version.c: Bump for snapshot.

From-SVN: r16341

27 years ago* fixincludes: Fix "hypot" prototype in NeXT math.h.
Jeffrey A Law [Wed, 5 Nov 1997 03:08:06 +0000 (03:08 +0000)] 
* fixincludes: Fix "hypot" prototype in NeXT math.h.

From-SVN: r16337