gcc.git
22 years agoparse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (other...
Per Bothner [Fri, 22 Feb 2002 13:57:43 +0000 (05:57 -0800)]
parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (otherwise generate_bytecode_insns...

* parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call
to finit$ (otherwise generate_bytecode_insns drops it). However, we
don't need to set it on the COMPOUND_EXPR - the caller does that.

From-SVN: r49966

22 years agoConnection.java (conect): Open the input and/or output streams immediately here,...
Per Bothner [Fri, 22 Feb 2002 13:53:23 +0000 (05:53 -0800)]
Connection.java (conect): Open the input and/or output streams immediately here, instead of using File.exists.

* gnu/gcj/protocol/file/Connection.java (conect):  Open the input
and/or output streams immediately here, instead of using File.exists.
(inputStream, outputStream):  New fields to save open streams.
(getInputStream, getOutputStream):  Use already-opened streams.

From-SVN: r49965

22 years agoconfigure.in (target_alias): Default to yes.
Benjamin Kosnik [Fri, 22 Feb 2002 12:09:56 +0000 (12:09 +0000)]
configure.in (target_alias): Default to yes.

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.

From-SVN: r49962

22 years agoPR c++/2645, DR 295
Nathan Sidwell [Fri, 22 Feb 2002 11:57:52 +0000 (11:57 +0000)]
PR c++/2645, DR 295

cp:
PR c++/2645, DR 295
* cp-tree.h (tsubst_flags_t): Add tf_ignore_bad_quals,
tf_keep_type_decl.
(make_typename_type): Use tsubst_flags_t.
* decl.c (make_typename_type): Adjust. Return non-artificial
TYPE_DECLs, if required.
(grokdeclarator): Simplify CVR qualification handling. Allow bad
qualifiers on typedef types.
* decl2.c (handle_class_head): Adjust make_typename_type call.
* parse.y (nested_name_specifier): Likewise.
(typename_sub0): Likewise.
(typename_sub1): Likewise.
* pt.c (convert_template_argument): Adjust make_typename_type
return value.
(tsubst): Adjust cp_build_qualified_type_real calls.
(check_cv_quals_for_unify): Cope with alowing bad qualifications
on template type parms.
(instantiate_decl): Recheck substitutions to give warnings on bad
qualifications.
* tree.c (cp_build_qualified_type_real): Use tf_allow_bad_quals.
testsuite:
* g++.dg/template/qualttp19.C: New test.
* g++.dg/template/qualttp20.C: New test.
* g++.old-deja/g++.jason/report.C: Adjust expected errors
* g++.old-deja/g++.other/qual1.C: Likewise.

From-SVN: r49961

22 years ago* fold-const.c (fold): Fix typo in comments.
Richard Sandiford [Fri, 22 Feb 2002 11:50:47 +0000 (11:50 +0000)]
* fold-const.c (fold): Fix typo in comments.

From-SVN: r49960

22 years agoconfigure.in (target_alias): Default to yes.
Benjamin Kosnik [Fri, 22 Feb 2002 11:36:26 +0000 (11:36 +0000)]
configure.in (target_alias): Default to yes.

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.

From-SVN: r49959

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

From-SVN: r49957

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

From-SVN: r49956

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

From-SVN: r49955

22 years agoacinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
Alexandre Oliva [Fri, 22 Feb 2002 03:21:28 +0000 (03:21 +0000)]
acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.

* 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.

From-SVN: r49954

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

* configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
libstdc++-v3 and libjava.

From-SVN: r49953

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

[[Split portion of a mixed commit.]]

From-SVN: r49952.2

22 years agogcc_release: Correct handling of diff-generation.
Mark Mitchell [Fri, 22 Feb 2002 01:52:35 +0000 (01:52 +0000)]
gcc_release: Correct handling of diff-generation.

* gcc_release: Correct handling of diff-generation.  Add
"diffs" major mode.

[[Split portion of a mixed commit.]]

From-SVN: r49951.2

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

From-SVN: r49949

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

From-SVN: r49948

22 years agoattr-alwaysinline.c: New.
Aldy Hernandez [Fri, 22 Feb 2002 00:09:04 +0000 (00:09 +0000)]
attr-alwaysinline.c: New.

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.

From-SVN: r49947

22 years agoexpmed.c (store_bit_field): Try to simplify the subreg before generating a new one...
Eric Christopher [Fri, 22 Feb 2002 00:07:06 +0000 (00:07 +0000)]
expmed.c (store_bit_field): Try to simplify the subreg before generating a new one when...

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.

From-SVN: r49946

22 years agoemit-rtl.c (offset_address): Use simplify_gen_binary rather than gen_rtx_PLUS to...
Richard Henderson [Thu, 21 Feb 2002 23:06:16 +0000 (15:06 -0800)]
emit-rtl.c (offset_address): Use simplify_gen_binary rather than gen_rtx_PLUS to form the sum.

        * 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.

From-SVN: r49945

22 years agodwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
Tom Tromey [Thu, 21 Feb 2002 23:03:14 +0000 (23:03 +0000)]
dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.

* 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.

From-SVN: r49944

22 years agojump.c (redirect_jump): If old label has no UID, don't try to delete it.
J"orn Rennecke [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.

* jump.c (redirect_jump): If old label has no UID, don't try to
delete it.

From-SVN: r49943

22 years agosh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
J"orn Rennecke [Thu, 21 Feb 2002 21:29:28 +0000 (21:29 +0000)]
sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.

* sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
If input is constant, do shifts at compile time.

From-SVN: r49942

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

From-SVN: r49941

22 years agore PR rtl-optimization/4994 (ICE with "-fno-exceptions -O2 -mmmx -march=athlon")
Jakub Jelinek [Thu, 21 Feb 2002 21:16:22 +0000 (22:16 +0100)]
re PR rtl-optimization/4994 (ICE with "-fno-exceptions -O2 -mmmx -march=athlon")

PR optimization/4994
* config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
register moves.

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

From-SVN: r49939

22 years agore PR c++/4574 (Internal compiler error in `expand_and', at expmed.c:4055)
Jakub Jelinek [Thu, 21 Feb 2002 21:11:08 +0000 (22:11 +0100)]
re PR c++/4574 (Internal compiler error in `expand_and', at expmed.c:4055)

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.

From-SVN: r49938

22 years agore PR c/4697 (Warning 'value computed is not used' missing)
Jakub Jelinek [Thu, 21 Feb 2002 20:23:48 +0000 (21:23 +0100)]
re PR c/4697 (Warning 'value computed is not used' missing)

PR c/4697:
* stmt.c (warn_if_unused_value): Move side effects test once more.

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

From-SVN: r49937

22 years agoavr.md: Add more patterns for mized-mode add and subtract (addsi3_zero_extend...
Torbjorn Granlund [Thu, 21 Feb 2002 19:27:50 +0000 (19:27 +0000)]
avr.md: Add more patterns for mized-mode add and subtract (addsi3_zero_extend...

* config/avr/avr.md: Add more patterns for mized-mode add and subtract
        (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).

From-SVN: r49936

22 years agortlanal.c (replace_rtx): Don't make a CONST_INT the operand of SUBREG or ZERO_EXTEND.
Alexandre Oliva [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.

* rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
SUBREG or ZERO_EXTEND.

From-SVN: r49935

22 years agoffi_darwin.c (ffi_prep_args): Skip appropriate number of GPRs for floating-point...
Andreas Tobler [Thu, 21 Feb 2002 19:14:28 +0000 (20:14 +0100)]
ffi_darwin.c (ffi_prep_args): Skip appropriate number of GPRs for floating-point arguments.

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.

From-SVN: r49934

22 years agosh.h (current_function_anonymous_args): Remove.
J"orn Rennecke [Thu, 21 Feb 2002 16:42:28 +0000 (16:42 +0000)]
sh.h (current_function_anonymous_args): Remove.

* 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.

From-SVN: r49931

22 years agoMakefile.am (libgcj.jar:): Change to -CLASSPATH
Nic Ferrier [Thu, 21 Feb 2002 10:58:12 +0000 (10:58 +0000)]
Makefile.am (libgcj.jar:): Change to -CLASSPATH

* 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.

From-SVN: r49927

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

From-SVN: r49925

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

From-SVN: r49924

22 years ago[multiple changes]
David Edelsohn [Thu, 21 Feb 2002 02:34:20 +0000 (21:34 -0500)]
[multiple changes]

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.

From-SVN: r49923

22 years agogcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option `--CLASSPATH' becomes...
Nic Ferrier [Wed, 20 Feb 2002 23:22:32 +0000 (23:22 +0000)]
gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option `--CLASSPATH' becomes...

* 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.

From-SVN: r49922

22 years agore PR debug/4461 (Invalid dawrf2 debug code)
Jakub Jelinek [Wed, 20 Feb 2002 23:19:24 +0000 (00:19 +0100)]
re PR debug/4461 (Invalid dawrf2 debug code)

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.

From-SVN: r49921

22 years agocombine.c (do_SUBST): Sanity check substitutions of CONST_INTs...
Alexandre Oliva [Wed, 20 Feb 2002 23:15:00 +0000 (23:15 +0000)]
combine.c (do_SUBST): Sanity check substitutions of CONST_INTs...

* 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.

From-SVN: r49920

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

From-SVN: r49919

22 years agogcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option `--CLASSPATH' becomes...
Nic Ferrier [Wed, 20 Feb 2002 23:12:25 +0000 (23:12 +0000)]
gcj.texi: Option `--classpath' becomes `--CLASSPATH.'Option `--CLASSPATH' becomes...

* 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.

From-SVN: r49918

22 years agoc-decl.c (pushdecl): If no global declaration is found for an extern declaration...
Alexandre Oliva [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...

* c-decl.c (pushdecl): If no global declaration is found for an
extern declaration in block scope, try a limbo one.

From-SVN: r49917

22 years agore PR c++/4401 (Array subscript evaluation sometimes wrong for 64-bit architectures)
Jakub Jelinek [Wed, 20 Feb 2002 23:05:47 +0000 (00:05 +0100)]
re PR c++/4401 (Array subscript  evaluation sometimes wrong for 64-bit architectures)

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.

From-SVN: r49916

22 years agore PR c++/5713 (Redeclaration causes ice in in make_decl_rtl, at varasm.c:835)
Jakub Jelinek [Wed, 20 Feb 2002 22:59:35 +0000 (23:59 +0100)]
re PR c++/5713 (Redeclaration causes ice in in make_decl_rtl, at varasm.c:835)

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.

From-SVN: r49915

22 years agore PR c/4389 (Improper constant folding)
Jakub Jelinek [Wed, 20 Feb 2002 22:54:35 +0000 (23:54 +0100)]
re PR c/4389 (Improper constant folding)

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.

From-SVN: r49914

22 years agoacinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
Phil Edwards [Wed, 20 Feb 2002 22:10:39 +0000 (22:10 +0000)]
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.

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.

From-SVN: r49913

22 years agoi386.c (ix86_expand_vector_move): Use the mode of the operand, rather than assuming...
Richard Henderson [Wed, 20 Feb 2002 21:57:23 +0000 (13:57 -0800)]
i386.c (ix86_expand_vector_move): Use the mode of the operand, rather than assuming TImode.

        * 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.

From-SVN: r49912

22 years agore PR target/5705 (code generated for ARM interrupt("IRQ") attribute)
Philip Blundell [Wed, 20 Feb 2002 21:39:56 +0000 (21:39 +0000)]
re PR target/5705 (code generated for ARM interrupt("IRQ") attribute)

2002-02-20  Philip Blundell  <philb@gnu.org>

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

From-SVN: r49911

22 years agomoney_put_members_char.cc: Fix.
Benjamin Kosnik [Wed, 20 Feb 2002 21:06:42 +0000 (21:06 +0000)]
money_put_members_char.cc: Fix.

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().

From-SVN: r49910

22 years agobuiltins.c (check_for_builtin): New function.
Per Bothner [Wed, 20 Feb 2002 19:53:49 +0000 (11:53 -0800)]
builtins.c (check_for_builtin): New function.

* 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).

From-SVN: r49909

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

From-SVN: r49908

22 years agore PR c/5615 (ICE in size_binop, at fold-const.c:1914)
Richard Henderson [Wed, 20 Feb 2002 18:34:28 +0000 (10:34 -0800)]
re PR c/5615 (ICE in size_binop, at fold-const.c:1914)

        PR c/5615
        * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.

From-SVN: r49904

22 years agofr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
Tom Tromey [Wed, 20 Feb 2002 18:31:24 +0000 (18:31 +0000)]
fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.

* 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.

From-SVN: r49903

22 years agors6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look for (const_int 0) in X not just INTVAL.
Alan Matsuoka [Wed, 20 Feb 2002 18:19:38 +0000 (18:19 +0000)]
rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look for (const_int 0) in X not just INTVAL.

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.

From-SVN: r49902

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

From-SVN: r49901

22 years ago2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [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.

From-SVN: r49900

22 years agoexpmed.c (store_bit_field): Do not store bit fields using SUBREG operations if...
Diego Novillo [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...

* expmed.c (store_bit_field): Do not store bit fields using SUBREG
operations if the field does not start at a mode boundary.

From-SVN: r49899

22 years agortems.h, [...]: Use new style of -Asystem= rather than -Asystem().
Joel Sherrill [Wed, 20 Feb 2002 12:15:06 +0000 (12:15 +0000)]
rtems.h, [...]: Use new style of -Asystem= rather than -Asystem().

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.

From-SVN: r49898

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

* Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
* Makefile.in: Rebuilt.

From-SVN: r49895

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

From-SVN: r49893

22 years agocppinit.c (init_dependency_output): Take deps output file from -o if none given with...
Neil Booth [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.

* 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.

From-SVN: r49892

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

* toplev.c (output_quoted_string): Write unprintable
characters with octal escapes.

From-SVN: r49891

22 years ago[multiple changes]
David Edelsohn [Wed, 20 Feb 2002 04:56:34 +0000 (23:56 -0500)]
[multiple changes]

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.

From-SVN: r49890

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

From-SVN: r49889

22 years agolibjava.exp: Add "xfail-byte-output" and "xfail-source-output".
Bryce McKinlay [Wed, 20 Feb 2002 04:14:15 +0000 (04:14 +0000)]
libjava.exp: Add "xfail-byte-output" and "xfail-source-output".

* 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.

From-SVN: r49888

22 years agoABI change: Mangle `void (A::*)() const' as M1AKFvvE, not MK1AFvvE.
Jason Merrill [Wed, 20 Feb 2002 04:09:05 +0000 (23:09 -0500)]
ABI change: Mangle `void (A::*)() const' as M1AKFvvE, not MK1AFvvE.

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.

From-SVN: r49887

22 years agore PR libgcj/5696 (natClass.cc run through superclasses of target if they exist while...
Tom Tromey [Wed, 20 Feb 2002 03:16:30 +0000 (03:16 +0000)]
re PR libgcj/5696 (natClass.cc run through superclasses of target if they exist while comparing variable types.)

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.

From-SVN: r49886

22 years agosparc.md (nonlocal_goto): Use hard_frame_pointer_rtx now that we have one.
Richard Kenner [Wed, 20 Feb 2002 01:21:06 +0000 (01:21 +0000)]
sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx now that we have one.

* config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
now that we have one.

From-SVN: r49885

22 years agostd_iomanip.h: Inline, tweaks.
Benjamin Kosnik [Wed, 20 Feb 2002 00:58:17 +0000 (00:58 +0000)]
std_iomanip.h: Inline, tweaks.

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.

From-SVN: r49884

22 years agotree.h (struct tree_common): Remove aux.
Zack Weinberg [Wed, 20 Feb 2002 00:19:33 +0000 (00:19 +0000)]
tree.h (struct tree_common): Remove aux.

* 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.

From-SVN: r49883

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

From-SVN: r49881

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

From-SVN: r49880

22 years agore PR target/5185 ([ARM] Segmentation fault in final.c)
Philip Blundell [Tue, 19 Feb 2002 22:23:56 +0000 (22:23 +0000)]
re PR target/5185 ([ARM] Segmentation fault in final.c)

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.

From-SVN: r49879

22 years agolinker-map.gnu: Export global vtable, typeinfo, guard variable, and thunk info as...
Benjamin Kosnik [Tue, 19 Feb 2002 21:47:05 +0000 (21:47 +0000)]
linker-map.gnu: Export global vtable, typeinfo, guard variable, and thunk info as per CXXABI docs.

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.

From-SVN: r49878

22 years agoMakefile.am: Use CONFIG_HEADER instead of ad hoc names.
Loren J. Rittle [Tue, 19 Feb 2002 21:37:37 +0000 (21:37 +0000)]
Makefile.am: Use CONFIG_HEADER instead of ad hoc names.

2002-02-19  Loren Rittle <ljrittle@acm.org>

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

From-SVN: r49877

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

From-SVN: r49876

22 years agodemangle-expected: Add test case for infinite loop in demangler.
Scott Snyder [Tue, 19 Feb 2002 20:02:16 +0000 (20:02 +0000)]
demangle-expected: Add test case for infinite loop in demangler.

* 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.

From-SVN: r49875

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

From-SVN: r49874

22 years agolinux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
David Edelsohn [Tue, 19 Feb 2002 19:40:41 +0000 (19:40 +0000)]
linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.

* 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.

From-SVN: r49873

22 years agoarm.c (use_return_insn): Don't reject interrupt functions.
Philip Blundell [Tue, 19 Feb 2002 18:08:10 +0000 (18:08 +0000)]
arm.c (use_return_insn): Don't reject interrupt functions.

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.

From-SVN: r49872

22 years agoarm.c (arm_encode_call_attribute): Operate on any decl, not just FUNCTION_DECL.
Philip Blundell [Tue, 19 Feb 2002 18:04:05 +0000 (18:04 +0000)]
arm.c (arm_encode_call_attribute): Operate on any decl, not just FUNCTION_DECL.

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.

From-SVN: r49871

22 years agoconfig.gcc (sparc-*-netbsdelf*): Enable target.
Matthew Green [Tue, 19 Feb 2002 17:43:25 +0000 (17:43 +0000)]
config.gcc (sparc-*-netbsdelf*): Enable target.

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.

From-SVN: r49870

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

From-SVN: r49867

22 years agoinvoke.texi: explicitly list the style guidelines that -Weffc++ checks for.
Ryan T. Sammartino [Tue, 19 Feb 2002 14:05:53 +0000 (09:05 -0500)]
invoke.texi: explicitly list the style guidelines that -Weffc++ checks for.

        * doc/invoke.texi: explicitly list the style guidelines that
        -Weffc++ checks for.

From-SVN: r49866

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

From-SVN: r49864

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

From-SVN: r49861

22 years agogcc.c (cpp_unique_options): Treat -o as indicating object file only if not -E.
Neil Booth [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.

* gcc.c (cpp_unique_options): Treat -o as indicating object file
only if not -E.  If -E, pass -o through to the preprocessor.

From-SVN: r49860

22 years agoh8300.h (REGNO_REG_CLASS): Replace a literal register number with an appropriate...
Kazu Hirata [Tue, 19 Feb 2002 07:36:55 +0000 (07:36 +0000)]
h8300.h (REGNO_REG_CLASS): Replace a literal register number with an appropriate macro.

* config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
register number with an appropriate macro.

From-SVN: r49859

22 years agocollate_byname.cc (test01): Replace size4 with size3 for the string collations of...
Peter Schmid [Tue, 19 Feb 2002 05:59:09 +0000 (05:59 +0000)]
collate_byname.cc (test01): Replace size4 with size3 for the string collations of str5.

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.

From-SVN: r49857

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

From-SVN: r49855

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

From-SVN: r49854

22 years agoi386.md ("mmx_uavgv8qi3"): Use const_vector.
Aldy Hernandez [Tue, 19 Feb 2002 02:53:41 +0000 (02:53 +0000)]
i386.md ("mmx_uavgv8qi3"): Use const_vector.

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.

From-SVN: r49853

22 years agore PR other/5390 ([3.3 only?] Libiberty fails to demangle multi-digit template parame...
Carlo Wood [Mon, 18 Feb 2002 22:41:45 +0000 (22:41 +0000)]
re PR other/5390 ([3.3 only?] Libiberty fails to demangle multi-digit template parameters.)

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.

From-SVN: r49851

22 years agoh8300.c (notice_update_cc): Use cc_status.value2.
Kazu Hirata [Mon, 18 Feb 2002 22:37:04 +0000 (22:37 +0000)]
h8300.c (notice_update_cc): Use cc_status.value2.

* config/h8300/h8300.c (notice_update_cc): Use
cc_status.value2.

From-SVN: r49850

22 years agoh8300.md (divmod patterns): Change the constraints for operands[1] to register_operand.
Kazu Hirata [Mon, 18 Feb 2002 22:20:58 +0000 (22:20 +0000)]
h8300.md (divmod patterns): Change the constraints for operands[1] to register_operand.

* config/h8300/h8300.md (divmod patterns): Change the
constraints for operands[1] to register_operand.

From-SVN: r49849

22 years agoh8300-protos.h: Remove the prototype for p_operand.
Kazu Hirata [Mon, 18 Feb 2002 22:07:42 +0000 (22:07 +0000)]
h8300-protos.h: Remove the prototype for p_operand.

* 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.

From-SVN: r49848

22 years agolocale_facets.tcc (money_put::do_put): For the space field use __fill instead of...
Paolo Carlini [Mon, 18 Feb 2002 21:23:26 +0000 (22:23 +0100)]
locale_facets.tcc (money_put::do_put): For the space field use __fill instead of ' ', uniformly.

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.

From-SVN: r49847

22 years agoMakefile.am (thread_builddir): Remove (map all existing uses to target_builddir).
Loren J. Rittle [Mon, 18 Feb 2002 20:23:56 +0000 (20:23 +0000)]
Makefile.am (thread_builddir): Remove (map all existing uses to target_builddir).

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.

From-SVN: r49846

22 years agoarm.c (arm_compute_save_reg_mask): Fix typo in comment.
Philip Blundell [Mon, 18 Feb 2002 19:37:33 +0000 (19:37 +0000)]
arm.c (arm_compute_save_reg_mask): Fix typo in comment.

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.

From-SVN: r49845

22 years agosysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
Franz Sirl [Mon, 18 Feb 2002 18:46:19 +0000 (18:46 +0000)]
sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.

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.

From-SVN: r49844

22 years agos390.c (s390_emit_prologue): Do not set the frame_related flag for call-clobbered...
Ulrich Weigand [Mon, 18 Feb 2002 18:17:52 +0000 (18:17 +0000)]
s390.c (s390_emit_prologue): Do not set the frame_related flag for call-clobbered registers.

* config/s390/s390.c (s390_emit_prologue): Do not set the
frame_related flag for call-clobbered registers.

From-SVN: r49843

22 years agoi386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
Jan Hubicka [Mon, 18 Feb 2002 14:09:39 +0000 (15:09 +0100)]
i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.

* 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.

From-SVN: r49840

22 years agoes.po, fr.po: Updated to newest version.
Philipp Thomas [Mon, 18 Feb 2002 11:20:09 +0000 (11:20 +0000)]
es.po, fr.po: Updated to newest version.

2002-02-18  Philipp Thomas  <pthomas@suse.de>

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

From-SVN: r49839