OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago2001-04-13 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 13 Apr 2001 09:03:18 +0000 (09:03 +0000)]
2001-04-13  Phil Edwards  <pme@sources.redhat.com>

* include/bits/boost_concept_check.h:  Uglify, fork from Boost.
* include/bits/concept_check.h:  Uglify.
* include/bits/stl_algo.h:  Likewise.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator_base_funcs.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/slist:  Likewise.

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

23 years agoDaily bump.
gccadmin [Fri, 13 Apr 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * pa.c: Formatting and white space fixes throughout file.
amodra [Fri, 13 Apr 2001 05:59:10 +0000 (05:59 +0000)]
* pa.c: Formatting and white space fixes throughout file.
(zdepi_cint_p): Describe zdepi insn.

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

23 years ago * pa.c (hppa_init_pic_save): Set rtx_unchanging for
amodra [Fri, 13 Apr 2001 05:51:45 +0000 (05:51 +0000)]
* pa.c (hppa_init_pic_save): Set rtx_unchanging for
PIC_OFFSET_TABLE_SAVE_RTX.

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

23 years ago * pa.c (uint32_operand): Don't use long constant >= 2^32.
amodra [Fri, 13 Apr 2001 05:48:20 +0000 (05:48 +0000)]
* pa.c (uint32_operand): Don't use long constant >= 2^32.
(emit_move_sequence): Use HOST_WIDE_INT constants.  Don't worry
about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
(compute_movstrsi_length): Make `align' unsigned to avoid warning.
(output_64bit_and): Use plain `int's for shift counts.
(output_64bit_ior): Likewise.
(function_arg_partial_nregs): Use unsigned vars to avoid warnings.
* pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
`N', and simplify.

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

23 years ago * config.guess: Add hppa64-linux support. Note for next import that
amodra [Fri, 13 Apr 2001 05:41:45 +0000 (05:41 +0000)]
* config.guess: Add hppa64-linux support.  Note for next import that
this is already in the master file.
* configure.in: Likewise.  Accept `parisc' alias for `hppa'.

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

23 years ago * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
amodra [Fri, 13 Apr 2001 05:34:06 +0000 (05:34 +0000)]
* pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
* pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
* pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
NEW_HP_ASSEMBLER into one.  Kill warnings.

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

23 years ago * pa-gas.h: Delete file.
amodra [Fri, 13 Apr 2001 05:27:47 +0000 (05:27 +0000)]
* pa-gas.h: Delete file.
* config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.

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

23 years ago * config/pa/mill32.S: New file.
amodra [Fri, 13 Apr 2001 05:19:02 +0000 (05:19 +0000)]
* config/pa/mill32.S: New file.
* config/pa/mill64.S: New file.
* config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
* config/pa/t-linux64: New file.
* config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
(LIB1ASMFUNCS, LIB1ASMSRC): Define.
(TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.

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

23 years agoAdd new files.
amodra [Fri, 13 Apr 2001 05:13:43 +0000 (05:13 +0000)]
Add new files.

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

23 years ago * elfos.h (SELECT_SECTION): Undef before defining.
amodra [Fri, 13 Apr 2001 05:12:12 +0000 (05:12 +0000)]
* elfos.h (SELECT_SECTION): Undef before defining.
* pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
(LIB_SPEC): Remove -lmilli.
(DBX_REGISTER_NUMBER): Remove.
(PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
(DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
TARGET_GAS): Define.
* pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
(function_arg): If TARGET_ELF32, pass fp args in both general and fp
regs if we don't have a prototype.
* pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
* pa.h (TARGET_ELF32): Default to 0 if undefined.
(EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
EH_RETURN_HANDLER_RTX): Define.
* pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
(DWARF_FRAME_REGNUM): Define.
* pa64-regs.h (DWARF_FRAME_REGNUM): Define.
* pa32-linux.h: New file.
* pa64-linux.h: New file.

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

23 years ago * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
amodra [Fri, 13 Apr 2001 05:06:32 +0000 (05:06 +0000)]
* pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
(ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
(LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
* pa64-hpux.h: New file.
(ASM_FILE_START): Correct typo.
(PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
* config.gcc: Modify for above.

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

23 years ago * jump.c (jump_optimize_1): Don't delete dead stores here.
wehle [Fri, 13 Apr 2001 04:10:56 +0000 (04:10 +0000)]
* jump.c (jump_optimize_1): Don't delete dead stores here.
* toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
prior to running jump optimize before cse2.

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

23 years ago * Makefile.in (regmove.o): Depend on except.h.
rth [Fri, 13 Apr 2001 02:52:24 +0000 (02:52 +0000)]
    * Makefile.in (regmove.o): Depend on except.h.
        * remove.c: Include it.

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

23 years ago * testsuite/23_containers/set_operators.cc: Just try to compile.
gdr [Fri, 13 Apr 2001 02:14:11 +0000 (02:14 +0000)]
* testsuite/23_containers/set_operators.cc: Just try to compile.
Mark as XFAIL.
* testsuite/23_containers/map_operators.cc: Same.

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

23 years ago * objc/objc-act.c: Remove all code ifdefed with the never-used
shebs [Fri, 13 Apr 2001 01:42:39 +0000 (01:42 +0000)]
    * objc/objc-act.c: Remove all code ifdefed with the never-used
        macro OBJC_INT_SELECTORS.
        * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
        * tm.texi: Remove doc for OBJC_INT_SELECTORS.

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

23 years ago * cp-tree.h (decl_namespace_list): New macro.
jason [Fri, 13 Apr 2001 00:49:43 +0000 (00:49 +0000)]
    * cp-tree.h (decl_namespace_list): New macro.
        (struct saved_scope): Add decl_ns_list.
        * decl.c (mark_saved_scope): Mark it.
        * decl2.c: Lose static decl_namespace_list.
        (init_decl2): Don't save it.

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

23 years ago * config/pa/quadlib.c: Add prototypes.
law [Fri, 13 Apr 2001 00:12:12 +0000 (00:12 +0000)]
    * config/pa/quadlib.c: Add prototypes.

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

23 years ago * cp-tree.h (warn_return_type, yylex): Delete redundant
ghazi [Thu, 12 Apr 2001 22:31:56 +0000 (22:31 +0000)]
* cp-tree.h (warn_return_type, yylex): Delete redundant
declarations.

* decl.c (current_class_depth, global_namespace): Likewise.

* decl2.c (current_class_depth, flag_gnu_xref): Likewise

* repo.c (flag_use_repository): Likewise.

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

23 years ago * bitmap.h (debug_bitmap): Delete redundant prototype.
ghazi [Thu, 12 Apr 2001 22:27:22 +0000 (22:27 +0000)]
* bitmap.h (debug_bitmap): Delete redundant prototype.

* rtl.h (get_frame_size): Likewise.

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

23 years ago * bad.c (inhibit_warnings): Delete redundant declaration.
ghazi [Thu, 12 Apr 2001 22:18:51 +0000 (22:18 +0000)]
* bad.c (inhibit_warnings): Delete redundant declaration.

* com.c (skip_redundant_dir_prefix): Likewise.

* com.h (mark_addressable): Likewise.

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

23 years agoFix for PR 2498, getf/stf require normalization after a cast.
wilson [Thu, 12 Apr 2001 20:46:19 +0000 (20:46 +0000)]
Fix for PR 2498, getf/stf require normalization after a cast.
* config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
to just emit an fnorm.

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

23 years ago * c-common.h (truthvalue_conversion, type_for_mode,
ghazi [Thu, 12 Apr 2001 18:23:09 +0000 (18:23 +0000)]
* c-common.h (truthvalue_conversion, type_for_mode,
type_for_size): Delete redundant declarations.

* c-lex.h (is_class_name): Likewise.

* c-tree.h (pedantic, convert, getdecls, gettags,
global_bindings_p, init_decl_processing, insert_block,
maybe_build_cleanup, poplevel, print_lang_decl,
print_lang_identifier, print_lang_type, pushdecl, pushlevel,
set_block, incomplete_type_error, build_function_call,
lvalue_or_else, mark_addressable): Likewise.

* expr.h (expand_tree_builtin): Likewise.

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

23 years ago * invoke.texi: Document --param max-gcse-memory.
mmitchel [Thu, 12 Apr 2001 17:05:13 +0000 (17:05 +0000)]
* invoke.texi: Document --param max-gcse-memory.

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

23 years ago * cp-tree.h (pedantic, convert, global_bindings_p, insert_block,
ghazi [Thu, 12 Apr 2001 15:43:32 +0000 (15:43 +0000)]
* cp-tree.h (pedantic, convert, global_bindings_p, insert_block,
set_block, pushdecl, getdecls, gettags, init_decl_processing,
maybe_build_cleanup, copy_lang_decl, prep_stmt, lvalue_p,
lvalue_or_else, print_lang_statistics, comp_target_types,
unsigned_type, signed_type, signed_or_unsigned_type,
build_function_call, mark_addressable, incomplete_type_error):
Delete redundant declarations.

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

23 years ago * configure.in (errno): Check for declaration.
ghazi [Thu, 12 Apr 2001 15:36:24 +0000 (15:36 +0000)]
* configure.in (errno): Check for declaration.
* configure, config.in: Regenerated.

* system.h (errno): Only declare if not already done.

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

23 years ago * cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
jason [Thu, 12 Apr 2001 14:15:48 +0000 (14:15 +0000)]
    * cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
        (TYPE_ANONYMOUS_P): New macro.
        (TAGGED_TYPE_P): New macro.
        * decl.c (check_tag_decl): Use TYPE_ANONYMOUS_P.
        (grokfndecl, grokvardecl, grokdeclarator): Likewise.
        * tree.c (no_linkage_helper): Likewise.
        * semantics.c (begin_class_definition): Likewise.
        * pt.c (convert_template_argument): Likewise.
        * lex.c (check_for_missing_semicolon): Likewise.

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

23 years ago * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
jason [Thu, 12 Apr 2001 13:35:24 +0000 (13:35 +0000)]
    * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
        output_file.
        (dg-test): Revert rth's change.

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

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
aoliva [Thu, 12 Apr 2001 12:28:03 +0000 (12:28 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.

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

23 years agolibffi:
bryce [Thu, 12 Apr 2001 09:32:50 +0000 (09:32 +0000)]
libffi:
* Makefile.am: Make a libtool convenience library.
* Makefile.in: Rebuilt.

libjava:
* java/io/File.java (normalizePath): New private method.
(File (String)): Use normalizePath().
(File (String, String)): Likewise.

* Makefile.am (libffi_files): Removed.
(libgcj.la): Link libffi as a convenience library instead of
refering to its object files directly.
* Makefile.in: Rebuilt.

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

23 years ago * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
nathan [Thu, 12 Apr 2001 07:47:34 +0000 (07:47 +0000)]
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.

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

23 years agocp:
nathan [Thu, 12 Apr 2001 07:44:48 +0000 (07:44 +0000)]
cp:
* class.c (dfs_unshared_virtual_bases): New function.
(mark_primary_bases): Call it.
(check_bases): Ignore virtual bases when determining
nearly-emptiness.
testsuite:
* g++.old-deja/g++.abi/primary3.C (main): Correct expected layout.
* g++.old-deja/g++.abi/crash1.C: New test.

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

23 years agocp:
nathan [Thu, 12 Apr 2001 07:42:17 +0000 (07:42 +0000)]
cp:
* method.c (make_thunk): Clear DECL_CLONED_FUNCTION.
testsuite:
* g++.old-deja/g++.other/crash40.C: New test.

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

23 years agoDaily bump.
gccadmin [Thu, 12 Apr 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago* recog.c (general_operand, immediate_operand,
aoliva [Thu, 12 Apr 2001 05:25:55 +0000 (05:25 +0000)]
* recog.c (general_operand, immediate_operand,
nonmemory_operand): Require CONST_INTs to be sign-extended
values for their modes.

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

23 years ago* expmed.c (store_bit_field): Truncate CONST_INTs.
aoliva [Thu, 12 Apr 2001 03:41:36 +0000 (03:41 +0000)]
* expmed.c (store_bit_field): Truncate CONST_INTs.
(expand_mult_highpart, expand_divmod): Likewise.
* expr.c (convert_modes, store_field): Likewise.
* integrate.c (expand_inline_function): Use promote_mode() to
determine whether to convert_modes() an argument as signed
or unsigned.
* optabs.c (expand_binop): Get CONST_INT operands
sign-extended for their appropriate modes.
* stmt.c (emit_case_nodes): Convert node values to the
appropriate mode.
(expand_end_case): Convert minval and range to the appropriate
mode.
* unroll.c (loop_iterations): Truncate abs_diff to the mode of
the iteration variable.
* varasm.c (immed_double_const): Don't require words to be
narrower than host wide ints to properly sign-extend
CONST_INTs.

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

23 years ago* sh.md (builtin_setjmp_receiver): New expander.
aoliva [Thu, 12 Apr 2001 03:34:07 +0000 (03:34 +0000)]
* sh.md (builtin_setjmp_receiver): New expander.

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

23 years ago* config/rs6000/rs6000.c (rs6000_emit_move): Do not
aoliva [Thu, 12 Apr 2001 03:11:48 +0000 (03:11 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_move): Do not
special-case HOST_BITS_PER_WIDE_INT != 32.  Use same criteria
for generating CONST_INT and CONST_DOUBLE.

* config/rs6000/rs6000.c (logical_operand): CONST_INTs are
already sign-extended.
(rs6000_emit_prologue): Make register iterator signed.
(rs6000_emit_epilogue): Likewise.
* config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
and low.
(movsf split, movdf split): Sign-extend CONST_INTs.
(movdi splits): Likewise.

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

23 years ago* config-lang.in (lang_dirs): Add in zlib.
aoliva [Thu, 12 Apr 2001 03:06:00 +0000 (03:06 +0000)]
* config-lang.in (lang_dirs): Add in zlib.

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

23 years ago* config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
aoliva [Thu, 12 Apr 2001 02:59:43 +0000 (02:59 +0000)]
* config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
operands that make it to RTL.

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

23 years ago * MAINTAINERS: Add self as Darwin port maintainer.
shebs [Thu, 12 Apr 2001 02:19:48 +0000 (02:19 +0000)]
   * MAINTAINERS: Add self as Darwin port maintainer.

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

23 years ago Add Darwin (Mac OS X kernel) native support.
shebs [Thu, 12 Apr 2001 02:13:00 +0000 (02:13 +0000)]
    Add Darwin (Mac OS X kernel) native support.
        * config.gcc (powerpc-*-darwin*): Add native bits.
        * config/darwin.c: New file, generic Darwin support functions.
        * config/darwin.h: New file, generic Darwin definitions.
        * config/darwin-protos.h: New file, generic Darwin prototypes.
        * rs6000/darwin.h: New file, Darwin for PowerPC.
        * rs6000/t-darwin: New file, Darwin makefile fragment.
        * rs6000/rs6000.h (OBJECT_MACHO): New macro.
        (TARGET_MACHO): Ditto.
        (rs6000_abi): Add ABI_DARWIN.
        (RS6000_REG_SAVE): Add ABI_DARWIN case.
        (RS6000_SAVE_AREA): Ditto.
        (FP_ARG_MAX_REG): Ditto.
        (RETURN_ADDRESS_OFFSET): Ditto.
        * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
        cases.
        (rs6000_emit_move): Add ABI_DARWIN cases.
        (print_operand): Ditto.
        (first_reg_to_save): Ditto.
        (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
        (debug_stack_info): Ditto.
        (rs6000_emit_prologue): Ditto.
        (rs6000_emit_epilogue): Ditto.
        (output_profiler_hook): Ditto.
        (output_function_profiler): Ditto.
        (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
        (output_mi_thunk): Add TARGET_MACHO case.
        (add_compiler_stub): Ditto.
        (output_compiler_stub): Ditto.
        (no_previous_def): Ditto.
        (output_call): Ditto.
        (machopic_output_stub): Ditto.
        (rs6000_machopic_legitimize_pic_address): Ditto.
        (toc_section): Ditto.
        * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
        (macho_high): Ditto.
        (macho_low): Ditto.
        (movsi_low): Ditto.
        (load_macho_picbase): Ditto.
        (call): Add TARGET_MACHO case to modify function.
        (call_value): Ditto.
        (call_nonlocal_sysv): Add ABI_DARWIN case.
        (call_value_nonlocal_sysv): Ditto.
        * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
        Add prototype.
        (machopic_output_stub): Ditto.
        * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.

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

23 years ago * dwarf2out.c (modified_type_die): Don't create new types here.
mmitchel [Thu, 12 Apr 2001 01:44:21 +0000 (01:44 +0000)]
* dwarf2out.c (modified_type_die): Don't create new types here.
* tree.h (get_qualified_type): New function.
(build_qualified_type): Adjust comment.
* tree.c (get_qualified_type): New function.
(build_qualified_type): Use it.

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

23 years ago * testsuite/README: Add DejaGnu specific documentation.
gdr [Wed, 11 Apr 2001 23:42:57 +0000 (23:42 +0000)]
* testsuite/README: Add DejaGnu specific documentation.

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

23 years ago * cpp.texi (-Wtraditional): Update description.
ghazi [Wed, 11 Apr 2001 21:46:28 +0000 (21:46 +0000)]
* cpp.texi (-Wtraditional): Update description.

* invoke.texi (-Wtraditional): Likewise.

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

23 years ago * gcc.c-torture/execute/20010122-1.c: Fix declaration of alloca.
ghazi [Wed, 11 Apr 2001 20:31:15 +0000 (20:31 +0000)]
* gcc.c-torture/execute/20010122-1.c: Fix declaration of alloca.

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

23 years agoFix PR 2520, a problem with structure parameter passing.
wilson [Wed, 11 Apr 2001 20:19:43 +0000 (20:19 +0000)]
Fix PR 2520, a problem with structure parameter passing.
* config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
requires more than 64 bits of alignment.

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

23 years ago * optimize.c (maybe_clone_body): Copy DECL_NUM_STMTS from the
mmitchel [Wed, 11 Apr 2001 19:45:49 +0000 (19:45 +0000)]
* optimize.c (maybe_clone_body): Copy DECL_NUM_STMTS from the
cloned function to the clone.

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

23 years ago * cpplib.c (do_line): Sanity check iff enable checking.
neil [Wed, 11 Apr 2001 19:28:23 +0000 (19:28 +0000)]
* cpplib.c (do_line): Sanity check iff enable checking.

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

23 years agoTypo fix.
amylaar [Wed, 11 Apr 2001 19:16:01 +0000 (19:16 +0000)]
Typo fix.

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

23 years ago2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 11 Apr 2001 18:52:31 +0000 (18:52 +0000)]
2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4: AC_CHECK_TOOL for expect.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (RUNTEST): Use substituted.
(EXPECT): Same.

* configure.in: Remove xcompiling substitution.
* tests_flags.in (CROSS_LIB_PATH): Remove.
(xcompiling): Remove.
(CXX): Use substituted CXX.

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

23 years ago * Makefile.in (insn-recog.o): Depend on toplev.h.
rth [Wed, 11 Apr 2001 18:36:50 +0000 (18:36 +0000)]
    * Makefile.in (insn-recog.o): Depend on toplev.h.
        (insn-emit.o, doloop.o): Likewise.
        * genrecog.c, genemit.c: Include toplev.h in generated file.
        * doloop.c: Include toplev.h.

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

23 years ago * Makefile.in (gcse.o): Depend on params.h.
mmitchel [Wed, 11 Apr 2001 18:22:46 +0000 (18:22 +0000)]
* Makefile.in (gcse.o): Depend on params.h.
* gcse.c: Include params.h.
(gcse_main): Don't do GCSE if doing so will take inordinate
amounts of memory.
* params.def (PARAM_MAX_GCSE_MEMORY): New  parameter.
* params.h (MAX_GCSE_MEMORY): New macro.

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

23 years ago * Makefile.in (insn-output.o): Depend on $(EXPR_H).
ghazi [Wed, 11 Apr 2001 15:57:31 +0000 (15:57 +0000)]
* Makefile.in (insn-output.o): Depend on $(EXPR_H).

* genoutput.c (output_prologue): Include expr.h in insn-output.c.

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

23 years ago * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
ghazi [Wed, 11 Apr 2001 15:53:46 +0000 (15:53 +0000)]
* output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.

* real.h (ereal_atof, real_value_truncate, target_isnan,
target_isinf, target_negative, assemble_real, debug_real): Delete
redundant prototypes.

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

23 years ago * Makefile.in (ifcvt.o): Depend on toplev.h.
ghazi [Wed, 11 Apr 2001 15:51:55 +0000 (15:51 +0000)]
* Makefile.in (ifcvt.o): Depend on toplev.h.

* c-semantics.c: Include expr.h.

* ifcvt.c: Include toplev.h.

* expr.h (rtx_equal_p): Delete prototype.

* rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
eliminate_constant_term, expand_complex_abs, find_single_use,
make_tree, init_expr_once, init_optabs, supports_one_only):
Likewise.

* tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
expand_assignment, store_expr, emit_line_note_after,
emit_line_note_force, split_specs_attrs, label_rtx): Likewise.

* toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.

cp:
* Make-lang.in (cp/semantics.o): Depend on $(EXPR_H).

* semantics.c: Include expr.h.

java:
* Make-lang.in (java/boehm.o): Depend on toplev.h.

* boehm.c: Include toplev.h.

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

23 years ago * sparc-protos.h: Delete redundant prototypes.
ghazi [Wed, 11 Apr 2001 15:48:45 +0000 (15:48 +0000)]
* sparc-protos.h: Delete redundant prototypes.

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

23 years ago2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
vmakarov [Wed, 11 Apr 2001 14:13:13 +0000 (14:13 +0000)]
2001-04-11  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>

* reload.c (push_reload):  Add condition missed in SUBREG byte
offset patch.

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

23 years ago * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
jakub [Wed, 11 Apr 2001 13:00:49 +0000 (13:00 +0000)]
* sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.

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

23 years ago * i386.md (floatsisf_sse): Fix output template
hubicka [Wed, 11 Apr 2001 12:10:22 +0000 (12:10 +0000)]
* i386.md (floatsisf_sse): Fix output template
* i386.c (ix86_expand_fp_movcc)

* reg-stack.c (emit_pop_insn): Handle complex modes.
(move_for_stack_reg): Emit proper move mode.
(subst_stack_regs_pat): Handle complex modes.

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

23 years ago * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
jakub [Wed, 11 Apr 2001 09:43:10 +0000 (09:43 +0000)]
* cpplex.c (_cpp_lex_token): Only warn if -Wcomment.

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

23 years agoupdate my mail address
amodra [Wed, 11 Apr 2001 09:02:47 +0000 (09:02 +0000)]
update my mail address

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

23 years agocp:
nathan [Wed, 11 Apr 2001 08:43:16 +0000 (08:43 +0000)]
cp:
* method.c (implicitly_declare_fn): Commonize code for copy ctor
and assignment op. Set TREE_USED for parameter.
testsuite:
* g++.old-deja/g++.other/warn6.C: New test.

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

23 years agoDaily bump.
gccadmin [Wed, 11 Apr 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * libgcc2.h (__terminate_func_ptr): Remove typedef.
rth [Wed, 11 Apr 2001 06:16:18 +0000 (06:16 +0000)]
    * libgcc2.h (__terminate_func_ptr): Remove typedef.
        (__pure_virtual, __terminate, __terminate_set_func,
        __default_terminate, __throw_type_match, __empty,
        __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
        __eh_rtime_match, __unwinding_cleanup, __rethrow,
        __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
        Remove prototypes of deleted functions.

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

23 years ago22001-04-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Wed, 11 Apr 2001 05:43:51 +0000 (05:43 +0000)]
22001-04-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * g++.old-deja/g++.robertl/eb42.C: Same.

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

23 years ago2001-04-10 Loren J. Rittle <ljrittle@acm.org>
ljrittle [Wed, 11 Apr 2001 05:25:00 +0000 (05:25 +0000)]
2001-04-10  Loren J. Rittle  <ljrittle@acm.org>

* ltcf-cxx.sh: Support creation of C++ shared libraries on
recent versions of FreeBSD (release 3 or later).
* ltconfig: On FreeBSD, -lc must not be provided when building
a shared library or else the standard -pthread gcc option is
rendered worthless to later users of the built library.

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

23 years ago * Makefile.in (clean): Remove built leftovers.
mrs [Wed, 11 Apr 2001 00:05:16 +0000 (00:05 +0000)]
* Makefile.in (clean): Remove built leftovers.

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

23 years ago * testsuite/lib/libstdc++.exp (dg-test): Explicitly run
rth [Wed, 11 Apr 2001 00:03:51 +0000 (00:03 +0000)]
    * testsuite/lib/libstdc++.exp (dg-test): Explicitly run
        the program in the current directory.

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

23 years ago * java/lang/natString.cc (_Jv_NewStringUtf8Const): Register finalizer.
bothner [Tue, 10 Apr 2001 22:46:11 +0000 (22:46 +0000)]
* java/lang/natString.cc (_Jv_NewStringUtf8Const):  Register finalizer.
Recalculate hash, since Utf8Const's hash is only 16 bits.

* java/lang/natString.cc (_Jv_StringFindSlot, rehash):  Use high-order
bits of hash to calculate step for chaining.

* java/lang/natString.cc (intern, _Jv_NewStringUtf8Const):  Rehash
when 2/3 full, rather than 3/4 full.

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

23 years ago * c-typeck.c (convert_arguments): -Wtraditional now activates
ghazi [Tue, 10 Apr 2001 22:40:48 +0000 (22:40 +0000)]
* c-typeck.c (convert_arguments): -Wtraditional now activates
-Wconversion warnings, except for changes in signed-ness.
Detect complex<->int & int<->complex conversions as well.

* invoke.texi (-Wtraditional): Document it.

testsuite:
* gcc.dg/wtr-conversion-1.c: New testcase.

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

23 years agoNew.
rth [Tue, 10 Apr 2001 22:22:06 +0000 (22:22 +0000)]
New.

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

23 years agoNew.
rth [Tue, 10 Apr 2001 22:22:06 +0000 (22:22 +0000)]
New.

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

23 years ago * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
kenner [Tue, 10 Apr 2001 21:45:12 +0000 (21:45 +0000)]
* gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
* flow.c (set_block_for_new_insns): Remove needless cast and
properly check for unset block number.

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

23 years ago * class.c (find_final_overrider_data): Add `candidates'.
mmitchel [Tue, 10 Apr 2001 18:06:26 +0000 (18:06 +0000)]
* class.c (find_final_overrider_data): Add `candidates'.
(dfs_find_final_overrider): Don't issue error messages
prematurely.
(find_final_overrider): Issue error messages here.
(build_base_field): Don't warn about amgibuous direct bases here.
(warn_about_ambiguous_direct_bases): New function.
(layout_class_type): Use it.

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

23 years ago * typeck.c (build_array_ref): Push the array reference inside
rth [Tue, 10 Apr 2001 16:49:29 +0000 (16:49 +0000)]
    * typeck.c (build_array_ref): Push the array reference inside
        COMPOUND_EXPR and COND_EXPR.

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

23 years agotweak comments
jason [Tue, 10 Apr 2001 15:48:11 +0000 (15:48 +0000)]
tweak comments

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

23 years ago * libjava.lang/pr83.xfail: Removed.
tromey [Tue, 10 Apr 2001 14:27:41 +0000 (14:27 +0000)]
* libjava.lang/pr83.xfail: Removed.
* libjava.lang/Shazam.xfail: Removed.
* libjava.lang/PR162.xfail: Removed.
* libjava.compile/PR375.xfail: Removed.
* libjava.compile/PR208.xfail: Removed xfail-byte.
* libjava.compile/PR207.xfail: Removed xfail-byte.

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

23 years agoDaily bump.
gccadmin [Tue, 10 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago2001-04-10 Andrew MacLeod <amacleod@redhat.com>
amacleod [Tue, 10 Apr 2001 02:47:32 +0000 (02:47 +0000)]
2001-04-10  Andrew MacLeod  <amacleod@redhat.com>

* function.c (purge_single_hard_subreg_set): Only check REGNO if
the subreg was a hard register. Pseudos are left as subregs.

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

23 years ago 2001-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 9 Apr 2001 23:43:06 +0000 (23:43 +0000)]
    2001-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
        (LIB2ADD_ST): New macro, pass it to mklibgcc.
        * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
        (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
        * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.

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

23 years ago2001-04-09 Bo Thorsen <bo@suse.co.uk>
kazu [Mon, 9 Apr 2001 18:54:58 +0000 (18:54 +0000)]
2001-04-09  Bo Thorsen  <bo@suse.co.uk>

* config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 17:30:06 +0000 (17:30 +0000)]
2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

* output.h (set_block_num): Missed it earlier, remove deprecated
prototype.

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 15:20:26 +0000 (15:20 +0000)]
2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

* gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
(load_killed_in_block_p): Change bb parameter from int to basic_block.
(oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
(handle_rd_kill_set): Change bb parameter from int to basic_block.
(compute_kill_rd): Pass basic_blocks instead of ints as parameters.
(expr_killed_p): Change bb parameter from int to basic_block, pass
basic_blocks instead of ints as parameters.
(compute_ae_kill): Pass basic_blocks instead of ints as parameters.
(expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
from int to basic_block, pass basic_blocks instead of ints as parms.
(pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
parameter from int to basic_block, pass basic_blocks instead of ints.
(process_insert_insn): Pass basic_blocks instead of ints as parameters.
(insert_insn_end_bb): Change bb parameter from int to basic_block,
pass basic_blocks instead of ints.
(pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
basic_blocks instead of ints as parameters.
(pre_delete): Pass basic_blocks instead of ints as parameters.
(hoist_expr_reaches_here_p): Change bb parameter from int to
basic_block, pass basic_blocks instead of ints.
(hoist_code): Pass basic_blocks instead of ints as parameters.
(reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
Change bb parameter from int to basic_block.
(build_store_vectors): Pass basic_blocks instead of ints as parameters.
(insert_insn_start_bb): Change bb parameter from int to basic_block,
pass basic_blocks instead of ints.
(insert_store): Pass basic_blocks instead of ints as parameters.
(replace_store_insn, delete_store): Change bb parameter from int to
basic_block, pass basic_blocks instead of ints.
(store_motion): Pass basic_blocks instead of ints as parameters.

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 15:17:08 +0000 (15:17 +0000)]
2001-04-09  Andrew MacLeod  <amacleod@redhat.com>

* basic-block.h (set_new_block_for_insns): New Prototype.
(set_block_num): Delete prototype.
* flow.c (set_block_num): Remove obsolete function.
(set_block_for_new_insns): Set BB for single or multiple insns.
* gcse.c (handle_avail_expr): Use set_block_for_new_insns.
(process_insn_end_bb): Use set_block_for_new_insns or
set_block_for_insn instead of set_block_num.
(pre_insert_copy_insn): Use set_block_for_new_insns.
(update_ld_motion_stores): Use set_block_for_new_insns.
(insert_insn_start_bb): Use set_block_for_new_insns.
(replace_store_insn): Use set_block_for_new_insns.

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

23 years ago2001-04-09 Andrew MacLeod <amacleod@redhat.com>
amacleod [Mon, 9 Apr 2001 14:27:05 +0000 (14:27 +0000)]
2001-04-09  Andrew MacLeod  <amacleod@redhat.com>
    Jeff Law  <law@cygnus.com>

* alias.c (get_addr): Externalize.
(canon_true_dependence): New function. Behaves like true_dependance
except it already assumes a MEM has been canonicalized.
* flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
* gcse.c (struct ls_expr): Add load/store expressions structure.
(modify_mem_list, canon_modify_mem_list): New variable.
(gcse_main): Initialize & finalize alias analysis. Use enhanced
load motion and store motion if requested.
(alloc_gcse_mem): Allocate space for modify_mem_list array.
(free_gcse_mem): Free the modify_mem_list array.
(oprs_unchanged_p): Use load_killed_in_block_p.
(gcse_mems_conflict_p, gcse_mem_operand): New variables.
(mems_conflict_for_gcse_p): New function.  Don't kill loads
with stores to themselves if its in the load/store expression list.
(load_killed_in_block_p): New function.
(canon_list_insert): New Function.
(record_last_mem_set_info): Keep a list of all instructions which
can modify memory for each basic block.
(compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
(oprs_not_set_p): Use load_killed_in_block_p.
(mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
(expr_killed_p): Use load_killed_in_block_p.
(compute_transp): Do not pessimize memory references.
(pre_edge_insert): Update stores for a load motion expression.
(one_pre_gcse_pass): Check loads/stores for extra load motion.
(ldst_entry): Find or create a ldst_expr structure.
(free_ldst_entry): Free memory for an individual item.
(free_ldst_mems): Free entire load/store expression list.
(print_ldst_list): Print debug info.
(find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
(enumerate_ldsts): Assign integer values to each entry in list.
(first_ls_expr): First expression in the list.
(next_ls_expr): Next expression in the list.
(simple_mem): Check if expression qualifies for ld/st expression list.
(invalidate_any_buried_refs): Remove from expression list if its
used in some other way we dont understand.
(compute_ld_motion_mems): Find all potential enhanced load motion
expression.
(trim_ld_motion_mems): Remove any expressions which are invalid.
(update_ld_motion_stores): Copy store values to registers for loads
which have been moved.
(regvec, st_antloc, num_store): New global statics.
(reg_set_info): Marks registers as set.
(store_ops_ok): Verfies registers expressions are valid in a block.
(find_moveable_store): Look for moveable stores in a pattern.
(compute_store_table): Find stores in a function worth moving, maybe.
(load_kills_store): Check dependance of a load and store.
(find_loads): Find any loads in a pattern.
(store_killed_in_insn): Check if a store is killed in an insn.
(store_killed_after): Check is store killed after an insn in a block.
(store_killed_before): Check is store killed before an insn in a block.
(build_store_vectors): Generate the antic and avail vectors.
(insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
(insert_store): Add a store to an edge.
(replace_store_insn): Replace a store with a SET insn.
(delete_store): Delete a store insn.
(free_store_memory): Free memory.
(store_motion): Perform store motion.
* invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
* rtl.h (get_addr, canon_true_dependence): Add prototypes.
* toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
(f_options): Add gcse-lm and gcse-sm.

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

23 years ago * i386.c (expand_fp_movcc): Fix condition reversal code.
hubicka [Mon, 9 Apr 2001 14:22:37 +0000 (14:22 +0000)]
* i386.c (expand_fp_movcc): Fix condition reversal code.

* i386.c (ix86_register_move_cost): Fix handling of reformating penalty
* i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
(CLASS_MAX_NREGS): Use it.

* i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
handle properly complex values.
(CLASS_MAX_NREGS): Likewise; update comment.

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

23 years ago(oops. only checked in ChangeLog previously)
cgf [Mon, 9 Apr 2001 14:20:13 +0000 (14:20 +0000)]
(oops.  only checked in ChangeLog previously)
* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Remove include of sys/cygwin.h.

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

23 years agoSpeed up ia64 compilations
bernds [Mon, 9 Apr 2001 13:54:08 +0000 (13:54 +0000)]
Speed up ia64 compilations

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

23 years ago * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
hubicka [Mon, 9 Apr 2001 13:10:22 +0000 (13:10 +0000)]
* i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
Do not require source to match destination anymore;
Add abort to the nontrivial cases that should be handled by split.
(fix_trunc?fdi): Add SSE case for x86_64.
(floatdi?f): Likewise.
(floatdi?f_sse): New.
(fix_trunc?fdi_sse): New.

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

23 years ago * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
jason [Mon, 9 Apr 2001 11:56:21 +0000 (11:56 +0000)]
    * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
        (DEBUG_ARANGES_END_LABEL): Ditto.
        (dwarfout_init): Generate length and version fields at the start
        of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
        after the length field.
        (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
        the .debug_aranges info.

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

23 years ago * i386.c (call, call_value): Make sure that resulting call_insn
hubicka [Mon, 9 Apr 2001 11:18:39 +0000 (11:18 +0000)]
* i386.c (call, call_value): Make sure that resulting call_insn
does have proper second operand.

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

23 years agoDaily bump.
gccadmin [Mon, 9 Apr 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
cgf [Mon, 9 Apr 2001 02:52:11 +0000 (02:52 +0000)]
* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function.
Remove include of sys/cygwin.h.

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

23 years ago* config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
cgf [Mon, 9 Apr 2001 02:50:34 +0000 (02:50 +0000)]
* config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
(CPP_SPEC): Always search */include/w32api for header files.
(ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
(LINK_SPEC): Add "cyg" to the library search prefixes.

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

23 years ago 2001-04-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 8 Apr 2001 23:49:43 +0000 (23:49 +0000)]
    2001-04-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * gcc.c-torture/compile/20010408-1.c: New test.

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

23 years ago2001-04-08 Philip Blundell <philb@gnu.org>
pb [Sun, 8 Apr 2001 19:55:04 +0000 (19:55 +0000)]
2001-04-08  Philip Blundell  <philb@gnu.org>

* config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.

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

23 years ago * include/bits/std_valarray.h(valarray<>::operator[]): Make
gdr [Sun, 8 Apr 2001 16:20:49 +0000 (16:20 +0000)]
  * include/bits/std_valarray.h(valarray<>::operator[]): Make
      inline.

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

23 years ago * cpperror.c (print_location): Don't special case <stdin>.
neil [Sun, 8 Apr 2001 10:01:18 +0000 (10:01 +0000)]
* cpperror.c (print_location): Don't special case <stdin>.
(_cpp_begin_message): Handle WARNING_SYSHDR the same as
WARNING, but we don't check if we're in system headers.
* cpplib.h (enum error_type): WARNING_SYSHDR: New.
* cpplib.c (do_warning): Warn in system headers.

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

23 years agoDaily bump.
gccadmin [Sun, 8 Apr 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.

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