OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years ago * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
law [Mon, 17 Nov 1997 06:01:57 +0000 (06:01 +0000)]
    * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
        (SELECT_RTX_SECTION): Define.
        (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.

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

26 years ago * Makefile.in (compare, compare-lean): Define $stage for each
law [Mon, 17 Nov 1997 05:46:29 +0000 (05:46 +0000)]
    * Makefile.in (compare, compare-lean): Define $stage for each
        shell command.
        (gnucompare, gnucompare-lean): Likewise.

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

26 years ago * Makefile.in (SHLIB): Build with CC instead of CXX.
law [Mon, 17 Nov 1997 05:41:36 +0000 (05:41 +0000)]
    * Makefile.in (SHLIB): Build with CC instead of CXX.

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

26 years ago * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
law [Mon, 17 Nov 1997 05:04:23 +0000 (05:04 +0000)]
    * 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.

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

26 years ago * call.c (build_new_op): Fix copy error.
jason [Sat, 15 Nov 1997 08:36:38 +0000 (08:36 +0000)]
* 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.

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

26 years agoadd missing comment from devo.
law [Fri, 14 Nov 1997 17:59:57 +0000 (17:59 +0000)]
add missing comment from devo.

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

26 years ago * dwarfout.c (byte_size_attribute): Add local var upper_bound
law [Fri, 14 Nov 1997 16:07:17 +0000 (16:07 +0000)]
    * dwarfout.c (byte_size_attribute):  Add local var upper_bound
        and add case to handle STRING_TYPE.
        * dwarfout.c (output_string_type_die):  Fix code to generate
        correct string length attribute for fixed length strings.
        Still needs support for varying length strings.

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

26 years ago * toplev.c (get_run_time): Do something sensible for cygwin32.
law [Fri, 14 Nov 1997 15:44:56 +0000 (15:44 +0000)]
    * toplev.c (get_run_time): Do something sensible for cygwin32.

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

26 years ago1997-11-14 Dave Love <d.love@dl.ac.uk>
law [Fri, 14 Nov 1997 15:13:42 +0000 (15:13 +0000)]
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.

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

26 years ago * expr.c (expand_builtin_setjmp): Set
law [Fri, 14 Nov 1997 14:51:00 +0000 (14:51 +0000)]
    * 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.

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

26 years ago * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
law [Fri, 14 Nov 1997 14:43:14 +0000 (14:43 +0000)]
    * 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.

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

26 years ago * alpha.c (call_operand): Any reg is valid for WinNT.
law [Fri, 14 Nov 1997 14:23:25 +0000 (14:23 +0000)]
    * 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.

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

26 years ago * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
law [Fri, 14 Nov 1997 14:06:07 +0000 (14:06 +0000)]
    * calls.c (expand_call): Handle pcc_struct_value correctly for C++.

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

26 years ago * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
law [Fri, 14 Nov 1997 13:59:51 +0000 (13:59 +0000)]
    * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
        * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
        * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.

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

26 years ago * reload1.c (new_spill_reg): Improve fixed or forbidden register
law [Fri, 14 Nov 1997 03:36:47 +0000 (03:36 +0000)]
    * reload1.c (new_spill_reg): Improve fixed or forbidden register
        spill error message.

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

26 years ago * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
law [Fri, 14 Nov 1997 03:27:55 +0000 (03:27 +0000)]
    * prefix.c: Use stdarg.h only ifdef __STDC__.  Otherwise,
        use varargs.h.  Wrap header with <>, not "".

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

26 years ago * integrate.c (save_for_inline_copying): Add return value from
law [Fri, 14 Nov 1997 03:20:11 +0000 (03:20 +0000)]
    * integrate.c (save_for_inline_copying): Add return value from
        savealloc.

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

26 years ago * fixincludes: Be a little more restrictive on what we will
law [Fri, 14 Nov 1997 02:13:03 +0000 (02:13 +0000)]
    * fixincludes: Be a little more restrictive on what we will
        substitute to replace definitions of MAXINT for HPUX.

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

26 years agoAdd -frepo docs.
law [Fri, 14 Nov 1997 01:56:51 +0000 (01:56 +0000)]
Add -frepo docs.

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

26 years agoMinor spacing nit.
law [Fri, 14 Nov 1997 01:42:45 +0000 (01:42 +0000)]
Minor spacing nit.

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

26 years agoComment change.
law [Fri, 14 Nov 1997 01:41:19 +0000 (01:41 +0000)]
Comment change.

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

26 years ago * dbxout.c (dbxout_symbol_location): Don't assume that variables
law [Fri, 14 Nov 1997 01:39:43 +0000 (01:39 +0000)]
    * dbxout.c (dbxout_symbol_location): Don't assume that variables
        whose address is the stack or argument pointers are indirect
        pointers.

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

26 years ago * cccp.c, cpplib.c (compare_defs):
law [Fri, 14 Nov 1997 01:33:27 +0000 (01:33 +0000)]
    * cccp.c, cpplib.c (compare_defs):
        Don't complain about arg name respellings unless pedantic.
        * cpplib.c (compare_defs): Accept pfile as new arg.
        All callers changed.
Bring over from the FSF.

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

26 years ago * fold-const.c (fold_truthop): Fix bug in last change.
amylaar [Fri, 14 Nov 1997 00:38:08 +0000 (00:38 +0000)]
    * fold-const.c (fold_truthop): Fix bug in last change.

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

26 years agopatch from paul eggert to fix -0.0/0.0 confusion that breaks glibc
wilson [Fri, 14 Nov 1997 00:07:27 +0000 (00:07 +0000)]
patch from paul eggert to fix -0.0/0.0 confusion that breaks glibc
* 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.

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

26 years ago * v850/lib1funcs.asm: Minor whitespace changes.
law [Thu, 13 Nov 1997 23:55:08 +0000 (23:55 +0000)]
    * v850/lib1funcs.asm: Minor whitespace changes.
        * v850.c: Fix minor formatting problems in many places.
        (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.

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

26 years agoWhitespace changes.
law [Thu, 13 Nov 1997 23:49:41 +0000 (23:49 +0000)]
Whitespace changes.

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

26 years ago * flow.c (find_basic_blocks): During marking phase, if we encounter
law [Thu, 13 Nov 1997 23:09:27 +0000 (23:09 +0000)]
    * 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.

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

26 years ago * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
law [Thu, 13 Nov 1997 21:09:05 +0000 (21:09 +0000)]
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
xplus1 when xplus0 is not a register.

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

26 years agoremoved unused parm to build_new_function_call
jason [Thu, 13 Nov 1997 20:01:21 +0000 (20:01 +0000)]
removed unused parm to build_new_function_call

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

26 years agotweak
jason [Thu, 13 Nov 1997 19:17:55 +0000 (19:17 +0000)]
tweak

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

26 years ago * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
law [Thu, 13 Nov 1997 18:53:09 +0000 (18:53 +0000)]
    * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.

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

26 years ago * confiugre.in: Tweak NCR entries.
law [Thu, 13 Nov 1997 18:43:00 +0000 (18:43 +0000)]
    * confiugre.in: Tweak NCR entries.
        * configure: Rebuilt.

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

26 years agoFix problems in splitting DF constants on big endian hosts & Davids patch for power...
meissner [Thu, 13 Nov 1997 16:59:07 +0000 (16:59 +0000)]
Fix problems in splitting DF constants on big endian hosts & Davids patch for power shifts.

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

26 years ago * init.c (build_new): Make the cleanup last longer.
jason [Thu, 13 Nov 1997 10:11:23 +0000 (10:11 +0000)]
* init.c (build_new): Make the cleanup last longer.
(expand_vec_init): Call do_pending_stack_adjust.

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

26 years agolose implicit int
jason [Thu, 13 Nov 1997 09:36:16 +0000 (09:36 +0000)]
lose implicit int

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

26 years ago * fold-const.c (fold_truthop): When changing a one-bit comparison
amylaar [Thu, 13 Nov 1997 00:09:37 +0000 (00:09 +0000)]
* fold-const.c (fold_truthop): When changing a one-bit comparison
against zero into a comparison against mask, do a proper sign
extension.

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

26 years agothinko
jason [Wed, 12 Nov 1997 20:15:09 +0000 (20:15 +0000)]
thinko

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

26 years ago * pt.c (do_type_instantiation): Fix typo.
jason [Wed, 12 Nov 1997 19:50:15 +0000 (19:50 +0000)]
* 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.

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

26 years agoFix typo.
law [Wed, 12 Nov 1997 18:21:36 +0000 (18:21 +0000)]
Fix typo.

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

26 years ago * except.c: Do not include "assert.h".
law [Wed, 12 Nov 1997 17:07:46 +0000 (17:07 +0000)]
    * 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.

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

26 years ago * flow.c (find_basic_blocks): Refine further to get a more correct
law [Wed, 12 Nov 1997 16:36:43 +0000 (16:36 +0000)]
    * 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.

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

26 years ago * call.c (build_method_call): Call complete_type before checking
bkoz [Wed, 12 Nov 1997 16:18:52 +0000 (16:18 +0000)]
* call.c (build_method_call): Call complete_type before checking
  for destructor.
g++/13098 fix!!

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

26 years ago * init.c (build_new): Handle freeing allocated memory when the
jason [Wed, 12 Nov 1997 09:18:40 +0000 (09:18 +0000)]
* 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.

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

26 years ago * except.c (expand_end_catch_block): Lose call to __sjpopnthrow.
jason [Wed, 12 Nov 1997 03:55:00 +0000 (03:55 +0000)]
* except.c (expand_end_catch_block): Lose call to __sjpopnthrow.

Fixes sjlj failures.

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

26 years ago * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
amylaar [Wed, 12 Nov 1997 03:17:41 +0000 (03:17 +0000)]
    * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.

        * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
        (skip_white_space): Use whitespace_cr.
        (check_newline): Handle whitespace more consistently.

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

26 years agocygwin32 patch for Noer
wilson [Wed, 12 Nov 1997 00:26:40 +0000 (00:26 +0000)]
cygwin32 patch for Noer
* i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
* i386/xm-cygwin32.h (POSIX): Define.

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

26 years ago * except.c (do_pop_exception): Return a value.
jason [Tue, 11 Nov 1997 10:59:47 +0000 (10:59 +0000)]
* except.c (do_pop_exception): Return a value.

Oops.

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

26 years agoTue Nov 11 01:40:17 1997 Oleg Krivosheev <kriol@fnal.gov>
jason [Tue, 11 Nov 1997 09:43:06 +0000 (09:43 +0000)]
Tue Nov 11 01:40:17 1997  Oleg Krivosheev <kriol@fnal.gov>

* iomanip.h: Fix guiding decls.

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

26 years ago * call.c (build_new_method_call): Handle getting a
jason [Tue, 11 Nov 1997 07:09:58 +0000 (07:09 +0000)]
* 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.

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

26 years agonew tests
jason [Tue, 11 Nov 1997 06:38:34 +0000 (06:38 +0000)]
new tests

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

26 years ago * decl.c (grokdeclarator): Tweak conditions for pedwarn in
jason [Tue, 11 Nov 1997 04:10:30 +0000 (04:10 +0000)]
* decl.c (grokdeclarator): Tweak conditions for pedwarn in
  previous change.

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

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

* decl.c (grokdeclarator): If -Wreturn-type, warn everytime a
return type defaults to `int', even if there are storage-class
specifiers.

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

26 years ago* config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
gavin [Tue, 11 Nov 1997 02:04:11 +0000 (02:04 +0000)]
* config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
is available elsewhere.

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

26 years ago * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
devans [Tue, 11 Nov 1997 00:39:39 +0000 (00:39 +0000)]
* sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
what the instruction can handle.

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

26 years ago * stmt.c (expand_decl_cleanup_no_eh): New fn.
jason [Mon, 10 Nov 1997 20:03:49 +0000 (20:03 +0000)]
* 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.

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

26 years agoRemove ENABLE_REGMOVE_PASS.
amylaar [Mon, 10 Nov 1997 18:57:39 +0000 (18:57 +0000)]
Remove ENABLE_REGMOVE_PASS.

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

26 years ago * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
law [Mon, 10 Nov 1997 07:12:10 +0000 (07:12 +0000)]
    * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
        (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.

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

26 years ago * fixinc.svr4 (__STDC__): Add another case.
law [Sun, 9 Nov 1997 09:06:14 +0000 (09:06 +0000)]
    * fixinc.svr4 (__STDC__): Add another case.

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

26 years ago * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
law [Sun, 9 Nov 1997 08:59:55 +0000 (08:59 +0000)]
    * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
        addresses in the epilogue delay slot.

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

26 years ago * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
law [Sun, 9 Nov 1997 08:39:38 +0000 (08:39 +0000)]
    * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
        in generated `specs' file.

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

26 years ago * flags.h (flag_rerun_loop_opt): Declare.
law [Sun, 9 Nov 1997 08:35:46 +0000 (08:35 +0000)]
    * 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.

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

26 years ago * decl.c (add_block_current_level): Delete.
law [Sun, 9 Nov 1997 08:30:34 +0000 (08:30 +0000)]
    * decl.c (add_block_current_level): Delete.
        * init.c (build_vec_delete_1): Delete build_block and
        add_block_current_level calls.

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

26 years agoNew entry.
law [Sun, 9 Nov 1997 05:11:18 +0000 (05:11 +0000)]
New entry.

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

26 years agoSync SH port with FSF; enable regmove for SH.
amylaar [Sat, 8 Nov 1997 19:54:57 +0000 (19:54 +0000)]
Sync SH port with FSF; enable regmove for SH.

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

26 years agofix typo
jason [Sat, 8 Nov 1997 08:51:15 +0000 (08:51 +0000)]
fix typo

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

26 years ago * decl2.c (finish_file): Put back some code.
jason [Fri, 7 Nov 1997 19:58:26 +0000 (19:58 +0000)]
* decl2.c (finish_file): Put back some code.

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

26 years ago * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
jason [Fri, 7 Nov 1997 18:57:39 +0000 (18:57 +0000)]
* frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
  linked once FDEs.

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

26 years agofix typo
jason [Fri, 7 Nov 1997 18:29:13 +0000 (18:29 +0000)]
fix typo

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

26 years ago * decl2.c (finish_file): Remove redundant code.
jason [Fri, 7 Nov 1997 03:37:39 +0000 (03:37 +0000)]
* decl2.c (finish_file): Remove redundant code.
* method.c (emit_thunk): Don't let the backend defer generic thunks.

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

26 years agotweak to be in sync with devo
brendan [Thu, 6 Nov 1997 20:21:18 +0000 (20:21 +0000)]
tweak to be in sync with devo

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

26 years ago * stl_algo.h, stl_algobase.h, stl_bvector.h,
jason [Thu, 6 Nov 1997 19:21:38 +0000 (19:21 +0000)]
* stl_algo.h, stl_algobase.h, stl_bvector.h,
  stl_deque.h: Update to October 28 SGI release.

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

26 years ago * except.c (call_eh_info): Split out...
jason [Thu, 6 Nov 1997 08:02:08 +0000 (08:02 +0000)]
* 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.

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

26 years ago * alias.c (find_base_value): Only return the known base value for
law [Wed, 5 Nov 1997 21:24:45 +0000 (21:24 +0000)]
    * alias.c (find_base_value): Only return the known base value for
        pseudo registers.

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

26 years agoFix i386-linux build failure.
wilson [Wed, 5 Nov 1997 19:29:37 +0000 (19:29 +0000)]
Fix i386-linux build failure.
* i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
* i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
to pattern.
(prologue_get_pc_and_set_got): New pattern.

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

26 years agoNew test.
law [Wed, 5 Nov 1997 08:37:43 +0000 (08:37 +0000)]
New test.

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

26 years ago * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
law [Wed, 5 Nov 1997 03:36:53 +0000 (03:36 +0000)]
    * alpha.c (summarize_insn): Handle ASM_OPERANDS.  Don't recurse
        for SUBREG, just fall through.

        * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.

        * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.

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

26 years ago * fixincludes: Fix "hypot" prototype in NeXT math.h.
law [Wed, 5 Nov 1997 03:09:18 +0000 (03:09 +0000)]
    * fixincludes: Fix "hypot" prototype in NeXT math.h.

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

26 years ago * Makefile.in (USE_ALLOCA): Always include alloca.o.
law [Wed, 5 Nov 1997 02:25:26 +0000 (02:25 +0000)]
    * Makefile.in (USE_ALLOCA): Always include alloca.o.
        (USE_HOST_ALLOCA): Likewise.

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

26 years agoFix alpha-linux GNU libc build failures.
wilson [Wed, 5 Nov 1997 02:08:25 +0000 (02:08 +0000)]
Fix alpha-linux GNU libc build failures.
* combine.c (try_combine): When setting elim_i2, check whether newi2pat
sets i2dest.  When calling distribute_notes for i3dest_killed, pass
elim_i2 and elim_i1.  When setting elim_i1, check if newi2pat
sets i1dest.

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

26 years ago * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
law [Wed, 5 Nov 1997 01:56:33 +0000 (01:56 +0000)]
    * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
        and LABEL_REFS fields.
        * rtl.h (LABEL_REFS): Update.

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

26 years agoFix bitfield insert/extract aliasing problem found by GNAT.
wilson [Wed, 5 Nov 1997 01:49:52 +0000 (01:49 +0000)]
Fix bitfield insert/extract aliasing problem found by GNAT.
* mips.md (insv, extzv, extv): Add change_address call.
(movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.

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

26 years agoFix c++ problem resulting from ADDRESSOF support.
wilson [Wed, 5 Nov 1997 01:15:04 +0000 (01:15 +0000)]
Fix c++ problem resulting from ADDRESSOF support.
* integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.

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

26 years agoBug fix for v850 port.
wilson [Wed, 5 Nov 1997 01:08:08 +0000 (01:08 +0000)]
Bug fix for v850 port.
* reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.

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

26 years agoFix shared library problem found by GNAT users.
wilson [Wed, 5 Nov 1997 00:55:50 +0000 (00:55 +0000)]
Fix shared library problem found by GNAT users.
* mips.c (mips_expand_epilogue): Emit blockage insn before call to
save_restore_insns if no FP and GP will be restored.

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

26 years agoFix nightly testing mips64-elf build failure.
wilson [Wed, 5 Nov 1997 00:50:18 +0000 (00:50 +0000)]
Fix nightly testing mips64-elf build failure.
* dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
Convert CCmode to word_mode before calling GET_MODE_SIZE.

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

26 years agoFix irix5 build problem resulting from FSF merge.
wilson [Wed, 5 Nov 1997 00:30:37 +0000 (00:30 +0000)]
Fix irix5 build problem resulting from FSF merge.
* acconfig.h (HAVE_INTTYPES_H): Undef.
* configure.in (inttypes.h): Check for conflicts between sys/types.h
and inttypes.h, and verify that intmax_t is defined.
* config/mips/x-iris (CC, OPT, OLDCC): Comment out.
* config/mips/x-iris3: Likewise.

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

26 years agoMove test from execute to compile.
law [Tue, 4 Nov 1997 23:21:27 +0000 (23:21 +0000)]
Move test from execute to compile.

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

26 years ago * alias.c (find_base_value): When copying arguments, return the
law [Tue, 4 Nov 1997 23:09:21 +0000 (23:09 +0000)]
    * alias.c (find_base_value): When copying arguments, return the
        tenative value for a hard register.

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

26 years ago * lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
devans [Tue, 4 Nov 1997 21:57:40 +0000 (21:57 +0000)]
* lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
(real_yylex): Record wide strings using target endianness, not host.

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

26 years ago * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
devans [Tue, 4 Nov 1997 21:56:24 +0000 (21:56 +0000)]
* c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
(yylex): Record wide strings using target endianness, not host.

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

26 years ago * mn10200.h (ASM_OUTPUT_BSS): Delete.
law [Tue, 4 Nov 1997 20:38:45 +0000 (20:38 +0000)]
    * mn10200.h (ASM_OUTPUT_BSS): Delete.
        (ASM_OUTPUT_ALIGNED_BSS): New macro
        * mn10300.h (ASM_OUTPUT_BSS): Delete.
        (ASM_OUTPUT_ALIGNED_BSS): New macro.
        * v850.h (ASM_OUTPUT_BSS): Delete.
        (ASM_OUTPUT_ALIGNED_BSS): New macro.

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

26 years ago * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
amylaar [Tue, 4 Nov 1997 02:11:45 +0000 (02:11 +0000)]
* profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.

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

26 years ago * repo.c (rindex): Add decl unconditionally.
brendan [Mon, 3 Nov 1997 23:20:24 +0000 (23:20 +0000)]
* repo.c (rindex): Add decl unconditionally.
(get_base_filename, open_repo_file): Don't cast rindex.
* xref.c (rindex): Add decl unconditionally.
(index): Remove unused decl.
(open_xref_file): Don't cast rindex.

fix potential problems with 64-bit compilers and casting an int up to a char*

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

26 years agoRemove last combine patch. rth & jim are working on a new one.
law [Mon, 3 Nov 1997 21:55:49 +0000 (21:55 +0000)]
Remove last combine patch.  rth & jim are working on a new one.

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

26 years ago * configure.in (sco5): Use cpio to install header files.
law [Mon, 3 Nov 1997 21:40:15 +0000 (21:40 +0000)]
    * configure.in (sco5): Use cpio to install header files.

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

26 years ago * configure.in: Use delta.mt for m68k-motorola-sysv.
law [Mon, 3 Nov 1997 06:33:01 +0000 (06:33 +0000)]
    * configure.in: Use delta.mt for m68k-motorola-sysv.
        * config/delta.mt: New makefile fragment.

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

26 years ago * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
law [Mon, 3 Nov 1997 06:30:09 +0000 (06:30 +0000)]
    * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
        14 char length.
        * configure: Rebuild.

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

26 years ago * combine.c (try_combine): Don't elim_i1 when it is used in i2src.
law [Mon, 3 Nov 1997 06:24:36 +0000 (06:24 +0000)]
    * combine.c (try_combine): Don't elim_i1 when it is used in i2src.

        * combine.c (try_combine): When setting elim_i2, check whether newi2pat
        sets i2dest.  When calling distribute_notes for i3dest_killed, pass
        elim_i2 and elim_i1.

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

26 years agoInitialize I.
law [Mon, 3 Nov 1997 06:11:33 +0000 (06:11 +0000)]
Initialize I.

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

26 years agoNew test.
law [Mon, 3 Nov 1997 06:07:39 +0000 (06:07 +0000)]
New test.

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