OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build
tromey [Mon, 18 Mar 2002 21:39:09 +0000 (21:39 +0000)]
* libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build
tree.
(gcj_invoke): Added ld_library_additions argument.

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

22 years agoMissed ChangeLog entry in checkin.
echristo [Mon, 18 Mar 2002 20:48:14 +0000 (20:48 +0000)]
Missed ChangeLog entry in checkin.

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

22 years ago PR c++/3882
jason [Mon, 18 Mar 2002 20:19:39 +0000 (20:19 +0000)]
    PR c++/3882
        * pt.c (tsubst_decl): Move __PRETTY_FUNCTION__ handling...
        (tsubst_expr) [DECL_STMT]: ...here. And substitute the initializer
        only after recording the declaration.

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

22 years ago2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
tromey [Mon, 18 Mar 2002 19:52:14 +0000 (19:52 +0000)]
2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>

* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
seen.

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

22 years ago PR c++/2039
jason [Mon, 18 Mar 2002 19:44:29 +0000 (19:44 +0000)]
    PR c++/2039
        * init.c (resolve_offset_ref): Hand off to build_component_ref.

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

22 years ago2002-03-18 Alexandre Petit-Bianco <apbianco@redhat.com>
tromey [Mon, 18 Mar 2002 19:38:35 +0000 (19:38 +0000)]
2002-03-18  Alexandre Petit-Bianco  <apbianco@redhat.com>

* builtins.c (define_builtin): Do nothing if `type' is null.
Fixes PR java/5876.

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

22 years ago* config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
aoliva [Mon, 18 Mar 2002 19:17:27 +0000 (19:17 +0000)]
* config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
a register too.
(anddi3, iorsi3): Likewise.

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

22 years ago* config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
aoliva [Mon, 18 Mar 2002 19:15:24 +0000 (19:15 +0000)]
* config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
use %gprel for symbols that are going to be placed in linkonce
sections.

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

22 years ago* config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
aoliva [Mon, 18 Mar 2002 19:12:50 +0000 (19:12 +0000)]
* config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
RETURN_ADDRESS_POINTER_REGNUM to $ra.
(CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
not needed.  Disregard leaf_function_p().
(INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
mips16 frame pointer.
* config/mips/mips.md (store ra): Only to small SP offsets.
2001-08-22  Graham Stott  <grahams@redhat.com>
* config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
return a REG rtx for the return address register.

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

22 years ago * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
bwilson [Mon, 18 Mar 2002 18:20:19 +0000 (18:20 +0000)]
    * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
        constant-pool addresses as "mode-dependent".
        (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.

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

22 years ago2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
aph [Mon, 18 Mar 2002 17:11:43 +0000 (17:11 +0000)]
2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>

        * include/i386-signal.h (old_i386_kernel_sigaction): New.
        INIT_SEGV: Use old_i386_kernel_sigaction.
        INIT_FP: Likewise.

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

22 years ago PR c++/4222, c++/5995
jason [Mon, 18 Mar 2002 16:55:11 +0000 (16:55 +0000)]
    PR c++/4222, c++/5995
        * call.c (build_over_call): Fix empty class logic.

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

22 years ago PR target/5740
jakub [Mon, 18 Mar 2002 15:08:31 +0000 (15:08 +0000)]
PR target/5740
* expr.c (emit_group_load): Use extract_bit_field if
needed for CONCAT arguments.

* g++.dg/opt/conj1.C: New test.

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

22 years ago PR c++/3870
jason [Mon, 18 Mar 2002 14:36:19 +0000 (14:36 +0000)]
    PR c++/3870
        * cp-tree.h (struct saved_scope): Add last_parms field.
        * decl.c (maybe_push_to_top_level): Save last_function_parms.
        (pop_from_top_level): Restore it.

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

22 years ago PR c++/4377
jason [Mon, 18 Mar 2002 13:38:00 +0000 (13:38 +0000)]
    PR c++/4377
        * mangle.c (write_expression): Strip NOP_EXPRs sooner.  Also strip
        NON_LVALUE_EXPRs.

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

22 years ago PR c++/4003
jason [Mon, 18 Mar 2002 13:27:03 +0000 (13:27 +0000)]
    PR c++/4003
        * pt.c (tsubst_friend_function): Use decl_namespace_context.

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

22 years ago PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
jason [Mon, 18 Mar 2002 11:34:31 +0000 (11:34 +0000)]
    PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
        * class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

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

22 years agoPR target/4863
rearnsha [Mon, 18 Mar 2002 11:27:39 +0000 (11:27 +0000)]
PR target/4863
* arm.md (tablejump): Make this a define_expand.  For PIC add the
offset to the base of the table.
(thumb_tablejump): Matcher for Thumb tablejump insn.
* config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
as the difference of two labels.
* config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
tables in the code.
* config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
* arm.c (get_jump_table_size): If the table is not in the text
section, return zero.

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

22 years ago* arm.md (tablejump): Make this a define_expand. For PIC add the
rearnsha [Mon, 18 Mar 2002 11:26:24 +0000 (11:26 +0000)]
* arm.md (tablejump): Make this a define_expand.  For PIC add the
offset to the base of the table.
(thumb_tablejump): Matcher for Thumb tablejump insn.
* config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
as the difference of two labels.
* config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
tables in the code.
* config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
* arm.c (get_jump_table_size): If the table is not in the text
section, return zero.

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

22 years ago PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
jason [Mon, 18 Mar 2002 11:24:24 +0000 (11:24 +0000)]
    PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
        * class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

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

22 years ago * jartool.c (expand_options): Handle tar-style argument list with a
bryce [Mon, 18 Mar 2002 11:08:21 +0000 (11:08 +0000)]
* jartool.c (expand_options): Handle tar-style argument list with a
leading "-".

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

22 years ago2002-03-15 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 18 Mar 2002 10:47:15 +0000 (10:47 +0000)]
2002-03-15  Philipp Thomas  <pthomas@suse.de>

* include/backward/hash_map.h: hash, hashtable, hash_map and
hash_multimap are in namespace __gnu_cxx.
include/backward/hash_set.h: hash, hashtable, hash_set and
hash_multiset are in namespace __gnu_cxx.
include/backward/hashtable.h: hash and hashtable are in
namespace __gnu_cxx.
include/backward/rope.h: char_producer, sequence_buffer,
rope, crope and wrope are in namespace __gnu_cxx.
include/backward/slist.h: slist is in namespace __gnu_cxx.
* testsuite/backward/header_hash_map_h.cc
testsuite/backward/header_hash_set_h.cc
testsuite/backward/header_hashtable_h.cc
testsuite/backward/header_rope_h.cc
testsuite/backward/header_slist_h.cc
testsuite/backward/header_tempbuf_h.cc: New tests for
checking that we're using the correct namespace.

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

22 years ago * parse.y (parser_check_super_interface): Fix error message
bryce [Mon, 18 Mar 2002 10:41:01 +0000 (10:41 +0000)]
* parse.y (parser_check_super_interface): Fix error message
grammar/order.

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

22 years agofix spelling typo in previous ChnageLog entry.
nickc [Mon, 18 Mar 2002 10:21:43 +0000 (10:21 +0000)]
fix spelling typo in previous ChnageLog entry.

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

22 years agoFix big-endian code generation
nickc [Mon, 18 Mar 2002 10:20:29 +0000 (10:20 +0000)]
Fix big-endian code generation

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

22 years agoDaily bump.
gccadmin [Mon, 18 Mar 2002 08:18:41 +0000 (08:18 +0000)]
Daily bump.

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

22 years ago * g++.dg/template/qualttp20.C: Revert previous change.
mmitchel [Mon, 18 Mar 2002 07:39:24 +0000 (07:39 +0000)]
* g++.dg/template/qualttp20.C: Revert previous change.
* g++.dg/template/qualttp3.C: Likewise.
* g++.dg/template/qualttp4.C: Likewise
* g++.dg/template/qualttp5.C: Likewise
* g++.dg/template/qualttp6.C: Likewise
* g++.dg/template/qualttp7.C: Likewise
* g++.dg/template/qualttp8.C: Likewise
* g++.dg/template/recurse.C: Likewise.

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

22 years ago * java/lang/natSystem.cc (init_properties): Update VM version
bryce [Mon, 18 Mar 2002 06:19:03 +0000 (06:19 +0000)]
* java/lang/natSystem.cc (init_properties): Update VM version
properties.
* configure.in: Set GCJVERSION.
* acconfig.h: Add GCJVERSION.
* configure: Rebuilt.
* include/config.h.in: Rebuilt.

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

22 years ago2002-03-18 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 18 Mar 2002 04:20:17 +0000 (04:20 +0000)]
2002-03-18  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
        any_operand.

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

22 years ago * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
rth [Mon, 18 Mar 2002 03:06:05 +0000 (03:06 +0000)]
    * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
        explicitly.

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

22 years ago * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
hp [Mon, 18 Mar 2002 01:20:14 +0000 (01:20 +0000)]
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
(unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).

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

22 years ago * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
ghazi [Mon, 18 Mar 2002 00:16:50 +0000 (00:16 +0000)]
* ifcvt.c (dead_or_predicable): Fix uninitialized variable.

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

22 years ago PR c++/4381
jason [Mon, 18 Mar 2002 00:09:37 +0000 (00:09 +0000)]
    PR c++/4381
        * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
        (check_exception_spec): Call it.  Take the thrown pointer.
        (__cxa_call_unexpected): Pass it.
        (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.

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

22 years ago * predict.c (estimate_bb_frequencies): Delete unused variables.
ghazi [Mon, 18 Mar 2002 00:07:53 +0000 (00:07 +0000)]
* predict.c (estimate_bb_frequencies): Delete unused variables.

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

22 years ago * jcf-parse.c (get_constant): Delete unused variables.
ghazi [Mon, 18 Mar 2002 00:01:24 +0000 (00:01 +0000)]
* jcf-parse.c (get_constant): Delete unused variables.

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

22 years ago PR c++/4460
jason [Mon, 18 Mar 2002 00:00:14 +0000 (00:00 +0000)]
    PR c++/4460
        * class.c (build_base_path): Virtual base layout is fixed in
        in-charge [cd]tors.

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

22 years ago * com.h (ffe_parse_file): Prototype.
ghazi [Sun, 17 Mar 2002 23:52:16 +0000 (23:52 +0000)]
* com.h (ffe_parse_file): Prototype.

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

22 years agofix comment typo
jason [Sun, 17 Mar 2002 23:47:02 +0000 (23:47 +0000)]
fix comment typo

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

22 years ago * config/ia64/ia64.c (ia64_attribute_table): Move before
rth [Sun, 17 Mar 2002 20:44:59 +0000 (20:44 +0000)]
    * config/ia64/ia64.c (ia64_attribute_table): Move before
        targetm definition.  Make static.

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

22 years ago * c-common.h (yyparse, c_common_parse_file): New.
neil [Sun, 17 Mar 2002 20:41:46 +0000 (20:41 +0000)]
* c-common.h (yyparse, c_common_parse_file): New.
* c-lang.c: Include c-common.h.
(LANG_HOOKS_PARSE_FILE): Redefine.
* c-lex.c: Include c-common.h.
(yyparse): Rename c_common_parse_file.  Call yyparse.
* c-parse.in (yyparse): Remove macro.
* c-tree.h (yyparse_1): Remove.
* langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hoooks): New hook parse_file.
* toplev.c (compile_file): Use parse_file hook.
* tree.h (yyparse): Remove.
ada:
* misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
(yyparse): Rename gnat_parse_file.
cp:
* cp-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
* parse.y (yyparse): Remove macro.
f:
* com.c (LANG_HOOKS_PARSE_FILE): Redefine.
* com.h (ffe_parse_file): New.
* parse.c (NAME_OF_STDIN): Remove.
(yyparse): Rename ffe_parse_file.
java:
* java-tree.h (java_parse_file): New.
* jcf-parse.c (yyparse): Rename java_parse_file.
* lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
objc:
* objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.

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

22 years ago * libjava.jni/jni.exp (gcj_jni_build_header): Use local_exec, not
tromey [Sun, 17 Mar 2002 20:34:36 +0000 (20:34 +0000)]
* libjava.jni/jni.exp (gcj_jni_build_header): Use local_exec, not
target_compile.  Fixes PR other/5874.

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

22 years ago * gcc.dg/cpp/wchar-1.c: Update.
neil [Sun, 17 Mar 2002 17:15:37 +0000 (17:15 +0000)]
* gcc.dg/cpp/wchar-1.c: Update.

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

22 years ago * gcc.dg/cpp/wchar-1.c: Revert previous change.
neil [Sun, 17 Mar 2002 17:09:01 +0000 (17:09 +0000)]
* gcc.dg/cpp/wchar-1.c: Revert previous change.

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

22 years agoAdd arm thumb support
green [Sun, 17 Mar 2002 16:18:53 +0000 (16:18 +0000)]
Add arm thumb support

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

22 years ago PR c++/5757
jason [Sun, 17 Mar 2002 13:54:04 +0000 (13:54 +0000)]
    PR c++/5757
        * init.c (build_new_1): Pass the right pointer to op delete.

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

22 years agofix comment
jason [Sun, 17 Mar 2002 13:53:33 +0000 (13:53 +0000)]
fix comment

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

22 years ago * gcc.dg/cpp/wchar-1.c: Update.
neil [Sun, 17 Mar 2002 13:16:27 +0000 (13:16 +0000)]
* gcc.dg/cpp/wchar-1.c: Update.

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

22 years ago * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
hp [Sun, 17 Mar 2002 13:07:29 +0000 (13:07 +0000)]
* config/mmix/mmix.md ("truncdfsf2"): Correct operator is
float_truncate, not fix.
("*truncdfsf2_real"): Ditto.
("*nonlocal_goto_receiver_expanded"): Fix output template formatting.

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

22 years ago * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
hp [Sun, 17 Mar 2002 12:59:08 +0000 (12:59 +0000)]
* config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.

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

22 years agoDaily bump.
gccadmin [Sun, 17 Mar 2002 08:17:00 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * Makefile.am: Escape quotes in echo.
bryce [Sun, 17 Mar 2002 01:07:17 +0000 (01:07 +0000)]
* Makefile.am: Escape quotes in echo.
* Makefile.in: Rebuilt.

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

22 years ago * Makefile.am: Define ffitest_OBJECTS.
bryce [Sun, 17 Mar 2002 01:05:11 +0000 (01:05 +0000)]
* Makefile.am: Define ffitest_OBJECTS.
* Makefile.in: Rebuilt.

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

22 years agoLast commit missed this
bryce [Sun, 17 Mar 2002 00:46:40 +0000 (00:46 +0000)]
Last commit missed this

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

22 years agozlib:
bryce [Sun, 17 Mar 2002 00:35:21 +0000 (00:35 +0000)]
zlib:
* Makefile.am: Make target library a convenience library.
* Makefile.in: Rebuilt.

libffi:
* Makefile.am: libfficonvenience -> libffi_convenience.
* Makefile.in: Rebuilt.

boehm-gc:
* Makefile.am: Make a convenience library.
* Makefile.in: Rebuilt.

libjava:
Build a single libgcj.so, without separate gc and zlib libraries.
* configure.in: Use convenience libraries for boehm-gc and zlib. Set
SYS_ZLIBS if system zlib is used.
* configure: Rebuilt.
* Makefile.am: Use boehm-gc and zlib convenience libraries.
* Makefile.in: Rebuilt.
* libtool-version: Increment .so version number.

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

22 years ago* config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
aoliva [Sun, 17 Mar 2002 00:02:30 +0000 (00:02 +0000)]
* config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
(s8), but rather HARD_FRAME_POINTER_REGNUM.  Add parentheses
where appropriate.  Make the second reference to
leaf_function_p a function call, as intended.  Reindented.

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

22 years ago* config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
aoliva [Sat, 16 Mar 2002 23:58:35 +0000 (23:58 +0000)]
* config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
* config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.

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

22 years ago* config/mips/mips.md (addsi3, adddi3): Use scratch register to
aoliva [Sat, 16 Mar 2002 23:53:09 +0000 (23:53 +0000)]
* config/mips/mips.md (addsi3, adddi3): Use scratch register to
add register to non-constant into sp.

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

22 years ago* config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
aoliva [Sat, 16 Mar 2002 23:44:00 +0000 (23:44 +0000)]
* config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
* config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
(mips16_gp_pseudo_rtx): Lose.
(INIT_EXPANDERS): Deleted.
* config/mips/mips.c (mips_init_machine_status): New.
(mips_free_machine_status): New.
(mips_mark_machine_status): New.
(override_options): Set them.
(embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
(struct machine_function): ... new.  Replaced all references.
(mips_add_gc_roots): Don't mark them.
(embedded_pic_fnaddr_reg): New, extracted from...
(embedded_pic_offset): ... here.
* config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
(movsi): Likewise.

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

22 years agoRemove conflict indicator.
bryce [Sat, 16 Mar 2002 21:04:28 +0000 (21:04 +0000)]
Remove conflict indicator.

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

22 years ago * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
bryce [Sat, 16 Mar 2002 21:03:43 +0000 (21:03 +0000)]
* Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
* Makefile.in: Rebuilt.

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

22 years ago * parse.y (craft_constructor): Return the constructor decl.
bryce [Sat, 16 Mar 2002 20:57:10 +0000 (20:57 +0000)]
* parse.y (craft_constructor): Return the constructor decl.
(java_expand_classes): Update comments.
(lookup_method_invoke): Call fix_constructors immediately for
anonymous class. Fixes PR java/5935.

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

22 years agocp:
nathan [Sat, 16 Mar 2002 18:30:16 +0000 (18:30 +0000)]
cp:
PR c++/4361
* cp-tree.h (CLASSTYPE_METHOD_VEC): Document where templated
conversion operators go.
(struct lang_decl_flags): Add template_conv_p and unused
bitfields.
(DECL_TEMPLATE_CONV_FN_P): New macro.
* call.c (build_user_type_conversion_1): Don't check second type
conversion of overload set first.
* class.c (add_method): Make sure templated conversion operators
all end up on slot 2.
* lex.c (do_identifier): A conversion operator token might be
satisfied by a templated conversion operator.
* mangle.c (struct globals) Add internal_mangling_p member.
(write_template_param): Do internal mangling, if needed.
(mangle_conv_op_name_for_type): Request internal mangling.
* pt.c (check_explicit_specialization): Use
CLASSTYPE_FIRST_CONVERSION_SLOT.
(template_parm_this_level_p): New function.
(push_template_decl_real): Determine DECL_TEMPLATE_CONV_FN_P.
* search.c (lookup_fn_fields_1): Template conversions will be on
the first slot.
* typeck.c (build_component_ref): Preserve the type of an
conversion operator name on the overload type.
(build_x_function_call): Retrieve the conversion operator name.
testsuite:
* g++.dg/template/conv1.C: New test.
* g++.dg/template/conv2.C: New test.
* g++.dg/template/conv3.C: New test.
* g++.dg/template/conv4.C: New test.

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

22 years ago* ltmain.sh (relink_command): Fix typo in previous change.
aoliva [Sat, 16 Mar 2002 14:42:17 +0000 (14:42 +0000)]
* ltmain.sh (relink_command): Fix typo in previous change.

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

22 years ago * cppinit.c: Revert -MD removal.
neil [Sat, 16 Mar 2002 14:03:36 +0000 (14:03 +0000)]
* cppinit.c: Revert -MD removal.

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

22 years ago * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
ciceron [Sat, 16 Mar 2002 13:03:59 +0000 (13:03 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
soft registers by default for 68HC12.
(m68hc11_conditional_register_usage): Don't use Z register for 68HC12
when compiling with -fomit-frame-pointer.
(expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
(expand_epilogue): Likewise.
(m68hc11_gen_rotate): Use exg when rotating by 8.

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

22 years ago * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
ciceron [Sat, 16 Mar 2002 12:52:20 +0000 (12:52 +0000)]
* config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
* config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
(splits): Remove unused add splits.
("*addhi3_68hc12"): Tune constraints.
("addhi_sp"): Try to use X instead of Y in all cases and if the
constant fits in 8-bits and D is dead use abx/aby instructions.
("*addhi3"): Remove extern declaration of ix_reg.
("*subsi3"): Optimize and provide new split.
("subhi3"): Cleanup.
("*subhi3_sp"): Avoid saving X if we know it is dead.
(arith splits): For 68hc12 save the address register on the stack
and do the arithmetic operation with a pop.

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

22 years ago * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
ciceron [Sat, 16 Mar 2002 12:40:52 +0000 (12:40 +0000)]
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
allocating QImode in address registers.
("*movqi_m68hc11"): Likewise.

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

22 years ago * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
hubicka [Sat, 16 Mar 2002 12:01:15 +0000 (12:01 +0000)]
* cfgcleanup.c (cleanup_cfg): Fix updating of liveness.

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

22 years ago * cppinit.c (print_help): Display -MD and -MMD.
neil [Sat, 16 Mar 2002 10:57:28 +0000 (10:57 +0000)]
* cppinit.c (print_help): Display -MD and -MMD.
Don't display usage string.  Update assertion syntax and
typo.
(COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
(cpp_handle_option): Update.

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

22 years agoDaily bump.
gccadmin [Sat, 16 Mar 2002 08:18:16 +0000 (08:18 +0000)]
Daily bump.

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

22 years ago2002-03-15 Eric Christopher <echristo@redhat.com>
echristo [Sat, 16 Mar 2002 08:00:45 +0000 (08:00 +0000)]
2002-03-15  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.md (movdf_internal2): Add two new move constraints.
Fix register preference on last change.
* config/mips/mips.c (mips_return_in_memory): New function.
* config/mips/mips.h (RETURN_IN_MEMORY): Use.
* config/mips/mips-protos.h: Declare.
* config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
* config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.

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

22 years ago2002-03-15 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 16 Mar 2002 04:16:15 +0000 (04:16 +0000)]
2002-03-15  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
        MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
        and define it so that regardless of target CPU size,
        __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
        of "int" rather than "long."

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

22 years ago * init.c (build_new_1): Use size_binop instead of cp_build_binary_op.
rth [Sat, 16 Mar 2002 01:25:53 +0000 (01:25 +0000)]
    * init.c (build_new_1): Use size_binop instead of cp_build_binary_op.

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

22 years ago * g++.dg/template/qualttp20.C: Remove unnecessary error tags.
mmitchel [Sat, 16 Mar 2002 01:00:50 +0000 (01:00 +0000)]
* g++.dg/template/qualttp20.C: Remove unnecessary error tags.
* g++.dg/template/qualttp3.C: Likewise.
* g++.dg/template/qualttp4.C: Likewise
* g++.dg/template/qualttp5.C: Likewise
* g++.dg/template/qualttp6.C: Likewise
* g++.dg/template/qualttp7.C: Likewise
* g++.dg/template/qualttp8.C: Likewise
* g++.dg/template/recurse.C: Likewise.

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

22 years agoCommit embedded patch approved Feb 17
green [Sat, 16 Mar 2002 00:37:21 +0000 (00:37 +0000)]
Commit embedded patch approved Feb 17

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

22 years ago * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
rth [Fri, 15 Mar 2002 23:13:04 +0000 (23:13 +0000)]
    * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
        size as a tree.

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

22 years ago* ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it.
aoliva [Fri, 15 Mar 2002 23:02:08 +0000 (23:02 +0000)]
* ltmain.sh (taglist): Initialized.  Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.

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

22 years ago* Makefile.am (jv_convert_LDADD): Don't list libraries that are
aoliva [Fri, 15 Mar 2002 22:46:58 +0000 (22:46 +0000)]
* Makefile.am (jv_convert_LDADD): Don't list libraries that are
already implicitly brought in from libgcj.la.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

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

22 years ago2002-03-15 Eric Blake <ebb9@email.byu.edu>
ericb [Fri, 15 Mar 2002 22:36:05 +0000 (22:36 +0000)]
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

* THANKS: Fix punctuation, alphabetization.

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

22 years ago * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
ciceron [Fri, 15 Mar 2002 22:33:30 +0000 (22:33 +0000)]
* config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
("tstqi" split): Avoid using memory for tstqi on address register.
(splits): Remove constraints.
("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
("cmpdf", "cmpsf"): Remove since not used.
("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
(peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.

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

22 years ago * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
ciceron [Fri, 15 Mar 2002 22:22:56 +0000 (22:22 +0000)]
* config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
("neghi2"): Tighten constraints.
("one_cmplsi2"): Optimize and simplify split.
* config/m68hc11/larith.asm (__negsi2): Likewise for library.

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

22 years ago * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
ciceron [Fri, 15 Mar 2002 22:13:07 +0000 (22:13 +0000)]
* config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
and split of AND operation to clear the upper bits.
("*logicalsi3_zextqi"): Likewise.
("*logicallhi3_zexthi_ashift8"): Likewise.
("*logicalsi3_silshr16"): Likewise.
("logicalsi3_silshl16"): Likewise.
("anddi3", "iordi3", "xordi3" splits): Remove constraints.

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

22 years ago * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
ciceron [Fri, 15 Mar 2002 22:04:49 +0000 (22:04 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
(m68hc11_indirect_p): New function.
(m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
(m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
TARGET_M6812.
(asm_print_register): Likewise.
* config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
(m68hc11_indirect_p): Declare.
* config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
(TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
(TARGET_SWITCHES): New option -mrelax.
* config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
destination.
("iorsi3", "xorsi3"): Likewise.
("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
("*andhi3_mem"): New to handle destination in memory with bclr
and a scratch register.
("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
("*andhi3_const"): New when operand2 is constant.
("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
("*andhi3_gen"): Cleanup of the old "andhi3".
("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
("xorqi3"): Update constraints.

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

22 years ago2002-03-15 Tom Tromey <tromey@redhat.com>
tromey [Fri, 15 Mar 2002 21:59:12 +0000 (21:59 +0000)]
2002-03-15  Tom Tromey  <tromey@redhat.com>
    Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

Fix for PR libgcj/5944.
* gnu/gcj/io/shs.h: Define uint8_t and uint32_t.

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

22 years ago * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
ciceron [Fri, 15 Mar 2002 21:54:58 +0000 (21:54 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
for reg_equiv_memory_loc when the operand is a register that does
not get a hard register (stack location).
(tst_operand): After reload, accept all memory operand.
(symbolic_memory_operand): Fix detection of symbolic references.
* config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
accept symbols and any constant.

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

22 years ago * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
ciceron [Fri, 15 Mar 2002 21:44:49 +0000 (21:44 +0000)]
* config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
note on the insn that sets the soft frame register.
(must_parenthesize): ix and iy are also reserved names.
(print_operand_address): One more place where parenthesis are required
to avoid confusion with register names.
(m68hc11_gen_movhi): Allow push of stack pointer.
(m68hc11_check_z_replacement): Fix handling of parallel with a
clobber.
(m68hc11_z_replacement): Must update the REG_INC notes to tell what
the replacement register is.
* config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
and D8_REGS classes.
(MODES_TIEABLE_P): All modes are tieable except QImode.

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

22 years ago * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
ciceron [Fri, 15 Mar 2002 21:36:27 +0000 (21:36 +0000)]
* config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
(___subdi3): Likewise.
(__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
(__map_data_section): Optimize 68hc11 case.

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

22 years ago * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
ciceron [Fri, 15 Mar 2002 21:27:01 +0000 (21:27 +0000)]
* config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
than a shift to avoid adding a register with itself.
(m68hc11_memory_move_cost): Take into account NO_REGS.
(m68hc11_register_move_cost): Update and use memory move cost
for soft registers.
(m68hc11_address_cost): Make cost of valid offset not 0 so that
it gives more opportunities to cse to optimize.
* config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
* config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.

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

22 years agoUpdated THANKS
tromey [Fri, 15 Mar 2002 20:52:04 +0000 (20:52 +0000)]
Updated THANKS

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

22 years ago * c-common.c (statement_code_p): Handle CLEANUP_STMT.
mmitchel [Fri, 15 Mar 2002 20:08:39 +0000 (20:08 +0000)]
* c-common.c (statement_code_p): Handle CLEANUP_STMT.
* c-common.def (CLEANUP_STMT): New tree node.
* c-common.h (CLEANUP_DECL): New macro.
(CLEANUP_EXPR): Likewise.
* c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
* tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
* tree-inline.c (initialize_inlined_parameters): Clean up
new local variables.

* cp-tree.h (CLEANUP_DECL): Remove.
(CLEANUP_EXPR): Likewise.
* decl.c (destroy_local_var): Simplify.
(maybe_build_cleanup): Tidy.
* dump.c (cp_dump_tree): Remove handling of CLEANUP_STMT.
* semantics.c (cp_expand_stmt): Likewise.
* cp/tree.c (cp_statement_code_p): Likewise.

* g++.dg/opt/dtor1.C: New test.

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

22 years ago2002-03-15 Eric Blake <ebb9@email.byu.edu>
ericb [Fri, 15 Mar 2002 19:17:39 +0000 (19:17 +0000)]
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

For PR java/5902:
* libjava.compile/PR5902.java: Does not need to execute.
For PR java/5913:
* libjava.compile/PR5913.java: Ditto.

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

22 years ago PR bootstrap/4128
jakub [Fri, 15 Mar 2002 18:51:36 +0000 (18:51 +0000)]
PR bootstrap/4128
* config/sparc/sparc.c (gen_v9_scc): Move early clobber test
before movrXX only, use reg_overlap_mentioned_p.
Only special case NE if just one insn can be generated.

* gcc.c-torture/compile/20020315-1.c: New test.

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

22 years ago * varasm.c (assemble_variable): Call resolve_unique_section before
jason [Fri, 15 Mar 2002 18:44:14 +0000 (18:44 +0000)]
    * varasm.c (assemble_variable): Call resolve_unique_section before
        checking DECL_SECTION_NAME.  Use zeros for a decl with DECL_INITIAL
        of error_mark_node.

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

22 years ago* gcc.dg/weak-1.c: Fix scan tests.
rearnsha [Fri, 15 Mar 2002 18:32:37 +0000 (18:32 +0000)]
* gcc.dg/weak-1.c: Fix scan tests.

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

22 years ago PR c++/5857
jason [Fri, 15 Mar 2002 18:31:55 +0000 (18:31 +0000)]
    PR c++/5857
        * decl.c (duplicate_decls): Use merge_types instead of common_type.
        * typeck.c (common_type): Just hand off to
        type_after_usual_arithmetic_conversions and
        composite_pointer_type.
        (merge_types): New fn.
        (commonparms): Use it instead of common_type.
        (type_after_usual_arithmetic_conversions): Also handle COMPLEX_TYPE.
        (composite_pointer_type): Also handle attributes.
        * cp-tree.h: Declare merge_types.

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

22 years agoRemove useless mingw32 configury
green [Fri, 15 Mar 2002 18:16:34 +0000 (18:16 +0000)]
Remove useless mingw32 configury

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

22 years agoInstall libgcj-config.h in a better place.
green [Fri, 15 Mar 2002 18:03:49 +0000 (18:03 +0000)]
Install libgcj-config.h in a better place.

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

22 years agoAddress mingw32 issues.
green [Fri, 15 Mar 2002 18:01:38 +0000 (18:01 +0000)]
Address mingw32 issues.

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

22 years agoFix gcj -R.
green [Fri, 15 Mar 2002 18:00:22 +0000 (18:00 +0000)]
Fix gcj -R.

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

22 years agoPR target/5170
rearnsha [Fri, 15 Mar 2002 17:06:58 +0000 (17:06 +0000)]
PR target/5170
* arm.md (split pattern for thumb shiftable immediates): Add comment
explaining non-obvious test.

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