OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago PR c/2035
rth [Fri, 26 Apr 2002 02:09:21 +0000 (02:09 +0000)]
    PR c/2035
        * expmed.c (extract_bit_field): Fall through to generic code rather
        than aborting on subreg special case.

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

22 years ago2002-04-25 David S. Miller <davem@redhat.com>
davem [Fri, 26 Apr 2002 02:05:08 +0000 (02:05 +0000)]
2002-04-25  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
for DECL being NULL.

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

22 years ago 2002-04-25 Steve Christiansen <smc@us.ibm.com>
wilson [Fri, 26 Apr 2002 00:24:41 +0000 (00:24 +0000)]
2002-04-25  Steve Christiansen  <smc@us.ibm.com>
* doc/md.texi (Machine Constraints): Add IA-64 constraints.

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

22 years ago * c-decl.c (grokdeclarator): Remove outdated ??? note
rth [Fri, 26 Apr 2002 00:22:23 +0000 (00:22 +0000)]
    * c-decl.c (grokdeclarator): Remove outdated ??? note
        on invalid declaration of flexible array members.

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

22 years ago * gcc.dg/i386-memset-1.c: New test case for PR target/6456.
hp [Fri, 26 Apr 2002 00:09:43 +0000 (00:09 +0000)]
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.

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

22 years ago * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
rth [Thu, 25 Apr 2002 22:31:31 +0000 (22:31 +0000)]
    * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.

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

22 years ago* config/s390/s390.c (s390_emit_epilogue): Always restore registers
uweigand [Thu, 25 Apr 2002 21:26:04 +0000 (21:26 +0000)]
* config/s390/s390.c (s390_emit_epilogue): Always restore registers
needed by the compiler, even if they are used as global regs.

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

22 years ago2002-04-24 Matt Hiller <hiller@redhat.com>
hiller [Thu, 25 Apr 2002 19:31:45 +0000 (19:31 +0000)]
2002-04-24  Matt Hiller  <hiller@redhat.com>

* mips.c (mips_class_max_nregs, mips_register_move_cost): New
functions.
* mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
of the corresponding functions.
* mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
New prototypes.

2002-04-24  Matt Hiller  <hiller@redhat.com>

* config/mips/mips.h (mips_sw_reg_names): Declare as extern.

(ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
(FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
registers, adjust comment accordingly.
(FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
for coprocessor registers.
(ADDITIONAL_REGISTER_NAMES): Include
ALL_COP_ADDITIONAL_REGISTER_NAMES.

(COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.

(mips_char_to_class): Adjust comment to include coprocessor
constraint letters.

* config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
New functions.
(mips_reg_names, mips_regno_to_class): Include coprocessor
information.
(mips_sw_reg_names): Ditto, make non-static.
(mips_move_1word): Handle moves to and from coprocessor registers.
(mips_move_2words): Handle moves to and from coprocessor
registers.
(mips_class_max_nregs, mips_register_move_cost): Handle
coprocessor register classes.
(override_options): Initialize mips_char_to_class and
mips_hard_regno_mode_ok properly for coprocessor registers.

* config/mips/mips.md (movdi_internal, movdi_internal2,
movsi_internal1, movsi_internal2): Add constraint-sets for
coprocessor registers.
* testsuite/gcc.c-torture/mipscop-1.c: New testcase.
* testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
isn't mips.
* testsuite/gcc.c-torture/mipscop-2.c: New testcase.
* testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
isn't mips.
* testsuite/gcc.c-torture/mipscop-3.c: New testcase.
* testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
isn't mips.
* testsuite/gcc.c-torture/mipscop-4.c: New testcase.
* testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
isn't mips.

* doc/tm.texi: Document feature.

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

22 years ago * integrate.c (function_attribute_inlinable_p): Simplify.
neil [Thu, 25 Apr 2002 18:55:48 +0000 (18:55 +0000)]
* integrate.c (function_attribute_inlinable_p): Simplify.
Check the table pointer is not NULL.

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

22 years ago * gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
ghazi [Thu, 25 Apr 2002 18:49:02 +0000 (18:49 +0000)]
* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
targets.

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

22 years ago PR c++/5607
jason [Thu, 25 Apr 2002 18:04:50 +0000 (18:04 +0000)]
    PR c++/5607
        * search.c (check_final_overrider): No longer static.
        * class.c (update_vtable_entry_for_fn): Call it.
        * cp-tree.h: Adjust.

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

22 years ago * doc/c-tree.texi: Fix typo in introduction.
rsandifo [Thu, 25 Apr 2002 09:30:11 +0000 (09:30 +0000)]
* doc/c-tree.texi: Fix typo in introduction.

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

22 years agoDaily bump.
gccadmin [Thu, 25 Apr 2002 07:17:29 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago * c-common.h (c_common_parse_file): Update.
neil [Thu, 25 Apr 2002 06:24:41 +0000 (06:24 +0000)]
* c-common.h (c_common_parse_file): Update.
* c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
* c-lex.c (YYDEBUG): Get from c-lex.h.
(c_common_parse_file): Update.
* c-lex.h (YYDEBUG, yydebug): New.
* c-parse.in (YYDEBUG): Get from c-lex.h.
(c_set_yydebug): Remove.
* c-tree.h (c_set_yydebug): Remove.
* langhooks-def.h (lhd_do_nothing_i): New.
(lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
(LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
* langhooks.c  (lhd_do_nothing_i): New.
(lhd_set_yydebug): Remove.
* langhooks.h (struct lang_hooks): Update.
* toplev.c (set_yydebug): New.
(compile_file): Update call to parse_file hook.
(decode_d_option): Update.
ada:
* misc.c (gnat_parse_file): Update.
cp:
* cp-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
* cp-tree.h (cxx_set_yydebug): Die.
* lex.c (YYDEBUG): Get from c-lex.h.
(cxx_set_yydebug): Remove.
* parse.y: Include c-lex.h.
(YYDEBUG): Get from c-lex.h.
f:
* com.h (ffe_parse_file): Update.
* lex.c (ffe_parse_file): Update.
java:
* java-tree.h (java_parse_file): Update.
(java_set_yydebug): Remove.
* jcf-parse.c (yydebug): Remove.
(java_set_yydebug): Die.
(java_parse_file): Update.
* lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
objc:
* objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.

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

22 years ago For PR java/6425:
tromey [Thu, 25 Apr 2002 01:09:47 +0000 (01:09 +0000)]
For PR java/6425:
* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
EXPR_WFL_QUALIFICATION of qual_wfl.

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

22 years ago * mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
mmitchel [Thu, 25 Apr 2002 01:05:25 +0000 (01:05 +0000)]
* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
out an array type.
(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
to determine qualifiers.

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

22 years ago * typeck.c (build_modify_expr): The pedwarn for array assignment is
jason [Thu, 25 Apr 2002 00:13:45 +0000 (00:13 +0000)]
    * typeck.c (build_modify_expr): The pedwarn for array assignment is
        now unconditional.
        * tree.c (build_cplus_array_type_1): Still process simple array types
        normally in templates.

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

22 years ago * loop.c (load_mems): Don't change the interface of called functions.
amylaar [Wed, 24 Apr 2002 23:52:16 +0000 (23:52 +0000)]
* loop.c (load_mems): Don't change the interface of called functions.

* calls.c (expand_call): Take current_function_pretend_args_size
into account when setting argblock for sibcalls.

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

22 years ago * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
tromey [Wed, 24 Apr 2002 23:05:17 +0000 (23:05 +0000)]
* gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
correct length of UTF-8 encoded name.  Strip leading `/'.
(_Jv_RegisterResource): Use _Jv_Malloc.

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

22 years ago * cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs
mmitchel [Wed, 24 Apr 2002 22:46:40 +0000 (22:46 +0000)]
* cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs
void.

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

22 years ago2002-04-24 Matt Hiller <hiller@redhat.com>
hiller [Wed, 24 Apr 2002 22:27:37 +0000 (22:27 +0000)]
2002-04-24  Matt Hiller  <hiller@redhat.com>

* cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
* c-lex.c: Ditto.

* cpplex.c (skip_line_comment): Process comment one multibyte
character at a time rather than one char at a time, if
appropriate.
(parse_string): Process string one multibyte character at a time
rather than one char at a time, if appropriate.
* c-lex.c (lex_string): Lex and copy multibyte strings
appropriately.
* cpplib.h (cppchar_t): Change to unsigned.

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

22 years ago2002-04-24 Matt Hiller <hiller@redhat.com>
hiller [Wed, 24 Apr 2002 22:27:19 +0000 (22:27 +0000)]
2002-04-24  Matt Hiller  <hiller@redhat.com>

* cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
* c-lex.c: Ditto.

* cpplex.c (skip_line_comment): Process comment one multibyte
character at a time rather than one char at a time, if
appropriate.
(parse_string): Process string one multibyte character at a time
rather than one char at a time, if appropriate.
* c-lex.c (lex_string): Lex and copy multibyte strings
appropriately.
* cpplib.h (cppchar_t): Change to unsigned.

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

22 years ago * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
rth [Wed, 24 Apr 2002 22:26:10 +0000 (22:26 +0000)]
    * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
        for c99.

* gcc.dg/c90-vla-1.c, gcc.dg/c99-vla-1.c: New.

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

22 years ago2002-04-24 Matt Hiller <hiller@redhat.com>
hiller [Wed, 24 Apr 2002 22:18:25 +0000 (22:18 +0000)]
2002-04-24  Matt Hiller  <hiller@redhat.com>

* cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
* c-lex.c: Ditto.

* cpplex.c (skip_line_comment): Process comment one multibyte
character at a time rather than one char at a time, if
appropriate.
(parse_string): Process string one multibyte character at a time
rather than one char at a time, if appropriate.
* c-lex.c (lex_string): Lex and copy multibyte strings
appropriately.
* cpplib.h (cppchar_t): Change to unsigned.

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

22 years ago * expr.c (PRE_JSR): Call NOTE_LABEL for return address.
bothner [Wed, 24 Apr 2002 22:14:59 +0000 (22:14 +0000)]
* expr.c (PRE_JSR):  Call NOTE_LABEL for return address.
* java-tree.h (BCODE_RETURN_TARGET):  Removed - never set.
(BCODE_TARGET):  Remove BCODE_RETURN_TARGET.

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

22 years ago * sh.c (sh_va_arg): If argument was passed by reference,
amylaar [Wed, 24 Apr 2002 22:12:32 +0000 (22:12 +0000)]
* sh.c (sh_va_arg): If argument was passed by reference,
dereference the pointer.

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

22 years ago * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
amylaar [Wed, 24 Apr 2002 21:47:44 +0000 (21:47 +0000)]
    * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.

testsuite:

        * gcc.dg/20020312-2.c: Add SH target.

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

22 years ago * sh.md (divsi3_i4_media): Use match_operand for input values
amylaar [Wed, 24 Apr 2002 21:35:43 +0000 (21:35 +0000)]
* sh.md (divsi3_i4_media): Use match_operand for input values
rather than hard registers.
(divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
unnecessarily through hard registers.  Keep copies of pseudo
registers outside of the libcall sequence.

* sh.md (casesi_shift_media): Add modes.

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

22 years ago * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
amylaar [Wed, 24 Apr 2002 21:26:17 +0000 (21:26 +0000)]
* sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
values in memory.

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

22 years ago * attribs.c (c_common_attribute_table): Move table and handlers
neil [Wed, 24 Apr 2002 20:41:04 +0000 (20:41 +0000)]
* attribs.c (c_common_attribute_table): Move table and handlers
to c-common.c.
(format_attribute_table, lang_attribute_table,
lang_attribute_common): Remove.
(init_attributes): Replace NULL pointers with pointers to the
empty table.
(handle_packed_attribute, handle_nocommon_attribute,
handle_common_attribute, handle_noreturn_attribute,
handle_noinline_attribute, handle_always_inline_attribute,
handle_used_attribute, handle_unused_attribute,
handle_const_attribute, handle_transparent_union_attribute,
handle_constructor_attribute, handle_destructor_attribute,
handle_mode_attribute, handle_section_attribute,
handle_aligned_attribute, handle_weak_attribute,
handle_alias_attribute, handle_visibility_attribute,
handle_no_instrument_function_attribute, handle_malloc_attribute,
handle_no_limit_stack_attribute, handle_pure_attribute,
handle_deprecated_attribute, handle_vector_size_attribute,
vector_size_helper): Move to c-common.c.
* c-common.c (c_common_attribute_table,
handle_packed_attribute, handle_nocommon_attribute,
handle_common_attribute, handle_noreturn_attribute,
handle_noinline_attribute, handle_always_inline_attribute,
handle_used_attribute, handle_unused_attribute,
handle_const_attribute, handle_transparent_union_attribute,
handle_constructor_attribute, handle_destructor_attribute,
handle_mode_attribute, handle_section_attribute,
handle_aligned_attribute, handle_weak_attribute,
handle_alias_attribute, handle_visibility_attribute,
handle_no_instrument_function_attribute, handle_malloc_attribute,
handle_no_limit_stack_attribute, handle_pure_attribute,
handle_deprecated_attribute, handle_vector_size_attribute,
vector_size_helper): Move from attribs.c.
* c-common.h (c_common_attribute_table,
c_common_format_attribute_table): New.
* c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
* langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): 3 new attribute hooks.
* target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
* target.h: Update comment.
* tree.c (default_target_attribute_table): Remove.
* tree.h (default_target_attribute_table, format_attribute_table,
lang_attribute_table, lang_attribute_common): Remove.
ada:
* misc.c (gnat_init): Don't set lang_attribute_common.
cp:
* cp-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE):
Redefine.
* cp-tree.h (cp_attribute_table): Rename.
* decl.c (lang_attribute_table): Remove declaration.
(cxx_init_decl_processing): Don't set it.
* tree.c (cp_attribute_table): Rename.
objc:
* objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.

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

22 years ago * gcc.c-torture/compile/labels-3.x: New file, don't assemble the
ghazi [Wed, 24 Apr 2002 19:04:23 +0000 (19:04 +0000)]
* gcc.c-torture/compile/labels-3.x: New file, don't assemble the
compiler output on mips*-*-irix*.

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

22 years ago * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
jason [Wed, 24 Apr 2002 18:49:51 +0000 (18:49 +0000)]
    * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
        * dwarf2out.c (dwarf_attr_name): Support it.
        (gen_array_type_die): Emit it.
        (lookup_type_die): No special handling for VECTOR_TYPE.
        (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.

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

22 years ago * config/mips/mips.md (movdi_usd): Renumber.
rth [Wed, 24 Apr 2002 17:44:39 +0000 (17:44 +0000)]
    * config/mips/mips.md (movdi_usd): Renumber.

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

22 years ago2002-04-24 David S. Miller <davem@redhat.com>
davem [Wed, 24 Apr 2002 16:58:12 +0000 (16:58 +0000)]
2002-04-24  David S. Miller  <davem@redhat.com>

PR target/6420
* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
32-bit Sparc and current_function_returns_struct is true.

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

22 years ago * loop.c (canonicalize_condition): Use gen_int_mode.
hubicka [Wed, 24 Apr 2002 14:24:55 +0000 (14:24 +0000)]
* loop.c (canonicalize_condition): Use gen_int_mode.

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

22 years ago2002-04-24 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 24 Apr 2002 10:57:33 +0000 (10:57 +0000)]
2002-04-24  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/altivec.h: Cleanup file.  Add non individual
variants.
(vec_vaddubm): New.
(vec_vadduhm): New.
(vec_vadduwm): New.
(vec_vaddfp): New.
(vec_vaddcuw): New.
(vec_vaddubs): New.
(vec_vaddsbs): New.
(vec_vadduhs): New.
(vec_vadduws): New.
(vec_vaddsws): New.
(vec_vand): New.
(vec_vandc): New.
(vec_vavgub): New.
(vec_vavgsb): New.
(vec_vavguh): New.
(vec_vavgsh): New.
(vec_vavguw): New.
(vec_vavgsw): New.
(vec_vrfip): New.
(vec_vcmpbfp): New.
(vec_vcmpequb): New.
(vec_vcmpequh): New.
(vec_vcmpequw): New.
(vec_vcmpeqfp): New.
(vec_vcmpgefp): New.
(vec_vcmpgtub): New.
(vec_vcmpgtsb): New.
(vec_vcmpgtuh): New.
(vec_vcmpgtsh): New.
(vec_vcmpgtuw): New.
(vec_vcmpgtsw): New.
(vec_vcmpgtfp): New.
(vec_vcmpgefp): New.
(vec_vcfux): New.
(vec_vcfsx): New.
(vec_vctsxs): New.
(vec_vctuxs): New.
(vec_vexptefp): New.
(vec_vrfim): New.
(vec_lvx): New.
(vec_lvebx): New.
(vec_lvehx): New.
(vec_lde): Add vector float variant.
(vec_lvewx): New.
(vec_lvxl): New.
(vec_vlogefp): New.
(vec_vmaddfp): New.
(vec_vmhaddshs): New.
(vec_vmaxub): New.
(vec_vmaxsb): New.
(vec_vmaxuh): New.
(vec_vmaxsh): New.
(vec_vmaxuw): New.
(vec_vmaxsw): New.
(vec_vmaxsw): New.
(vec_vmaxfp): New.
(vec_vmrghb): New.
(vec_vmrghh): New.
(vec_vmrghw): New.
(vec_vmrglb): New.
(vec_vmrglh): New.
(vec_vmrglw): New.
(vec_vminub): New.
(vec_vminsb): New.
(vec_vminuh): New.
(vec_vminsh): New.
(vec_vminuw): New.
(vec_vminsw): New.
(vec_vminfp): New.
(vec_vmladduhm): New.
(vec_vmhraddshs): New.
(vec_msumubm): New.
(vec_vmsummbm): New.
(vec_vmsumuhm): New.
(vec_vmsumshm): New.
(vec_vmsumuhs): New.
(vec_vmsumshs): New.
(vec_vmuleub): New.
(vec_vmulesb): New.
(vec_vmuleuh): New.
(vec_vmulesh): New.
(vec_vmuloub): New.
(vec_mulosb): New.
(vec_vmulouh): New.
(vec_vmulosh): New.
(vec_vnmsubfp): New.
(vec_vnor): New.
(vec_vor): New.
(vec_vpkuhum): New.
(vec_vpkuwum): New.
(vec_vpkpx): New.
(vec_vpkuhus): New.
(vec_vpkshss): New.
(vec_vpkuwus): New.
(vec_vpkswss): New.
(vec_vpkshus): New.
(vec_vpkswus): New.
(vec_vperm): New.
(vec_vrefp): New.
(vec_vrlb): New.
(vec_vrlh): New.
(vec_vrlw): New.
(vec_vrfin): New.
(vec_vrsqrtefp): New.
(vec_vsel): New.
(vec_vslb): New.
(vec_vslh): New.
(vec_vslw): New.
(vec_vsldoi): New.
(vec_vsl): New.
(vec_vslo): New.
(vec_vspltb): New.
(vec_vsplth): New.
(vec_vspltw): New.
(vec_vspltisb): New.
(vec_vspltish): New.
(vec_vspltisw): New.
(vec_vsrb): New.
(vec_vsrh): New.
(vec_vsrw): New.
(vec_vsrab): New.
(vec_vsrah): New.
(vec_vsraw): New.
(vec_vsr): New.
(vec_vsro): New.
(vec_stvx): New.
(vec_stvebx): New.
(vec_stvehx): New.
(vec_stvewx): New.
(vec_stvxl): New.
(vec_vsububm): New.
(vec_vsubuhm): New.
(vec_vsubuwm): New.
(vec_vsubfp): New.
(vec_vsubcuw): New.
(vec_vsububs): New.
(vec_vsubsbs): New.
(vec_vsubuhs): New.
(vec_vsubshs): New.
(vec_vsubuws): New.
(vec_vsubsws): New.
(vec_vsum4ubs): New.
(vec_vsum4sbs): New.
(vec_vsum4shs): New.
(vec_vsum2sws): New.
(vec_vsumsws): New.
(vec_vrfiz): New.
(vec_vupkhsb): New.
(vec_vupkhpx): New.
(vec_vupkhsh): New.
(vec_vupklsb): New.
(vec_vupklpx): New.
(vec_vupklsh): New.
(vec_vxor): New.

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

22 years ago PR c++/6331
jason [Wed, 24 Apr 2002 10:48:44 +0000 (10:48 +0000)]
    PR c++/6331
        * method.c (do_build_copy_constructor): Use cp_build_qualified_type.
        * typeck.c (build_modify_expr): Allow arrays to differ in cv-quals.

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

22 years agoDaily bump.
gccadmin [Wed, 24 Apr 2002 07:19:36 +0000 (07:19 +0000)]
Daily bump.

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

22 years agoFix typos for 2002-03-08 entry.
bothner [Wed, 24 Apr 2002 05:11:31 +0000 (05:11 +0000)]
Fix typos for 2002-03-08 entry.

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

22 years ago2002-04-23 Adam Megacz <adam@xwt.org>
megacz [Wed, 24 Apr 2002 01:33:19 +0000 (01:33 +0000)]
2002-04-23  Adam Megacz <adam@xwt.org>

        * win32.cc, include/win32.cc (backtrace): Added this function
        because Win32 does not supply it.

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

22 years ago * include/std/std_fstream.h (basic_filebuf::sync): Hoist
ljrittle [Wed, 24 Apr 2002 00:33:28 +0000 (00:33 +0000)]
* include/std/std_fstream.h (basic_filebuf::sync): Hoist
unconditional flush on lower-layer handle to here...
* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
...from here.  Optimize remaining _M_file.sync() call pattern.
* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
(test05): Likewise.

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

22 years ago PR c++/6395
jason [Tue, 23 Apr 2002 23:51:30 +0000 (23:51 +0000)]
    PR c++/6395
        * decl.c (make_rtl_for_nonlocal_decl): Don't mess with #pragma i/i
        stuff for comdats.

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

22 years ago * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
rth [Tue, 23 Apr 2002 23:31:07 +0000 (23:31 +0000)]
    * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
        added literals from substracted literals.
        (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
        (fold) [associate]: Preserve MINUS_EXPR if needed.

* gcc.c-torture/execute/20020423-1.c: New.

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

22 years ago * doc/install.texi: Clarify which versions of alpha*-dec-osf*
zack [Tue, 23 Apr 2002 23:12:44 +0000 (23:12 +0000)]
* doc/install.texi: Clarify which versions of alpha*-dec-osf*
are obsoleted.

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

22 years ago For PR java/6314:
tromey [Tue, 23 Apr 2002 22:58:09 +0000 (22:58 +0000)]
For PR java/6314:
* jvspec.c (lang_specific_driver): Use --resource, not -R.  Also
recognize `-fcompile-resource='.
* gcj.texi (Invoking gcj): Use --resource, not -R.  Expanded text
a bit.

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

22 years ago * gcc.c: Added --resource. For PR java/6314.
tromey [Tue, 23 Apr 2002 22:57:16 +0000 (22:57 +0000)]
* gcc.c: Added --resource.  For PR java/6314.

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

22 years ago * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
jason [Tue, 23 Apr 2002 21:56:10 +0000 (21:56 +0000)]
    * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
        output-only filebufs.
        * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
        Likewise.
        (basic_filebuf::_M_set_determinate): Likewise.

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

22 years ago PR libstdc++/6414
jason [Tue, 23 Apr 2002 21:01:22 +0000 (21:01 +0000)]
    PR libstdc++/6414
        * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
        value properly in the trivial case.
        * testsuite/27_io/istream_seeks.cc (test04): Make sure that
        tellg() returns the right value after a read.

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

22 years ago * parse.y (check_class_key): Allow KEY to be union/enum/struct/class
jakub [Tue, 23 Apr 2002 20:59:05 +0000 (20:59 +0000)]
* parse.y (check_class_key): Allow KEY to be union/enum/struct/class
node with attributes.

* g++.dg/parse/attr1.C: New test.

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

22 years ago * config/cpu/mmix/bits/cpu_limits.h: New file.
hp [Tue, 23 Apr 2002 17:46:24 +0000 (17:46 +0000)]
* config/cpu/mmix/bits/cpu_limits.h: New file.
* configure.target (CPULIMITSH): Use it.

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

22 years agoTweak my last entry.
obrien [Tue, 23 Apr 2002 16:39:34 +0000 (16:39 +0000)]
Tweak my last entry.

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

22 years ago2002-04-23 David O'Brien <obrien@FreeBSD.org>
obrien [Tue, 23 Apr 2002 16:39:03 +0000 (16:39 +0000)]
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
* cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
* config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
these libraries.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020422223253.A32678@redhat.com>

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

22 years ago2002-04-23 David O'Brien <obrien@FreeBSD.org>
obrien [Tue, 23 Apr 2002 15:05:33 +0000 (15:05 +0000)]
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
* g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
* config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
these libraries.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020422223253.A32678@redhat.com>

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

22 years ago2002-04-23 David O'Brien <obrien@FreeBSD.org>
obrien [Tue, 23 Apr 2002 14:57:55 +0000 (14:57 +0000)]
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
* config/freebsd.h(OBJECT_FORMAT_ELF): Define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020422223325.B32678@redhat.com>

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

22 years agoRegenerate gcc.pot
pthomas [Tue, 23 Apr 2002 13:29:03 +0000 (13:29 +0000)]
Regenerate gcc.pot

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

22 years ago * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
hubicka [Tue, 23 Apr 2002 12:29:43 +0000 (12:29 +0000)]
* i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
workaround.
(ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
(ix86_expand_clrstr): Fix typo.
* loop.c (gen_load_of_final_value): New.
(loop_givs_rescan, strength_reduce, check_dbra_loop):
Use it.

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

22 years ago2002-04-23 Roger Sayle <roger@eyesopen.com>
aj [Tue, 23 Apr 2002 10:17:37 +0000 (10:17 +0000)]
2002-04-23  Roger Sayle  <roger@eyesopen.com>

* builtins.c (builtin_memset_gen_str): New function.
(expand_builtin_memset): Optimize the case of constant length, but
unknown value.
testsuite:
* gcc.c-torture/execute/string-opt-17.c: New test case.
* gcc.c-torture/execute/memset-2.c: New test case.

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

22 years ago PR c++/6256:
mmitchel [Tue, 23 Apr 2002 08:37:23 +0000 (08:37 +0000)]
PR c++/6256:
* pt.c (tsubst_friend_class): Handle templates with explicit
nested names.

PR c++/6331:
* typeck.c (merge_types): Remember the cv-qualification of pointer
types when merging them.

PR c++/6256:
* g++.dg/template/friend5.C: New test.

PR c++/6331:
* g++.dg/template/qual1.C: Likewise.

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

22 years ago2002-04-23 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 23 Apr 2002 07:32:08 +0000 (07:32 +0000)]
2002-04-23  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_step): Remove extraneous
        parentheses.
        (vec_ctu): Cast return.

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

22 years ago PR target/6413
amodra [Tue, 23 Apr 2002 07:20:55 +0000 (07:20 +0000)]
PR target/6413
* function.h: (struct function): Add profile_label_no field.
(current_function_profile_label_no): Define.
* function.c: (profile_label_no): New static var.
(expand_function_start): Increment it, and copy to
current_function_profile_label_no.
* output.h (profile_label_no): Delete.
* final.c (profile_label_no): Delete.
(profile_function): Use current_function_profile_label_no.
(final_end_function): Don't increment profile_label_no here.
* config/i386/i386.c (ix86_osf_output_function_prologue): Replace
profile_label_no with current_function_profile_label_no.
* config/pa/pa.c (current_function_number): Delete.
(pa_output_function_prologue): Don't output profile label here.
(hppa_profile_hook): Use label_no param rather than
current_function_number.
(FUNC_BEGIN_PROLOG_LABEL): Move to ..
* config/pa/pa.h: .. here.
(FUNCTION_PROFILER): Output profile label here.

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

22 years agoDaily bump.
gccadmin [Tue, 23 Apr 2002 07:17:20 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago * Makefile.am (toolexeclib_LTLIBRARIES): Remove.
jsturm [Tue, 23 Apr 2002 03:37:27 +0000 (03:37 +0000)]
* Makefile.am (toolexeclib_LTLIBRARIES): Remove.
(noinst_LTLIBRARIES): Add libgcjgc.la.

* Makefile.in: Rebuild.

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

22 years ago2002-04-22 Eric Christopher <echristo@redhat.com>
echristo [Tue, 23 Apr 2002 02:06:02 +0000 (02:06 +0000)]
2002-04-22  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
patch of 2002-04-09 due to binutils issues.
(FUNCTION_ARG_REGNO_P): Ensure even numbered float register.

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

22 years ago2002-04-19 David O'Brien <obrien@FreeBSD.org>
obrien [Tue, 23 Apr 2002 02:04:20 +0000 (02:04 +0000)]
2002-04-19  David O'Brien  <obrien@FreeBSD.org>
* encoding.c (MAX, MIN, ROUNDING): #undef before defining.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020419.184825.67430590.davem@redhat.com>

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

22 years ago2002-04-22 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 23 Apr 2002 00:19:14 +0000 (00:19 +0000)]
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
        constraint to 'o' for m=r and r=m alternatives.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

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

22 years ago * rtl.h (RTX_FLAG): New macro.
janis [Mon, 22 Apr 2002 23:22:33 +0000 (23:22 +0000)]
* rtl.h (RTX_FLAG): New macro.
* emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
* final.c (alter_subreg): Use macro to access rtx flag.
* integrate.c (copy_rtx_and_substitute): Use new access macro.
* print-rtl.c (print_rtx): Use new access macro.

* cse.c (insert): Check rtx code before accessing flag.

* genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
(attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
convert_const_symbol_ref, make_canonical, make_alternative_compare,
evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
simplify_test_exp, optimize_attrs, simplify_by_exploding,
find_and_mark_used_attributes, unmark_used_attributes,
add_values_to_cover, simplify_with_current_value,
simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
copy_rtx_unchanging, main): Use new access macros.

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

22 years agoGenerate constant for shift once.
trix [Mon, 22 Apr 2002 23:20:12 +0000 (23:20 +0000)]
Generate constant for shift once.

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

22 years ago * docs/html/17_intro/porting.html: Rebuilt.
ljrittle [Mon, 22 Apr 2002 22:50:40 +0000 (22:50 +0000)]
* docs/html/17_intro/porting.html: Rebuilt.

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

22 years ago * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
ljrittle [Mon, 22 Apr 2002 22:46:34 +0000 (22:46 +0000)]
* docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.

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

22 years ago * c-lex.c (lex_charconst): Call convert to get constant in
zack [Mon, 22 Apr 2002 22:25:14 +0000 (22:25 +0000)]
* c-lex.c (lex_charconst): Call convert to get constant in
proper type; don't just smash the type field.
Fixes PR c/6300.

* config.gcc: Add list of obsolete configurations.  Disallow
building these without --enable-obsolete.
* doc/install.texi: Document --enable-obsolete and obsoletion
policy.  Mention obsoletion of individual targets in
appropriate places.

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

22 years ago * jcf-parse.c: (yyparse): Don't prepend "./" to relative
mark [Mon, 22 Apr 2002 20:34:19 +0000 (20:34 +0000)]
* jcf-parse.c: (yyparse): Don't prepend "./" to relative
paths. Fixes PR java/2791.

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

22 years ago PR libstdc++/4150
jason [Mon, 22 Apr 2002 20:28:05 +0000 (20:28 +0000)]
    PR libstdc++/4150
        * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
        Move to filebuf.
        (basic_streambuf::_M_set_determinate): Likewise.
        (basic_streambuf::_M_is_indeterminate): Likewise.
        * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
        non-static data member.
        (basic_filebuf::_M_underflow_common): New non-static member function.
        (basic_filebuf::_M_underflow, _M_uflow): Call it.
        (basic_filebuf::sync): Avoid useless seeking.
        (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
        Set _M_filepos.
        (basic_filebuf::_M_set_determinate): Likewise.
        (basic_filebuf::_M_is_indeterminate): Likewise.
        * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
        back to _M_out_beg if necessary.
        (basic_filebuf::seekoff): Likewise.
        (basic_filebuf::_M_underflow_common): Generalization of old
        underflow().  Don't seek back to _M_in_beg.
        * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
        * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
        * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
        * config/os/mingw32/bits/os_defines.h: Likewise.
        * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
        ungetc test.

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

22 years ago * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
rth [Mon, 22 Apr 2002 19:54:50 +0000 (19:54 +0000)]
    * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.

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

22 years ago PR f/6138.
mmitchel [Mon, 22 Apr 2002 19:26:19 +0000 (19:26 +0000)]
PR f/6138.
* function.c (fixup_memory_subreg): Add promoted_mode parameter.
(walk_fixup_memory_subreg): Likewise.
(fixup_var_refs_insn): Adjust accordingly.
(fixup_var_refs_1): Likewise.

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

22 years ago2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 22 Apr 2002 19:10:02 +0000 (19:10 +0000)]
2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/istream.tcc (istream::read): Fix.
* testsuite/27_io/istream_unformatted.cc (main): Add.

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

22 years ago* config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
uweigand [Mon, 22 Apr 2002 18:41:07 +0000 (18:41 +0000)]
* config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
LIBPATH_ARCH64_SPEC): Define.
(EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
(STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
(LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
(LINK_ARCH64_SPEC): Add libpath_arch64 to search path.

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

22 years ago2002-04-22 Joel Sherrill <joel@OARcorp.com>
joel [Mon, 22 Apr 2002 18:26:01 +0000 (18:26 +0000)]
2002-04-22 Joel Sherrill <joel@OARcorp.com>

* gthr-rtems.h: Correct prototypes to remove warnings.

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

22 years ago * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
rth [Mon, 22 Apr 2002 18:17:06 +0000 (18:17 +0000)]
    * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).

        * gcse.c (free_insn_expr_list_list): New.
        (clear_modify_mem_tables): Use it.  Fix bit set usage.
        (canon_list_insert): Use EXPR_LISTs for expressions.
        (record_last_mem_set_info): Factor BLOCK_NUM (insn).

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

22 years ago * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
neil [Mon, 22 Apr 2002 17:48:02 +0000 (17:48 +0000)]
* cppfiles.c (_cpp_pop_file_buffer): Return void.  Move
file change and include code to _cpp_pop_buffer.
* cpphash.h (struct pending_option): Predeclare.
(struct cpp_reader): New member next_include_file.
(_cpp_pop_file_buffer): Update.
(_cpp_push_next_buffer): Update, rename.
* cppinit.c (cpp_destroy): Free include chain and pending here.
(cpp_finish_options): Simplify.
(_cpp_push_next_buffer): Rename and clean up.
* cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
Clarify.
* cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.

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

22 years ago * gcc.c-torture/execute/980707-1.c: Don't use isspace().
zack [Mon, 22 Apr 2002 17:40:50 +0000 (17:40 +0000)]
* gcc.c-torture/execute/980707-1.c: Don't use isspace().
Include stdlib.h, not stdio.h or ctype.h.

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

22 years ago2002-04-19 Andrew Haley <aph@redhat.com>
aph [Mon, 22 Apr 2002 16:55:39 +0000 (16:55 +0000)]
2002-04-19  Andrew Haley  <aph@redhat.com>

        * jcf-write.c (push_long_const): lo, hi: New variables.
        Use rshift_double to extract the high part of a 64-bit long.
        Use WORD_TO_INT to extract the low part.

        * jcf-parse.c (get_constant): CONSTANT_Integer: Use an unsigned
        HOST_WIDE_INT for num.  Use JPOOL_UINT to get it.
        CONSTANT_Double: Use JPOOL_UINT to get both halve of a double.

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

22 years ago * gcc_release (build_diffs): Remove reference to Chill.
mmitchel [Mon, 22 Apr 2002 16:00:13 +0000 (16:00 +0000)]
* gcc_release (build_diffs): Remove reference to Chill.

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

22 years agoUpdate turkish catalog
pthomas [Mon, 22 Apr 2002 14:16:46 +0000 (14:16 +0000)]
Update turkish catalog

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

22 years ago2002-04-21 David S. Miller <davem@redhat.com>
davem [Mon, 22 Apr 2002 08:13:32 +0000 (08:13 +0000)]
2002-04-21  David S. Miller  <davem@redhat.com>

* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
magic instruction reading sequence.

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

22 years agoDaily bump.
gccadmin [Mon, 22 Apr 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2002-04-22 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 22 Apr 2002 06:39:02 +0000 (06:39 +0000)]
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_xor): Add variant for both args
        being vector signed int.
        (vec_andc): Same.
        (vec_xor): Add variant for both args being vector signed char.
        Remove redundant variant.
        (vec_andc): Same.

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

22 years ago2002-04-22 David S. Miller <davem@redhat.com>
davem [Mon, 22 Apr 2002 06:07:41 +0000 (06:07 +0000)]
2002-04-22  David S. Miller  <davem@redhat.com>

* include/private/gcconfig.h: Hard-code STACKBOTTOM on
64-bit SPARC Linux, the __libc_stack_end technique does
not work in this case.

2002-04-22  Jeff Sturm  <jsturm@one-point.com>

* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.

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

22 years ago2002-04-21 David S. Miller <davem@redhat.com>
davem [Mon, 22 Apr 2002 01:25:11 +0000 (01:25 +0000)]
2002-04-21  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
compare mode in output RTL.

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

22 years ago * gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
hp [Mon, 22 Apr 2002 01:19:06 +0000 (01:19 +0000)]
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
cris-*-elf* and mmix-*-*.
* g77.f-torture/execute/io0.x: xfail for cris-*-elf.
* g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x,
g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x:
Ditto.
* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
* gcc.dg/wchar_t-1.c: Ditto.

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

22 years ago * config/rs6000/rs6000.c (rs6000_override_options): Correct
dje [Mon, 22 Apr 2002 01:01:12 +0000 (01:01 +0000)]
    * config/rs6000/rs6000.c (rs6000_override_options): Correct
        style and formatting of previous patch.

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

22 years ago * config/rs6000/rs6000.c (rs6000_override_options): Always clear
amodra [Mon, 22 Apr 2002 00:21:52 +0000 (00:21 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Always clear
flag_pic for ABI_AIX.

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

22 years ago * g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
hp [Sun, 21 Apr 2002 20:32:48 +0000 (20:32 +0000)]
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
Clarify comment.

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

22 years ago * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
neil [Sun, 21 Apr 2002 18:46:42 +0000 (18:46 +0000)]
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
* cppfiles.c (read_include_file): Similarly.
* cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
uxstrdup ustrchr, ufputs): Similarly.
* cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
* cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
cpp_ideq, parse_identifier, parse_number): Similarly.
* cpplib.c (struct directive, dequote_string, D, run_directive,
cpp_push_buffer): Similarly.
* cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
_cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Similarly.

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

22 years ago * cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
neil [Sun, 21 Apr 2002 16:17:55 +0000 (16:17 +0000)]
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
testsuite:
* gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.

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

22 years ago2002-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 21 Apr 2002 16:11:59 +0000 (16:11 +0000)]
2002-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.c-torture/execute/20000906-1.x: Delete.

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

22 years ago * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
jsm28 [Sun, 21 Apr 2002 13:59:15 +0000 (13:59 +0000)]
* gnat_rm.texi: Use @ifnottex instead of @ifinfo.

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

22 years ago * update_web_docs (MANUALS): Remove chill. Add gnat_rm.
jsm28 [Sun, 21 Apr 2002 13:50:09 +0000 (13:50 +0000)]
* update_web_docs (MANUALS): Remove chill.  Add gnat_rm.

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

22 years ago * gnat_ug.texi: New file.
fw [Sun, 21 Apr 2002 12:56:01 +0000 (12:56 +0000)]
    * gnat_ug.texi: New file.

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

22 years ago * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
mark [Sun, 21 Apr 2002 12:35:04 +0000 (12:35 +0000)]
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy.

* libjava.mauve/xfail: Expect failures for PR java/6391 and
libgcj/6389.

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

22 years ago2002-04-19 David S. Miller <davem@redhat.com>
davem [Sun, 21 Apr 2002 09:37:49 +0000 (09:37 +0000)]
2002-04-19  David S. Miller  <davem@redhat.com>

* include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
arg.
(MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
(INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
on Sparc too.
* include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
for 64-bit sparc.
(MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
* sysdeps/sparc/locks.h: New file.
* configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
on all sparc Solaris configurations.  Set to
include/dwarf2-signal.h on sparc Linux.
* configure: Regenerate
* configure.host (can_unwind_signal): sparc*-linux* can do it now.

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