OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 22 Feb 2002 11:36:26 +0000 (11:36 +0000)]
2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (target_alias): Default to yes.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
libgcc to default case.

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

22 years agoDaily bump.
gccadmin [Fri, 22 Feb 2002 08:19:09 +0000 (08:19 +0000)]
Daily bump.

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

22 years ago * Makefile.in (langhooks.o): Update dependencies.
dnovillo [Fri, 22 Feb 2002 04:42:38 +0000 (04:42 +0000)]
* Makefile.in (langhooks.o): Update dependencies.

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

22 years ago * langhooks.c: Include flags.h.
dnovillo [Fri, 22 Feb 2002 04:23:21 +0000 (04:23 +0000)]
* langhooks.c: Include flags.h.

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

22 years ago* acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
aoliva [Fri, 22 Feb 2002 03:21:28 +0000 (03:21 +0000)]
* acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
Use it.
* Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
* aclocal.m4, configure, Makefile.in: Rebuilt.

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

22 years ago* configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
aoliva [Fri, 22 Feb 2002 03:21:02 +0000 (03:21 +0000)]
* configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
libstdc++-v3 and libjava.

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

22 years agoFix typo
mmitchel [Fri, 22 Feb 2002 01:54:44 +0000 (01:54 +0000)]
Fix typo

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

22 years ago * gcc_release: Correct handling of diff-generation. Add
mmitchel [Fri, 22 Feb 2002 01:52:35 +0000 (01:52 +0000)]
* gcc_release: Correct handling of diff-generation.  Add
"diffs" major mode.

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

22 years agocl
aldyh [Fri, 22 Feb 2002 00:22:33 +0000 (00:22 +0000)]
cl

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

22 years agoforgot cl
aldyh [Fri, 22 Feb 2002 00:21:35 +0000 (00:21 +0000)]
forgot cl

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

22 years ago2002-02-21 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 22 Feb 2002 00:09:04 +0000 (00:09 +0000)]
2002-02-21  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/attr-alwaysinline.c: New.

        * c-common.c (c_common_post_options): Set inline trees by
        default.

        * doc/extend.texi (Function Attributes): Document always_inline
        attribute.
        Update documentation about inlining when not optimizing.

        * cp/decl.c (duplicate_decls): Merge always_inline attribute.

        * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
        unless DECL_ALWAYS_INLINE.

        * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
        unless DECL_ALWAYS_INLINE.
        (c_disregard_inline_limits): Disregard if always_inline set.

        * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
        Disregard if always_inline set.
        (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
        unless DECL_ALWAYS_INLINE.

        * attribs.c (handle_always_inline_attribute): New.
        (c_common_attribute_table): Add always_inline.

        * config/rs6000/altivec.h: Add prototypes for builtins
        requiring the always_inline attribute.

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

22 years ago2002-02-21 Eric Christopher <echristo@redhat.com>
echristo [Fri, 22 Feb 2002 00:07:06 +0000 (00:07 +0000)]
2002-02-21  Eric Christopher  <echristo@redhat.com>

* expmed.c (store_bit_field): Try to simplify the subreg
before generating a new one when when the mode size of
value is less than maxmode.

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

22 years ago * emit-rtl.c (offset_address): Use simplify_gen_binary rather
rth [Thu, 21 Feb 2002 23:06:16 +0000 (23:06 +0000)]
    * emit-rtl.c (offset_address): Use simplify_gen_binary rather
        than gen_rtx_PLUS to form the sum.
        * explow.c (force_reg): Rearrange to not allocate new pseudo
        when force_operand returns a register.
        * expr.c (expand_assignment): Allow offset_rtx expansion to
        return a sum.  Do not force addresses into registers.
        (expand_expr): Likewise.
        * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
        to canonicalize arithmetic that didn't simpify.
        (simplify_plus_minus): New argument force; update
        all callers.  Don't split CONST unless we can do something with it,
        and wouldn't lose the constness of the operands.

        * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
        that we generated earlier.

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

22 years ago * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
tromey [Thu, 21 Feb 2002 23:03:14 +0000 (23:03 +0000)]
* dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
(output_line_info): Use constant `1', with a long explanatory
comment.
* system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.

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

22 years ago * jump.c (redirect_jump): If old label has no UID, don't try to
amylaar [Thu, 21 Feb 2002 22:48:02 +0000 (22:48 +0000)]
* jump.c (redirect_jump): If old label has no UID, don't try to
delete it.

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

22 years ago * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
amylaar [Thu, 21 Feb 2002 21:29:28 +0000 (21:29 +0000)]
* sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
If input is constant, do shifts at compile time.

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

22 years ago * doc/extend.texi: Fix some more overfull hboxes.
jsm28 [Thu, 21 Feb 2002 21:22:09 +0000 (21:22 +0000)]
* doc/extend.texi: Fix some more overfull hboxes.

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

22 years ago PR optimization/4994
jakub [Thu, 21 Feb 2002 21:16:22 +0000 (21:16 +0000)]
PR optimization/4994
* config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
register moves.

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

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

22 years ago PR c++/4574
jakub [Thu, 21 Feb 2002 21:11:08 +0000 (21:11 +0000)]
PR c++/4574
* expr.h (expand_and): Add mode argument.
* expmed.c (expand_and): Add mode argument.
(expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
* expr.c (store_field, expand_expr, do_store_flag): Likewise.
* except.c (expand_builtin_extract_return_addr): Likewise.
* config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
* config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
* config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
* config/c4x/c4x.md: Use GEN_INT (x) instead of
gen_rtx (CONST_INT, VOIDmode, x).

* gcc.dg/20020220-1.c: New test.

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

22 years ago PR c/4697:
jakub [Thu, 21 Feb 2002 20:23:48 +0000 (20:23 +0000)]
PR c/4697:
* stmt.c (warn_if_unused_value): Move side effects test once more.

* gcc.dg/20020220-2.c: New test.

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

22 years ago * config/avr/avr.md: Add more patterns for mized-mode add and subtract
denisc [Thu, 21 Feb 2002 19:27:50 +0000 (19:27 +0000)]
* config/avr/avr.md: Add more patterns for mized-mode add and subtract
        (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).

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

22 years ago* rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
aoliva [Thu, 21 Feb 2002 19:21:35 +0000 (19:21 +0000)]
* rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
SUBREG or ZERO_EXTEND.

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

22 years ago2002-02-21 Andreas Tobler <toa@pop.agri.ch>
dje [Thu, 21 Feb 2002 19:14:28 +0000 (19:14 +0000)]
2002-02-21  Andreas Tobler  <toa@pop.agri.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Skip appropriate
        number of GPRs for floating-point arguments.

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

22 years ago * sh.h (current_function_anonymous_args): Remove.
amylaar [Thu, 21 Feb 2002 16:42:28 +0000 (16:42 +0000)]
* sh.h (current_function_anonymous_args): Remove.
(SETUP_INCOMING_VARARGS): Don't set it - just check that one
of current_function_varargs and current_function_stdarg is set.
* sh.c (sh_expand_prologue): Check current_function_varargs /
current_function_stdarg / TARGET_SH5 instead of
current_function_anonymous_args.

* sh64.h (TARGET_VERSION): Define.

Fix comments that to refer to SH architecture -
the architecture is no longer exclusive to Hitachi.

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

22 years ago * Makefile.am (libgcj.jar:): Change to -CLASSPATH
nferrier [Thu, 21 Feb 2002 10:58:12 +0000 (10:58 +0000)]
* Makefile.am (libgcj.jar:): Change to -CLASSPATH
(.class.h:): Ditto.
(java/lang/ClassLoader.h:): Ditto.
(java/lang/Thread.h:): Ditto.
(java/lang/String.h:): Ditto.
(java/lang/reflect/Constructor.h:): Ditto.
(java/lang/reflect/Field.h:): Ditto.
(java/lang/reflect/Method.h:): Ditto.
(gnu/gcj/runtime/VMClassLoader.h:): Ditto.
(java/io/ObjectInputStream$$GetField.h:): Ditto.
(java/io/ObjectOutputStream$$PutField.h:): Ditto.
* Makefile.in: Rebuilt with libgcj Automake.

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

22 years agoDaily bump.
gccadmin [Thu, 21 Feb 2002 08:16:32 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago- remove mistaken ChangeLog item.
dje [Thu, 21 Feb 2002 02:48:08 +0000 (02:48 +0000)]
- remove mistaken ChangeLog item.

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

22 years ago2002-02-20 David Edelsohn <edelsohn@gnu.org>
dje [Thu, 21 Feb 2002 02:34:20 +0000 (02:34 +0000)]
2002-02-20  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
        VRSAVE_REGNO on TARGET_ALTIVEC.

2002-02-20  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
        bits of SImode const_int.
        (includes_rshift_p): Likewise.
        (print_operand): Call mask_operand and mask64_operand with correct
        mode.
        (rs6000_output_function_epilogue): Pad traceback table to word.
        * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
        (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
        mask64_operand with correct mode.
        (RETURN_IN_MEMORY): Use HOST_WIDE_INT, not HOST_WIDEST_INT.
        (FUNCTION_ARG_REGNO_P): Correct parentheses.

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

22 years ago * gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option
nferrier [Wed, 20 Feb 2002 23:22:32 +0000 (23:22 +0000)]
* gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option
  `--CLASSPATH' becomes `--classpath.'
* gjavah.c: Likewise.
* jcf-dump.c: Likewise.
* lang-options.h: Likewise.
* lang.c: Likewise.
* jcf-path.c: Updated comment.
(jcf_path_classpath_arg): Renamed `jcf_path_CLASSPATH_arg.'
(jcf_path_CLASSPATH_arg): Renamed `jcf_path_classpath_arg.'
* jcf.h (jcf_path_CLASSPATH_arg): Ditto.
(jcf_path_CLASSPATH_arg): Ditto.
(classpath_u): Updated leading comment.

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

22 years ago PR debug/4461
jakub [Wed, 20 Feb 2002 23:19:24 +0000 (23:19 +0000)]
PR debug/4461
* varasm.c (get_pool_constant_mark): New.
* rtl.h (get_pool_constant_mark): Add prototype.
* dwarf2out.c (mem_loc_descriptor): A pool constant cannot
be represented if it has not been output.

* gcc.dg/debug/20020220-1.c: New test.

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

22 years ago* combine.c (do_SUBST): Sanity check substitutions of
aoliva [Wed, 20 Feb 2002 23:15:00 +0000 (23:15 +0000)]
* combine.c (do_SUBST): Sanity check substitutions of
CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
(subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
CONST_INT into its operand.
(known_cond): Likewise, for ZERO_EXTEND.
* simplify-rtx.c (simplify_unary_operation): Fix condition to
allow for simplification of wide modes.  Reject CONST_INTs in
ZERO_EXTEND when their actual mode is not given.

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

22 years ago* gcc.c-torture/compile/20020110.c: New test.
aoliva [Wed, 20 Feb 2002 23:13:17 +0000 (23:13 +0000)]
* gcc.c-torture/compile/20020110.c: New test.

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

22 years ago * gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option
nferrier [Wed, 20 Feb 2002 23:12:25 +0000 (23:12 +0000)]
* gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option
  `--CLASSPATH' becomes `--classpath.'
        * gjavah.c: Likewise.
        * jcf-dump.c: Likewise.
        * lang-options.h: Likewise.
        * lang.c: Likewise.
        * jcf-path.c: Updated comment.
        (jcf_path_classpath_arg): Renamed `jcf_path_CLASSPATH_arg.'
        (jcf_path_CLASSPATH_arg): Renamed `jcf_path_classpath_arg.'
        * jcf.h (jcf_path_CLASSPATH_arg): Ditto.
        (jcf_path_CLASSPATH_arg): Ditto.
        (classpath_u): Updated leading comment.

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

22 years ago* c-decl.c (pushdecl): If no global declaration is found for an
aoliva [Wed, 20 Feb 2002 23:10:36 +0000 (23:10 +0000)]
* c-decl.c (pushdecl): If no global declaration is found for an
extern declaration in block scope, try a limbo one.

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

22 years ago PR c++/4401
jakub [Wed, 20 Feb 2002 23:05:47 +0000 (23:05 +0000)]
PR c++/4401
* c-common.c (pointer_int_sum): Moved from...
* c-typeck.c (pointer_int_sum): ...here.
* c-common.h (pointer_int_sum): Add prototype.

* typeck.c (cp_pointer_int_sum): Renamed from
pointer_int_sum, call pointer_int_sum.

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

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

22 years ago PR c++/5713
jakub [Wed, 20 Feb 2002 22:59:35 +0000 (22:59 +0000)]
PR c++/5713
* c-decl.c (duplicate_decls): Return 0 if issued error about
redeclaration.

* decl.c (duplicate_decls): Return 0 if issued error about
redeclaration.

* gcc.dg/noncompile/20020220-1.c: New test.

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

22 years ago PR c/4389
jakub [Wed, 20 Feb 2002 22:54:35 +0000 (22:54 +0000)]
PR c/4389
* tree.c (host_integerp): Ensure that the constant integer is
representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
when pos is zero or non-zero respectively.  Clarify comment.
* c-format.c (check_format_info_recurse): Fix host_integerp
usage; the pos argument should be zero when assigning to a
signed HOST_WIDE_INT.

* gcc.dg/20020219-1.c: New test.

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

22 years ago2002-02-20 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 20 Feb 2002 22:10:39 +0000 (22:10 +0000)]
2002-02-20  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
(GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
* configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.
* config/linker-map.dummy:  New file.  Contains nothing useful.

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

22 years ago * config/i386/i386.c (ix86_expand_vector_move): Use the mode
rth [Wed, 20 Feb 2002 21:57:23 +0000 (21:57 +0000)]
    * config/i386/i386.c (ix86_expand_vector_move): Use the mode
        of the operand, rather than assuming TImode.
        (ix86_expand_binop_builtin): Cope with commutative patterns
        using nonimmediate_operand for both operands.
        (ix86_expand_timode_binop_builtin): Likewise.
        (ix86_expand_store_builtin): Validate operand 1.
        (ix86_expand_unop1_builtin): Likewise.

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

22 years ago2002-02-20 Philip Blundell <philb@gnu.org>
pb [Wed, 20 Feb 2002 21:39:56 +0000 (21:39 +0000)]
2002-02-20  Philip Blundell  <philb@gnu.org>

PR 5705
* config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.

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

22 years ago2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 20 Feb 2002 21:06:42 +0000 (21:06 +0000)]
2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/money_put_members_char.cc: Fix.
* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.

* testsuite/27_io/standard_manipulators.cc: New file.

* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().

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

22 years ago * builtins.c (check_for_builtin): New function.
bothner [Wed, 20 Feb 2002 19:53:49 +0000 (19:53 +0000)]
* builtins.c (check_for_builtin):  New function.
(build_call_or_builtin):  Remove.
* java-tree.h:  Update accordingly.
* expr.c (expand_invoke):  Use build + check_for_builtin instead
of build_call_or_builtin.
* parse.y (patch_invoke):  Likewise.  This avoids needlessly creating
a new CALL_EXPR node, which means we don't lose the CALL_USING_SUPER
flag (which had caused jcf-write to incorrectly emit invokevirtual).

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

22 years ago * gcc.c-torture/execute/20020219-1.c: New test.
jakub [Wed, 20 Feb 2002 19:46:29 +0000 (19:46 +0000)]
* gcc.c-torture/execute/20020219-1.c: New test.

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

22 years ago PR c/5615
rth [Wed, 20 Feb 2002 18:34:28 +0000 (18:34 +0000)]
    PR c/5615
        * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.

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

22 years ago * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
tromey [Wed, 20 Feb 2002 18:31:24 +0000 (18:31 +0000)]
* config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
unconditionally.

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

22 years agoWed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
alanm [Wed, 20 Feb 2002 18:19:38 +0000 (18:19 +0000)]
Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>

* config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
  for (const_int 0) in X not just INTVAL.

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

22 years ago * doc/extend.texi: Avoid or reduce overfull hboxes.
jsm28 [Wed, 20 Feb 2002 18:11:53 +0000 (18:11 +0000)]
* doc/extend.texi: Avoid or reduce overfull hboxes.

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

22 years ago2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
bkoz [Wed, 20 Feb 2002 17:18:00 +0000 (17:18 +0000)]
2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/mingw32/bits/ctype_noninline.h
(ctype<char>::ctype): Remove default args from parm list.
* config/os/djgpp/bits/ctype_noninline.h: Same.

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

22 years ago * expmed.c (store_bit_field): Do not store bit fields using SUBREG
dnovillo [Wed, 20 Feb 2002 13:53:13 +0000 (13:53 +0000)]
* expmed.c (store_bit_field): Do not store bit fields using SUBREG
operations if the field does not start at a mode boundary.

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

22 years ago2001-02-20 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 20 Feb 2002 12:15:06 +0000 (12:15 +0000)]
2001-02-20 Joel Sherrill <joel@OARcorp.com>

* config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
Also done for -Acpu and -Amachine.

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

22 years ago * Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
bryce [Wed, 20 Feb 2002 08:46:41 +0000 (08:46 +0000)]
* Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
* Makefile.in: Rebuilt.

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

22 years agoDaily bump.
gccadmin [Wed, 20 Feb 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * cppinit.c (init_dependency_output): Take deps output file
neil [Wed, 20 Feb 2002 07:24:10 +0000 (07:24 +0000)]
* cppinit.c (init_dependency_output): Take deps output file
from -o if none given with -MF.  Suppress normal output.
* gcc.c (cpp_unique_options): Have -M and -MM imply -E.
* doc/cpp.texi, doc/invoke.texi: Update.

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

22 years ago * toplev.c (output_quoted_string): Write unprintable
zack [Wed, 20 Feb 2002 05:04:39 +0000 (05:04 +0000)]
* toplev.c (output_quoted_string): Write unprintable
characters with octal escapes.

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

22 years ago2002-02-19 David Edelsohn <edelsohn@gnu.org>
dje [Wed, 20 Feb 2002 04:56:34 +0000 (04:56 +0000)]
2002-02-19  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
        really_call_used[VRSAVE_REGNO] if not Altivec.

2002-02-19  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
        MODE_MASK.
        (constant_pool_expr_1): Fix formatting.
        (rs6000_legitimize_reload_address): Likewise.

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

22 years ago * libjava.lang/stringconst.xfail: xfail-output -> xfail-source-output.
bryce [Wed, 20 Feb 2002 04:18:54 +0000 (04:18 +0000)]
* libjava.lang/stringconst.xfail: xfail-output -> xfail-source-output.

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

22 years ago * lib/libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
bryce [Wed, 20 Feb 2002 04:14:15 +0000 (04:14 +0000)]
* lib/libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
Don't display expected and actual output for a failed output test.

* libjava.lang/ArrayStore.java: New file.
* libjava.lang/ArrayStore.out: New file.
* libjava.lang/ArrayStore.xfail: New file. xfail-byte-output.
* libjava.lang/ArrayStore2.java: New file.
* libjava.lang/ArrayStore2.out: New file.
* libjava.lang/ArrayStore2.xfail: New file. xfail-source-output.

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

22 years ago ABI change: Mangle `void (A::*)() const' as
jason [Wed, 20 Feb 2002 04:09:05 +0000 (04:09 +0000)]
ABI change: Mangle `void (A::*)() const' as
M1AKFvvE, not MK1AFvvE.
* mangle.c (write_function_type): Write cv-quals for member
function type here.
(write_pointer_to_member_type): Not here.

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

22 years ago Fix for PR libgcj/5696:
tromey [Wed, 20 Feb 2002 03:16:30 +0000 (03:16 +0000)]
Fix for PR libgcj/5696:
* verify.cc (is_assignable_from_slow): Never call
_Jv_IsAssignableFrom.
(verify_instructions_0): Added new debug statement.
(state::print): Print information about whether local has
changed.
(state::merge): Don't call note_variable when merging locals.
(state::set_exception): Removed old FIXME comment.

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

22 years ago * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
kenner [Wed, 20 Feb 2002 01:21:06 +0000 (01:21 +0000)]
* config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
now that we have one.

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

22 years ago2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 20 Feb 2002 00:58:17 +0000 (00:58 +0000)]
2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_iomanip.h: Inline, tweaks.
* config/linker-map.gnu: Remove hacks.

* testsuite/21_strings/capacity.cc: Add explicit instantiations.
* testsuite/27_io/ios_init.cc: Same.
* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.

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

22 years ago * tree.h (struct tree_common): Remove aux. Add unused_0 at
zack [Wed, 20 Feb 2002 00:19:33 +0000 (00:19 +0000)]
* tree.h (struct tree_common): Remove aux.  Add unused_0 at
end of first block of bitfields (which was only seven bits);
rename dummy to unused_1; remove comment which is no longer true.

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

22 years ago * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
gerald [Tue, 19 Feb 2002 22:51:17 +0000 (22:51 +0000)]
* doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.

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

22 years agoDuh, fix PR number in last commit.
pb [Tue, 19 Feb 2002 22:26:38 +0000 (22:26 +0000)]
Duh, fix PR number in last commit.

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

22 years ago2002-02-19 Philip Blundell <pb@nexus.co.uk>
pb [Tue, 19 Feb 2002 22:23:56 +0000 (22:23 +0000)]
2002-02-19  Philip Blundell  <pb@nexus.co.uk>

PR 5185
* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
if generating PIC.

PR 5054
* config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
arm_is_longcall_p rather than inspecting call-type cookie
directly.
(call_value_insn) [TARGET_THUMB]: Likewise.

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

22 years ago2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 19 Feb 2002 21:47:05 +0000 (21:47 +0000)]
2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Export global vtable, typeinfo, guard
variable, and thunk info as per CXXABI docs.

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

22 years ago2002-02-19 Loren Rittle <ljrittle@acm.org>
ljrittle [Tue, 19 Feb 2002 21:37:37 +0000 (21:37 +0000)]
2002-02-19  Loren Rittle <ljrittle@acm.org>

* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
* include/Makefile.in: Rebuilt.

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

22 years ago * config/i386/i386.c (ix86_expand_builtin): Fix typo.
grahams [Tue, 19 Feb 2002 20:05:28 +0000 (20:05 +0000)]
  * config/i386/i386.c (ix86_expand_builtin): Fix typo.

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

22 years ago* testsuite/demangle-expected: Add test case for infinite loop in
dj [Tue, 19 Feb 2002 20:02:16 +0000 (20:02 +0000)]
* testsuite/demangle-expected: Add test case for infinite loop in
demangler.
* cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
if do_type() doesn't make any progress --- prevents an infinite
loop.

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

22 years agoAdd (FP_SAVE_INLINE): Delete. to previous entry.
dje [Tue, 19 Feb 2002 19:46:51 +0000 (19:46 +0000)]
Add (FP_SAVE_INLINE): Delete. to previous entry.

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

22 years ago * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
dje [Tue, 19 Feb 2002 19:40:41 +0000 (19:40 +0000)]
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
({STARTFILE,ENDFILE}_LINUX_SPEC): Define.

* config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
* config/rs6000/eabi.asm: Remove ABI save restore routines.
* config/rs6000/t-ppccomm: Build crtsavres.o.
* config/rs6000/crtsavres.asm: New file.

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

22 years ago2002-02-19 Philip Blundell <philb@gnu.org>
pb [Tue, 19 Feb 2002 18:08:10 +0000 (18:08 +0000)]
2002-02-19  Philip Blundell  <philb@gnu.org>

* config/arm/arm.c (use_return_insn): Don't reject interrupt
functions.
(arm_compute_save_reg_mask): Save LR for interrupt functions too.
(output_return_instruction): Allow interrupt functions to return with
ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
(arm_expand_prologue): Subtract 4 before stacking LR in an
interrupt function.

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

22 years ago2002-02-19 Philip Blundell <pb@nexus.co.uk>
pb [Tue, 19 Feb 2002 18:04:05 +0000 (18:04 +0000)]
2002-02-19  Philip Blundell  <pb@nexus.co.uk>

* config/arm/arm.c (arm_encode_call_attribute): Operate on any
decl, not just FUNCTION_DECL.
(legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
(arm_assemble_integer): Likewise.
* config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
marked local.

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

22 years ago2002-02-19 matthew green <mrg@eterna.com.au>
thorpej [Tue, 19 Feb 2002 17:43:25 +0000 (17:43 +0000)]
2002-02-19  matthew green  <mrg@eterna.com.au>

* config.gcc (sparc-*-netbsdelf*): Enable target.
(sparc64-*-netbsd*): New target.
* config/sparc/netbsd-elf.h: New file.
* config/sparc/t-netbsd64: New file.

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

22 years ago * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
gerald [Tue, 19 Feb 2002 17:27:12 +0000 (17:27 +0000)]
* doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.

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

22 years ago * doc/invoke.texi: explicitly list the style guidelines that
jason [Tue, 19 Feb 2002 14:05:53 +0000 (14:05 +0000)]
    * doc/invoke.texi: explicitly list the style guidelines that
        -Weffc++ checks for.

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

22 years ago * regmove.c (regmove_optimize): Avoid increasing of register pressure.
hubicka [Tue, 19 Feb 2002 11:39:01 +0000 (11:39 +0000)]
* regmove.c (regmove_optimize): Avoid increasing of register pressure.

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

22 years agoDaily bump.
gccadmin [Tue, 19 Feb 2002 08:16:52 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * gcc.c (cpp_unique_options): Treat -o as indicating object file
neil [Tue, 19 Feb 2002 07:44:38 +0000 (07:44 +0000)]
* gcc.c (cpp_unique_options): Treat -o as indicating object file
only if not -E.  If -E, pass -o through to the preprocessor.

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

22 years ago * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
kazu [Tue, 19 Feb 2002 07:36:55 +0000 (07:36 +0000)]
* config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
register number with an appropriate macro.

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

22 years ago2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Tue, 19 Feb 2002 05:59:09 +0000 (05:59 +0000)]
2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/22_locale/collate_byname.cc (test01): Replace size4
          with size3 for the string collations of str5.

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

22 years ago * doc/rtl.texi (Constants): Close @code tag.
bryce [Tue, 19 Feb 2002 05:01:24 +0000 (05:01 +0000)]
* doc/rtl.texi (Constants): Close @code tag.

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

22 years agoforgot cl entries
aldyh [Tue, 19 Feb 2002 03:26:19 +0000 (03:26 +0000)]
forgot cl entries

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

22 years ago2002-02-19 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 19 Feb 2002 02:53:41 +0000 (02:53 +0000)]
2002-02-19  Aldy Hernandez  <aldyh@redhat.com>

* config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
("mmx_uavgv4hi3"): Same.
("pmulhrwv4hi3"): Same.

* tree-inline.c (walk_tree): Handle vectors.

* c-common.c (constant_expression_warning): Handle vectors.
(overflow_warning): Same.

* sched-deps.c (sched_analyze_2): Handle vectors.

* rtlanal.c (rtx_unstable_p): Handle vectors.
(rtx_varies_p): Same.
(count_occurrences): Same.
(regs_set_between_p): Same.
(modified_between_p): Same.
(modified_in_p): Same.
(volatile_insn_p): Same.
(volatile_refs_p): Same.
(side_effects_p): Same.
(may_trap_p): Same.
(inequality_comparisons_p): Same.
(replace_regs): Same.
(computed_jump_p_1): Same.

* rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
argument.
(inner_mode_array): New.
(copy_rtx): Handle vectors.
(copy_most_rtx): Same.
(rtx_equal_p): Same.
(get_mode_alignment): Adjust for vectors.

* resource.c (mark_referenced_resources): Handle vectors.
(mark_set_resources): Same.

* reload1.c (eliminate_regs): Handle vectors.
(elimination_effects): Same.
(scan_paradoxical_subregs): Same.

* reload.c (subst_reg_equivs): Handle vectors.

* regrename.c (scan_rtx): Handle vectors.

* regclass.c (reg_scan_mark_refs): Handle vectors.

* recog.c (find_single_use_1): Handle vectors.

* local-alloc.c (equiv_init_varies_p): Handle vectors.
(contains_replace_regs): Same.
(memref_referenced_p): Same.

* integrate.c (copy_rtx_and_substitute): Handle vectors.
(subst_constants): Same.

* genattrtab.c (attr_copy_rtx): Handle vectors.
(encode_units_mask): Same.
(clear_struct_flag): Same.
(count_sub_rtxs): Same.

* gcse.c (want_to_gcse_p): Handle vectors.
(oprs_unchanged_p): Same.
(hash_expr_1): Same.
(oprs_not_set_p): Same.
(expr_killed_p): Same.
(compute_transp): Same.
(store_ops_ok): Same.

* function.c (purge_addressof_1): Do not allow paradoxical subregs
of vectors.
(fixup_var_refs_1): Same.
(instantiate_virtual_regs_1): Same.

* fold-const.c (operand_equal_p): Handle vectors.
(fold): Same.
(rtl_expr_nonnegative_p): Same.

* flow.c (mark_used_regs): Handle vectors.

* df.c (df_uses_record): Handle vectors.

* cselib.c (cselib_subst_to_values): Handle vectors.
(cselib_mem_conflict_p): Same.
(hash_rtx): Same.

* cse.c (canon_reg): Handle vectors.
(fold_rt): Same.
(cse_process_notes): Same.
(count_reg_usage): Same.
(canon_hash): Same.

* alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.

* combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.

* emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
(gen_rtx): Handle CONST_VECTOR.
(gen_const_vector_0): New.
(copy_rtx_if_shared): CONST_VECTORs can be shared.
(reset_used_flags): Same.
(copy_insn_1): Same.
(initializer_constant_valid_p): Handle VECTOR_CST.

* doc/c-tree.texi (Expression trees): Document VECTOR_CST.

* doc/rtl.texi (Constants): Document const_vector.
(CONST0_RTX): Update for vectors.
(RTL sharing): Same.

* print-tree.c (print_node): Add case for VECTOR_CST.

* tree.h (TREE_VECTOR_CST_ELTS): New.
(struct tree_vector): New.
(union tree_node): Add vector node.
(build_vector): Add prototype.

* tree.def (VECTOR_CST): New.

* tree.c (build_vector): New.

* expmed.c (make_tree): Handle CONST_VECTOR.

* rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
(CONST_VECTOR_ELT): New.
(CONST_VECTOR_NUNITS): New.

* machmode.h (GET_MODE_INNER): New.
(DEF_MACHMODE): Accept 8th arg.

* machmode.def: Add 8th argument for vector inner mode.
Add inner vector modes for vectors.

* rtl.def (VEC_CONST): Remove.
(CONST_VECTOR): New.

* expr.c (clear_storage): Allow vectors.
(is_zeros_p): Handle VECTOR_CST.

* varasm.c (output_constant_pool): Handle vectors.
(rtx_const): Add veclo and vechi fields.
(kind): Add RTX_VECTOR.
(decode_rtx_const): Add case for vector.

* config/rs6000/rs6000-protos.h: Add zero_constant.

* config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
constants.  Force easy vector constants into memory.
(easy_vector_constant): New.
(emit_easy_vector_constant): New.
(rs6000_legitimize_reload_address): Do not generate bad reloads on
darwin.

* config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
instruction does.
("altivec_lvxl"): Same.
(altivec_lvebx): Same.
(altivec_lvehx): Same.
(altivec_lvewx): Same.
("*movv4si_const0"): New.
("*movv4sf_const0"): New.
("*movv8hi_const0"): New.
("*movv16qi_const0"): New.

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

22 years ago2002-02-18 Carlo Wood <carlo@gnu.org>
rodrigc [Mon, 18 Feb 2002 22:41:45 +0000 (22:41 +0000)]
2002-02-18  Carlo Wood  <carlo@gnu.org>

PR c++/5390
        * cplus-dem.c (demangle_integral_value): Accept multi-digit
        numbers that do not start with an underscore; This is needed
        for integer template parameters. This doesn't break anything
        because multi-digit numbers are never followed by a digit.
        * testsuite/demangle-expected: Corrected all mangled test
        cases with multi-digit template parameters: g++ 2.95.x does
        not generate underscores around these parameters.

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

22 years ago * config/h8300/h8300.c (notice_update_cc): Use
kazu [Mon, 18 Feb 2002 22:37:04 +0000 (22:37 +0000)]
* config/h8300/h8300.c (notice_update_cc): Use
cc_status.value2.

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

22 years ago * config/h8300/h8300.md (divmod patterns): Change the
kazu [Mon, 18 Feb 2002 22:20:58 +0000 (22:20 +0000)]
* config/h8300/h8300.md (divmod patterns): Change the
constraints for operands[1] to register_operand.

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

22 years ago * config/h8300/h8300-protos.h: Remove the prototype for
kazu [Mon, 18 Feb 2002 22:07:42 +0000 (22:07 +0000)]
* config/h8300/h8300-protos.h: Remove the prototype for
p_operand.
* config/h8300/h8300.c (p_operand): Remove.
* config/h8300/h8300.md: Replace p_operand with
const_int_operand.

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

22 years ago2002-02-18 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 18 Feb 2002 21:23:26 +0000 (21:23 +0000)]
2002-02-18  Paolo Carlini  <pcarlini@unitus.it>

libstdc++/5708
* include/bits/locale_facets.tcc (money_put::do_put):
For the space field use __fill instead of ' ', uniformly.
* testsuite/22_locale/money_put_members_char.cc:
Add test05 distilled from PR.
(test01-02-03): Trim some '*' to ' '.
* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

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

22 years ago libstdc++/5697
ljrittle [Mon, 18 Feb 2002 20:23:56 +0000 (20:23 +0000)]
libstdc++/5697
* include/Makefile.am (thread_builddir): Remove (map all
existing uses to target_builddir).
(thread_headers): Rename to...
(thread_target_headers): ...this.
(stamp-thread): Remove.
(stamp-target): Correctly state the position as built.
Update all dependencies to match the new reality.  Remove all
dependency calculations on directories.
* include/Makefile.in: Rebuilt.

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

22 years ago2002-02-18 Philip Blundell <pb@nexus.co.uk>
pb [Mon, 18 Feb 2002 19:37:33 +0000 (19:37 +0000)]
2002-02-18 Philip Blundell <pb@nexus.co.uk>

* config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
comment.
(output_return_instruction): Allow use of LDR to unstack
return addresss even for interrupt handlers or when
interworking.  If compiling for ARMv5, use interworking-safe
return instructions by default.  Remove duplicated code and
lengthy "strcat" sequences.

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

22 years ago 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 18 Feb 2002 18:46:19 +0000 (18:46 +0000)]
2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
(LINK_EH_SPEC): Define.
* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.

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

22 years ago * config/s390/s390.c (s390_emit_prologue): Do not set the
uweigand [Mon, 18 Feb 2002 18:17:52 +0000 (18:17 +0000)]
* config/s390/s390.c (s390_emit_prologue): Do not set the
frame_related flag for call-clobbered registers.

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

22 years ago * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
hubicka [Mon, 18 Feb 2002 14:09:39 +0000 (14:09 +0000)]
* i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
(construct_container): Fix handling of SSE operands.
(ix86_expand_builtin): Fix handling of 64bit pointers.
(mmx_maskmovq_rex): New pattern.

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

22 years ago2002-02-18 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 18 Feb 2002 11:20:09 +0000 (11:20 +0000)]
2002-02-18  Philipp Thomas  <pthomas@suse.de>

* es.po, fr.po: Updated to newest version.
* nl.po: New files.

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

22 years ago * regrename.c (kill_set_value): Handle subregs properly.
hubicka [Mon, 18 Feb 2002 10:57:30 +0000 (10:57 +0000)]
* regrename.c (kill_set_value): Handle subregs properly.

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

22 years agoDaily bump.
gccadmin [Mon, 18 Feb 2002 08:16:15 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
bryce [Mon, 18 Feb 2002 07:32:34 +0000 (07:32 +0000)]
2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
enable SO_BROADCAST.

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

22 years ago * java-tree.h (TYPE_STRICTFP): New macro.
tromey [Mon, 18 Feb 2002 04:55:07 +0000 (04:55 +0000)]
* java-tree.h (TYPE_STRICTFP): New macro.
(struct lang_type) [strictfp]: New field.
(CLASS_STRICTFP): New macro.
(METHOD_STRICTFP): New macro.
(struct lang_decl) [strictfp]: New field.
* parse.y (method_header): Disallow strictfp constructor or
abstract method.
(STRICT_TK): Move before MODIFIER_TK.
* parse.h (CLASS_MODIFIERS): Added ACC_STRICT.
(METHOD_MODIFIERS): Likewise.
(INTERFACE_MODIFIERS): Likewise.
* jcf-write.c (get_access_flags): Likewise.
* class.c (set_class_decl_access_flags): Recognize ACC_STRICT.
(add_method_1): Likewise.
(get_access_flags_from_decl): Likewise.
* jcf-dump.c (print_access_flags): Print in standard order.  Also,
recognize strictfp flag.
* jcf.h (ACC_STRICT): New define.

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

22 years ago2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Mon, 18 Feb 2002 03:54:30 +0000 (03:54 +0000)]
2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>

* objc/objc-act.c (handle_impent): Remove leading '*'
from objc_class_name.

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