platform/upstream/gcc.git
19 years agoDaily bump.
GCC Administrator [Wed, 22 Jun 2005 00:16:28 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101242.2

19 years agomangle24.C, mangle25.C: Pass -mmmx for 32-bit i?86 and x86_64.
Joseph Myers [Tue, 21 Jun 2005 23:00:45 +0000 (00:00 +0100)]
mangle24.C, mangle25.C: Pass -mmmx for 32-bit i?86 and x86_64.

* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: Pass -mmmx for
32-bit i?86 and x86_64.

From-SVN: r101240

19 years agoconst-str-[1-9].mm: New tests.
Ziemowit Laski [Tue, 21 Jun 2005 21:13:46 +0000 (21:13 +0000)]
const-str-[1-9].mm: New tests.

[gcc/testsuite/ChangeLog]
2005-06-21  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/const-str-[1-9].mm: New tests.

From-SVN: r101237

19 years ago* nl.po: Update.
Joseph Myers [Tue, 21 Jun 2005 20:57:16 +0000 (21:57 +0100)]
* nl.po: Update.

From-SVN: r101235

19 years agonamelist_use_2.msg
Paul Thomas [Tue, 21 Jun 2005 20:53:00 +0000 (20:53 +0000)]
namelist_use_2.msg

From-SVN: r101234

19 years agonamelist_use_1.msg
Tobias Schlüter [Tue, 21 Jun 2005 20:48:20 +0000 (20:48 +0000)]
namelist_use_1.msg

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r101233

19 years agotree-vrp.c (extract_range_from_unary_expr): Handle type conversions better.
Jeff Law [Tue, 21 Jun 2005 18:46:33 +0000 (12:46 -0600)]
tree-vrp.c (extract_range_from_unary_expr): Handle type conversions better.

        * tree-vrp.c (extract_range_from_unary_expr): Handle type
        conversions better.

        * gcc.dg/tree-ssa/vrp15.c: New test.

From-SVN: r101232

19 years agogenopinit.c (vec_shl_optab, [...]): Initialize new optabs.
Dorit Nuzman [Tue, 21 Jun 2005 09:02:00 +0000 (09:02 +0000)]
genopinit.c (vec_shl_optab, [...]): Initialize new optabs.

        * genopinit.c (vec_shl_optab, vec_shr_optab): Initialize new optabs.
        (reduc_plus_optab): Removed.  Replcaed with...
        (reduc_splus_optab, reduc_uplus_optab): Initialize new optabs.
        * optabs.c (optab_for_tree_code): Return reduc_splus_optab or
        reduc_uplus_optab instead of reduc_plus_optab.
        (expand_vec_shift_expr): New function.
        (init_optabs): Initialize new optabs. Remove initialization of
        reduc_plus_optab.
        (optab_for_tree_code): Return vec_shl_optab/vec_shr_optab
        for VEC_LSHIFT_EXPR/VEC_RSHIFT_EXPR.
        * optabs.h (OTI_reduc_plus): Removed. Replaced with...
        (OTI_reduc_splus, OTI_reduc_uplus): New.
        (reduc_plus_optab): Removed.  Replcaed with...
        (reduc_splus_optab, reduc_uplus_optab): New optabs.
        (vec_shl_optab, vec_shr_optab): New optabs.
        (expand_vec_shift_expr): New function declaration.

        * tree.def (VEC_LSHIFT_EXPR, VEC_RSHIFT_EXPR): New tree-codes.
        * tree-inline.c (estimate_num_insns_1): Handle new tree-codes.
        * expr.c (expand_expr_real_1): Handle new tree-codes.
        * tree-pretty-print.c (dump_generic_node, op_symbol, op_prio): Likewise.
        * tree-vect-generic.c (expand_vector_operations_1): Add assert.

        * tree-vect-transform.c (vect_create_epilog_for_reduction): Add two
        alternatives for generating reduction epilog code.
        (vectorizable_reduction): Don't fail of direct reduction support is
        not available.
        (vectorizable_target_reduction_pattern): Likewise.

        * config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf,
        reduc_umax_v4si, reduc_smin_v4si, reduc_smin_v4sf, reduc_umin_v4si,
        reduc_plus_v4si, reduc_plus_v4sf): Removed.
        (vec_shl_<mode>, vec_shr_<mode>, altivec_vsumsws_nomode,
        reduc_splus_<mode>, reduc_uplus_v16qi): New.

From-SVN: r101231

19 years agofunc_derived_2.f90, [...]: New tests.
Tobias Schlüter [Tue, 21 Jun 2005 08:46:33 +0000 (10:46 +0200)]
func_derived_2.f90, [...]: New tests.

2005-06-21  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/func_derived_2.f90, gfortran.dg/func_derived_3.f90:
New tests.

From-SVN: r101230

19 years agoc-typeck.c (build_function_call): Set fundecl = function again.
Daniel Berlin [Tue, 21 Jun 2005 00:59:17 +0000 (00:59 +0000)]
c-typeck.c (build_function_call): Set fundecl = function again.

2005-06-20  Daniel Berlin  <dberlin@dberlin.org>

* c-typeck.c (build_function_call): Set fundecl = function again.
* tree-ssa-alias.c (find_used_portions): Address taking causes the
entire variable to be used.
* tree-ssa-structalias.c (do_structure_copy): Fix handling of
unknown size variables, and structure copies from addressof
operations.  Simplify how we do *a = *b type structure copies.
(init_base_vars): Add ANYTHING = &ANYTHING constraint the right
way.  READONLY's address is not taken by default.
INTEGER dereference should point to anything.
(create_variable_info_for): It's okay for the first field to not start
at 0.

From-SVN: r101227

19 years agoIndex: include/ChangeLog
Geoffrey Keating [Tue, 21 Jun 2005 00:24:59 +0000 (00:24 +0000)]
Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.

From-SVN: r101226

19 years agoconfig/sh/linux.h (FUNCTION_PROFILER): Constify a char*.
Kaz Kojima [Tue, 21 Jun 2005 00:16:42 +0000 (00:16 +0000)]
config/sh/linux.h (FUNCTION_PROFILER): Constify a char*.

From-SVN: r101225

19 years agoDaily bump.
GCC Administrator [Tue, 21 Jun 2005 00:16:18 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101222.2

19 years agoconfig-lang.in (gtfiles): Add cp/rtti.c.
Ziemowit Laski [Tue, 21 Jun 2005 00:04:57 +0000 (00:04 +0000)]
config-lang.in (gtfiles): Add cp/rtti.c.

[gcc/objcp/ChangeLog]
2005-06-20  Ziemowit Laski  <zlaski@apple.com>

        * config-lang.in (gtfiles): Add cp/rtti.c.

From-SVN: r101220

19 years agogfortran.h: Add flag_backslash compile-time option.
François-Xavier Coudert [Mon, 20 Jun 2005 20:14:20 +0000 (20:14 +0000)]
gfortran.h: Add flag_backslash compile-time option.

* gfortran.h: Add flag_backslash compile-time option.
* lang.opt: Add support for -fbackslash option.
* options.c: Likewise.
* primary.c: Implement behavior for -fno-backslash.
* invoke.texi: Add doc for -fbackslash option.
* gfortran.texi: Remove mention of -fno-backslash as a
possible extension.
* gfortran.dg/backslash_1.f90: New test.
* gfortran.dg/backslash_2.f90: New test.

From-SVN: r101216

19 years ago* gfortran.dg/duplicate_labels.f90: New test.
Steven G. Kargl [Mon, 20 Jun 2005 19:20:10 +0000 (19:20 +0000)]
* gfortran.dg/duplicate_labels.f90: New test.

From-SVN: r101215

19 years agore PR fortran/21257 ([4.0 only] Duplicate use of construct name)
Steven G. Kargl [Mon, 20 Jun 2005 19:17:32 +0000 (19:17 +0000)]
re PR fortran/21257 ([4.0 only] Duplicate use of construct name)

PR fortran/21257
(Ported from g95)
* match.c (gfc_match_label): Detect duplicate labels.

From-SVN: r101214

19 years agore PR target/22077 (vec_all_eq does not produce good result)
Fariborz Jahanian [Mon, 20 Jun 2005 17:59:35 +0000 (17:59 +0000)]
re PR target/22077 (vec_all_eq does not produce good result)

PR 22077.
Oked by Roger Sayle.

From-SVN: r101211

19 years agointrinsic.c (check_intrinsic_standard): Fix spelling error in a warning message.
Erik Edelmann [Mon, 20 Jun 2005 13:02:51 +0000 (16:02 +0300)]
intrinsic.c (check_intrinsic_standard): Fix spelling error in a warning message.

* intrinsic.c (check_intrinsic_standard): Fix spelling error
in a warning message.

From-SVN: r101207

19 years agore PR libstdc++/22111 (libstdc++ abi_check)
Benjamin Kosnik [Mon, 20 Jun 2005 06:48:28 +0000 (06:48 +0000)]
re PR libstdc++/22111 (libstdc++ abi_check)

make
2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/22111
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
Don't enable abi testing unless versioned.
* configure: Regenerate.
* testsuite/Makefile.am (check-abi): Remove conditional.
* testsuite/Makefile.in: Regenerate.
* testsuite/libstdc++-abi/abi.exp: Call build_support, then check
v3-symver before proceeding.
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
if _GLIBCXX_SYMVER.

From-SVN: r101204

19 years agonetware-libgcc.def: Update copyright.
Jan Beulich [Mon, 20 Jun 2005 06:45:27 +0000 (06:45 +0000)]
netware-libgcc.def: Update copyright.

gcc/
2005-06-20  Jan Beulich  <jbeulich@novell.com>

* config/i386/netware-libgcc.def: Update copyright.
* config/i386/netware-libgcc.exp (__divdc3, __divsc3, __divxc3,
__muldc3, __mulsc3, __mulxc3, __powidf2, __powisf2, __powixf2): Add.
* config/i386/netware.c (gen_stdcall_decoration,
gen_fastd_decoration): Merge into ...
(gen_stdcall_or_fastcall_decoration): ... this. Adjust to match
WinNT's changes.
(gen_regparm_prefix): Adjust to match i386_nlm_encode_section_info.
(i386_nlm_encode_section_info): Adjust to match WinNT's changes.
* config/i386/t-nwld (SHLIB_LINK): Also create libgcc.imp alias of
libgcc_s.imp. Use 'expr' rather than $(()) shell expressions.
* gthr-nks.h (__gthread_objc_mutex_allocate): Kill another dubious
use of NX_MUTEX_RECURSIVE.

gcc/testsuite/
2005-06-20  Jan Beulich  <jbeulich@novell.com>

* g++.old-deja/g++.jason/thunk2.C: On NetWare, also account for
unsupportable relocations.
* g++.old-deja/g++.other/store-expr1.C: Likewise.
* gcc.dg/20050321-2.c: xfail for NetWare.

From-SVN: r101203

19 years agosseregparm-1.c, [...]: Run only on 32-bit x86.
Andreas Jaeger [Mon, 20 Jun 2005 04:37:58 +0000 (06:37 +0200)]
sseregparm-1.c, [...]: Run only on 32-bit x86.

* gcc.target/i386/sseregparm-1.c, gcc.target/i386/sseregparm-2.c,
gcc.target/i386/fastcall-sseregparm.c,
gcc.target/i386/regparm-stdcall.c: Run only on 32-bit x86.

From-SVN: r101202

19 years agofold-const.c (swap_tree_comparison): Add support for unordered floating point compari...
Roger Sayle [Mon, 20 Jun 2005 02:33:52 +0000 (02:33 +0000)]
fold-const.c (swap_tree_comparison): Add support for unordered floating point comparisons.

* fold-const.c (swap_tree_comparison): Add support for unordered
floating point comparisons.
* tree-vrp.c (opposite_comparison): Delete.
(extract_range_from_assert): Replace calls to opposite_comparison
with calls to swap_tree_comparison.
(register_edge_assert_for): Likewise.
(vrp_evaluate_conditional): Likewise.

From-SVN: r101201

19 years agointegrate.c (allocate_initial_values): Update the references to global_live_at_start...
Kaz Kojima [Mon, 20 Jun 2005 01:28:33 +0000 (01:28 +0000)]
integrate.c (allocate_initial_values): Update the references to global_live_at_start and global_live_at_end.

* integrate.c (allocate_initial_values): Update the references
to global_live_at_start and global_live_at_end.

From-SVN: r101200

19 years agoDaily bump.
GCC Administrator [Mon, 20 Jun 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101198.2

19 years ago* gcc.dg/tree-ssa/pr21985.c: Use size_t.
Richard Henderson [Sun, 19 Jun 2005 23:59:55 +0000 (16:59 -0700)]
* gcc.dg/tree-ssa/pr21985.c: Use size_t.

From-SVN: r101196

19 years agocfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
Jan Hubicka [Sun, 19 Jun 2005 22:40:34 +0000 (00:40 +0200)]
cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.

* cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
* cfgloopmanip.c (duplicate_loop_to_header_edge): Set aux flags only
when asked for.
* loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations,
unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid):
Update call of duplicate_loop_to_header_edge.
(apply_opt_in_copies): Clear out aux pointers.

From-SVN: r101193

19 years agoi386.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
Joseph Myers [Sun, 19 Jun 2005 20:12:16 +0000 (21:12 +0100)]
i386.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.

* config/i386/i386.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
(ix86_mangle_fundamental_type): New.
* config/ia64/ia64.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
(ia64_mangle_fundamental_type): New.

testsuite:
* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: New tests.

From-SVN: r101191

19 years ago* de.po: Update.
Joseph Myers [Sun, 19 Jun 2005 18:24:42 +0000 (19:24 +0100)]
* de.po: Update.

From-SVN: r101189

19 years agore PR c++/22115 (testsuite failure: g++.dg/conversion/simd2.C)
Aldy Hernandez [Sun, 19 Jun 2005 17:23:33 +0000 (17:23 +0000)]
re PR c++/22115 (testsuite failure: g++.dg/conversion/simd2.C)

        PR c++/22115
        * g++.dg/conversion/simd2.C: Change expected error message.

From-SVN: r101188

19 years agoc-decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST nodes.
Roger Sayle [Sun, 19 Jun 2005 16:55:22 +0000 (16:55 +0000)]
c-decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST nodes.

* c-decl.c (grokdeclarator): Only check TREE_OVERFLOW on
INTEGER_CST nodes.
* c-typeck.c (build_c_cast): Only preserve TREE_OVERFLOW on
CONSTANT_CLASS_P nodes.

From-SVN: r101187

19 years agovect.md (vec_extractv2sf_1): Fix cut-and-paste error; the shift is always required.
Richard Henderson [Sun, 19 Jun 2005 16:36:46 +0000 (09:36 -0700)]
vect.md (vec_extractv2sf_1): Fix cut-and-paste error; the shift is always required.

        * config/ia64/vect.md (vec_extractv2sf_1): Fix cut-and-paste error;
        the shift is always required.

From-SVN: r101186

19 years agoia64-modes.def (V4SF): Add.
Richard Henderson [Sun, 19 Jun 2005 16:10:49 +0000 (09:10 -0700)]
ia64-modes.def (V4SF): Add.

        * config/ia64/ia64-modes.def (V4SF): Add.
        * config/ia64/ia64.c (ia64_legitimate_constant_p): Handle CONST_VECTOR.
        * config/ia64/ia64.h (CANNOT_CHANGE_MODE_CLASS): Allow vector to
        integer mode changes in fp regs.
        * config/ia64/ia64.md (UNSPEC_VECT_EXTR): New.
        * config/ia64/vect.md (smaxv2sf3, sminv2sf3): Fix typos in names.
        (reduc_plus_v2sf, reduc_smax_v2sf, reduc_smin_v2sf): New.
        (vcondv2sf): Use gen_fpack
        (fpack): Remove * from name.
        (fswap, fmix_l, fmix_r, fmix_lr): New.
        (vec_setv2sf, vec_extractv2sf_0_le, vec_extractv2sf_0_be): New.
        (vec_extractv2sf_1, vec_extractv2sf): New.

From-SVN: r101185

19 years ago* testsuite/libmudflap.c/externs-1.c (main): Add return statement.
Ulrich Weigand [Sun, 19 Jun 2005 16:01:03 +0000 (16:01 +0000)]
* testsuite/libmudflap.c/externs-1.c (main): Add return statement.

From-SVN: r101184

19 years agocombine.c (make_compound_operation): Use simplify_subreg.
Andreas Krebbel [Sun, 19 Jun 2005 13:29:45 +0000 (13:29 +0000)]
combine.c (make_compound_operation): Use simplify_subreg.

2005-06-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* combine.c (make_compound_operation): Use simplify_subreg.  Delete
a optimization already done by simplify_subreg.

From-SVN: r101183

19 years agoloop.c (scan_loop): Do not consider insns setting the frame pointer to be candidates...
Ulrich Weigand [Sun, 19 Jun 2005 13:27:04 +0000 (13:27 +0000)]
loop.c (scan_loop): Do not consider insns setting the frame pointer to be candidates for hoisting.

* loop.c (scan_loop): Do not consider insns setting the frame
pointer to be candidates for hoisting.

From-SVN: r101182

19 years agoi386.md (*cmpfp_0_sf, [...]): Remove instruction patterns.
Uros Bizjak [Sun, 19 Jun 2005 08:51:54 +0000 (10:51 +0200)]
i386.md (*cmpfp_0_sf, [...]): Remove instruction patterns.

2005-06-19  Uros Bizjak  <uros@kss-loka.si>

        * config/i386/i386.md (*cmpfp_0_sf, *cmpfp_0_df, cmpfp_0_xf):
        Remove instruction patterns.
        (*cmpfp_0): New instruction pattern. Set "unit" attribute to "i387".
        (*cmpfp_sf, *cmpfp_df, *cmpfp_xf, *cmpfp_u, *_cmpfp_<mode>):
        Set "unit" attribute to "i387".
        (*pushsf, *pushsf_rex64, *pushdf_nointeger, *pushdf_integer)
        (*pushxf_nointeger, *pushxf_integer): Set "unit" attribute to "i387"
        for alternative 0.
        (*truncdfsf_mixed, *truncdfsf_i387, *truncxfsf2_mixed)
        (*truncxfsf2_i387, *truncxfdf2_mixed, *truncxfdf2_i387): Set "unit"
        attribute to "i387" when "type" attribute equals "multi".
        (*floathisf2_i387, *floatsisf2_mixed, *floatsisf2_i387)
        (*floatdisf2_mixed, *floatdisf2_i387, *floathidf2_i387)
        (*floatsidf2_mixed, *floatsidf2_i387, *floatdidf2_mixed)
        (*floatdidf2_i387, floathixf2, floatsixf2, floatdixf2): Set "unit"
        attribute to "i387" when "type" attribute equals "multi".
        * config/i386/mmx.md (*mov<mode>_internal_rex64)
        (*mov<mode>_internal, *movv2sf_internal_rex64, *movv2sf_internal):
        Set "unit" attribute to "mmx" when "type" attribute equals "ssecvt".
        (mmx_pmovmskb): Correct wrong "type" and "mode" attributes.
        * config/i386/sse.md (sse_cvtps2pi, sse_cvttps2pi, sse_cvtpd2di)
        (sse_cvttpd2pi): Set "unit" attribute to "mmx".
        (sse2_cvtpi2pd): Split register constraints. Set "unit" attribute
        to "mmx" for "y" operand 1.

From-SVN: r101180

19 years agoi386.c (ix86_function_arg_regno_p): Add MMX_REGNO_P for TARGET_MMX.
Uros Bizjak [Sun, 19 Jun 2005 08:26:50 +0000 (01:26 -0700)]
i386.c (ix86_function_arg_regno_p): Add MMX_REGNO_P for TARGET_MMX.

2005-06-16  Uros Bizjak  <uros@kss-loka.si>

        * config/i386/i386.c (ix86_function_arg_regno_p): Add MMX_REGNO_P
        for TARGET_MMX.  Use MMX_REGPARM_MAX and SSE_REGPARM_MAX for MMX
        and SSE registers to determine if regno is valid.
        (ix86_function_value_regno_p): Depend FIRST_FLOAT_REG on
        TARGET_FLOAT_RETURNS_IN_80387 also for TARGET_64BIT. Clean up.

From-SVN: r101179

19 years agotree-complex.c (init_dont_simulate_again): Clear DONT_SIMULATE_AGAIN for control...
Richard Henderson [Sun, 19 Jun 2005 06:35:52 +0000 (23:35 -0700)]
tree-complex.c (init_dont_simulate_again): Clear DONT_SIMULATE_AGAIN for control-altering statements; set it again for returns.

        * tree-complex.c (init_dont_simulate_again): Clear DONT_SIMULATE_AGAIN
        for control-altering statements; set it again for returns.
        (complex_visit_stmt): Return SSA_PROP_VARYING for stmts that are
        not MODIFY_EXPR.

From-SVN: r101178

19 years agore PR tree-optimization/22116 (PRE of COMPLEX_EXPR causes ICE)
Richard Henderson [Sun, 19 Jun 2005 06:32:31 +0000 (23:32 -0700)]
re PR tree-optimization/22116 (PRE of COMPLEX_EXPR causes ICE)

        PR tree-opt/22116
        * tree-ssa-pre.c (create_expression_by_pieces): Set
        DECL_COMPLEX_GIMPLE_REG_P.
        (insert_into_preds_of_block): Likewise.

From-SVN: r101177

19 years ago* tr.po: Update.
Joseph Myers [Sun, 19 Jun 2005 00:37:09 +0000 (01:37 +0100)]
* tr.po: Update.

From-SVN: r101175

19 years agoDaily bump.
GCC Administrator [Sun, 19 Jun 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101173.2

19 years ago* Makefile.in: Fix tree-cfgcleanup.c dependencies.
Steven Bosscher [Sat, 18 Jun 2005 22:50:56 +0000 (22:50 +0000)]
* Makefile.in: Fix tree-cfgcleanup.c dependencies.

From-SVN: r101170

19 years agoexpr.c (store_constructor): Use store of 0 to indicate value death instead of a clobber.
Richard Henderson [Sat, 18 Jun 2005 22:40:49 +0000 (15:40 -0700)]
expr.c (store_constructor): Use store of 0 to indicate value death instead of a clobber.

        * expr.c (store_constructor): Use store of 0 to indicate value
        death instead of a clobber.

        * config/i386/i386.c (ix86_expand_reduc_v4sf): New.
        * config/i386/i386-protos.h (ix86_expand_reduc_v4sf): Declare.
        * config/i386/sse.md (reduc_plus_v4sf): New.
        (reduc_smax_v4sf, reduc_smin_v4sf): New.

From-SVN: r101169

19 years ago* tr.po, vi.po: Update.
Joseph Myers [Sat, 18 Jun 2005 21:50:11 +0000 (22:50 +0100)]
* tr.po, vi.po: Update.

From-SVN: r101168

19 years agovect-reduc-1.c: Add cleanup-tree-dump.
Dorit Nuzman [Sat, 18 Jun 2005 21:27:47 +0000 (21:27 +0000)]
vect-reduc-1.c: Add cleanup-tree-dump.

        * gcc.dg/vect/vect-reduc-1.c: Add cleanup-tree-dump.
        * gcc.dg/vect/vect-reduc-2.c: Likewise.
        * gcc.dg/vect/vect-reduc-3.c: Likewise.

From-SVN: r101167

19 years agounix.c (stream_at_bof): Don't assume that all non-mmapped files are non-seekable.
Janne Blomqvist [Sat, 18 Jun 2005 20:09:28 +0000 (23:09 +0300)]
unix.c (stream_at_bof): Don't assume that all non-mmapped files are non-seekable.

* unix.c (stream_at_bof): Don't assume that all non-mmapped files
are non-seekable.
(stream_at_eof): Likewise.

From-SVN: r101164

19 years agofold_const (fold_binary): Fold X % (2**N) to X & (2**N - 1) for nonnegative values...
James A. Morrison [Sat, 18 Jun 2005 19:57:12 +0000 (19:57 +0000)]
fold_const (fold_binary): Fold X % (2**N) to X & (2**N - 1) for nonnegative values of X.

2005-06-18  James A. Morrison  <phython@gcc.gnu.org>

        * fold_const (fold_binary): Fold X % (2**N) to X & (2**N - 1) for
        nonnegative values of X.

From-SVN: r101163

19 years agore PR fortran/19926 ([4.0 only] Incorrect rank with PARAMETER and array element.)
Steven G. Kargl [Sat, 18 Jun 2005 18:27:05 +0000 (18:27 +0000)]
re PR fortran/19926 ([4.0 only] Incorrect rank with PARAMETER and array element.)

PR fortran/19926
* gfortran.dg/pr19926.f90: New test.

From-SVN: r101162

19 years agore PR fortran/19926 ([4.0 only] Incorrect rank with PARAMETER and array element.)
Erik Edelmann [Sat, 18 Jun 2005 18:16:22 +0000 (18:16 +0000)]
re PR fortran/19926 ([4.0 only] Incorrect rank with PARAMETER and array element.)

PR fortran/19926
* primary.c (gfc_match_rvalue):  expr_type can be EXPR_CONSTANT
  for an array; check that sym->as is NULL.

Co-Authored-By: Steven G. Kargl <kargls@comast.net>
From-SVN: r101161

19 years agointrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic functions whose...
Steven G. Kargl [Sat, 18 Jun 2005 17:59:31 +0000 (17:59 +0000)]
intrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic functions whose simplification routine return FAILURE.

* intrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic
  functions whose simplification routine return FAILURE.

From-SVN: r101160

19 years agomd.texi (Standard Names): Change insn pattern name from truncM2 to btruncM2 for ...
Uros Bizjak [Sat, 18 Jun 2005 15:21:19 +0000 (17:21 +0200)]
md.texi (Standard Names): Change insn pattern name from truncM2 to btruncM2 for 'trunc' built-in description.

* doc/md.texi (Standard Names): Change insn pattern name
from truncM2 to btruncM2 for 'trunc' built-in description.
Add rintM2 insn pattern description.

From-SVN: r101159

19 years agoc-decl.c (locate_old_decl): Add format attribute.
Kaveh R. Ghazi [Sat, 18 Jun 2005 15:07:28 +0000 (15:07 +0000)]
c-decl.c (locate_old_decl): Add format attribute.

* c-decl.c (locate_old_decl): Add format attribute.
(implicit_decl_warning): Likewise.

cp:
* call.c (convert_like_real): Add format attribute.
* typeck.c (check_for_casting_away_constness,
build_static_cast_1): Likewise.
* typeck2.c (readonly_error, cxx_incomplete_type_diagnostic):
Likewise.

From-SVN: r101158

19 years agodiagnostic.h (verbatim): Move ...
Kaveh R. Ghazi [Sat, 18 Jun 2005 15:03:56 +0000 (15:03 +0000)]
diagnostic.h (verbatim): Move ...

* diagnostic.h (verbatim): Move ...
* toplev.h (verbatim): ... here.  Add ATTRIBUTE_GCC_DIAG.
* pretty-print.h (pp_verbatim): Add ATTRIBUTE_GCC_PPDIAG.

From-SVN: r101157

19 years agore PR target/22083 (TARGET_C99_FUNCTIONS is wrongly defined on AIX 5.1)
Roger Sayle [Sat, 18 Jun 2005 13:26:20 +0000 (13:26 +0000)]
re PR target/22083 (TARGET_C99_FUNCTIONS is wrongly defined on AIX 5.1)

PR target/22083
* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Remove definition.

From-SVN: r101156

19 years agotree.def (REDUC_MAX_EXPR, [...]): New tree-codes.
Dorit Nuzman [Sat, 18 Jun 2005 13:18:52 +0000 (13:18 +0000)]
tree.def (REDUC_MAX_EXPR, [...]): New tree-codes.

        * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): New
        tree-codes.
        * optabs.h (OTI_reduc_smax, OTI_reduc_umax, OTI_reduc_smin,
        OTI_reduc_umin, OTI_reduc_plus): New optabs for reduction.
        (reduc_smax_optab, reduc_umax_optab, reduc_smin_optab, reduc_umin_optab,
        reduc_plus_optab): New optabs for reduction.
        * expr.c (expand_expr_real_1): Handle new tree-codes.
        * tree-inline.c (estimate_num_insns_1): Handle new tree-codes.
        * tree-pretty-print.c (dump_generic_node, op_prio, op_symbol): Handle
        new tree-codes.
        * optabs.c (optab_for_tree_code): Handle new tree-codes.
        (init_optabs): Initialize new optabs.
        * genopinit.c (optabs): Define handlers for new optabs.

        * tree-vect-analyze.c (vect_analyze_operations): Fail vectorization in
        case of a phi that is marked as relevant. Call vectorizable_reduction.
        (vect_mark_relevant): Phis may be marked as relevant.
        (vect_mark_stmts_to_be_vectorized): The use corresponding to the
        reduction variable in a reduction stmt does not mark its defining phi
        as relevant. Update documentation accordingly.
        (vect_can_advance_ivs_p): Skip reduction phis.
        * tree-vect-transform.c (vect_get_vec_def_for_operand): Takes
        additional argument. Handle reduction.
        (vect_create_destination_var): Update call to vect_get_new_vect_var.
        Handle non-vector argument.
        (get_initial_def_for_reduction): New function.
        (vect_create_epilog_for_reduction): New function.
        (vectorizable_reduction): New function.
        (vect_get_new_vect_var): Handle new vect_var_kind.
        (vectorizable_assignment, vectorizable_operation, vectorizable_store,
        vectorizable_condition): Update call to vect_get_new_vect_var.
        (vect_transform_stmt): Call vectorizable_reduction.
        (vect_update_ivs_after_vectorizer): Skip reduction phis.
        (vect_transform_loop): Skip if stmt is both not relevant and not live.
        * tree-vectorizer.c (reduction_code_for_scalar_code): New function.
        (vect_is_simple_reduction): Was empty - added implementation.
        * tree-vectorizer.h (vect_scalar_var): New enum vect_var_kind value.
        (reduc_vec_info_type): New enum vect_def_type value.
        * config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf,
        reduc_umax_v4si, reduc_smin_v4si, reduc_umin_v4sf, reduc_smin_v4sf,
        reduc_plus_v4si, reduc_plus_v4sf): New define_expands.

        * tree-vect-analyze.c (vect_determine_vectorization_factor): Remove
        ENABLE_CHECKING around gcc_assert.
        * tree-vect-transform.c (vect_do_peeling_for_loop_bound,
        (vect_do_peeling_for_alignment, vect_transform_loop,
        vect_get_vec_def_for_operand): Likewise.

From-SVN: r101155

19 years agoia64.c (ia64_function_arg): Set up a PARALLEL for a big-endian unnamed __float80...
Joseph Myers [Sat, 18 Jun 2005 11:56:42 +0000 (12:56 +0100)]
ia64.c (ia64_function_arg): Set up a PARALLEL for a big-endian unnamed __float80 value.

* config/ia64/ia64.c (ia64_function_arg): Set up a PARALLEL for a
big-endian unnamed __float80 value.

testsuite:
* gcc.target/ia64/float80-varargs-1.c: New test.

From-SVN: r101153

19 years agore PR tree-optimization/22035 (complex float comparison broken)
Tobias Schlüter [Sat, 18 Jun 2005 11:51:47 +0000 (13:51 +0200)]
re PR tree-optimization/22035 (complex float comparison broken)

PR tree-opt/22035
* gfortran.dg/f2c_6.f90: New test.

From-SVN: r101152

19 years agore PR tree-optimization/22103 (Statement makes a memory store .., complex)
Richard Henderson [Sat, 18 Jun 2005 08:51:44 +0000 (01:51 -0700)]
re PR tree-optimization/22103 (Statement makes a memory store .., complex)

        PR tree-opt/22103
        * tree-sra.c (generate_copy_inout): Handle SSA_NAME complex
        destinations.

From-SVN: r101150

19 years agobaseline_symbols.txt: Update.
Jakub Jelinek [Sat, 18 Jun 2005 06:14:43 +0000 (06:14 +0000)]
baseline_symbols.txt: Update.

2005-06-17  Jakub Jelinek  <jakub@redhat.com>
            Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
* config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
* config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.

* config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
* config/abi/i386-freebsd4/baseline_symbols.txt: Same.
* config/abi/i386-freebsd5/baseline_symbols.txt: Same.
* config/abi/sparc-freebsd5/baseline_symbols.txt: Same.

* config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
* config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.

From-SVN: r101149

19 years agoDaily bump.
GCC Administrator [Sat, 18 Jun 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101146.2

19 years agore PR c++/17413 (local classes as template argument)
Geoffrey Keating [Fri, 17 Jun 2005 22:13:33 +0000 (22:13 +0000)]
re PR c++/17413 (local classes as template argument)

2005-06-17  Geoffrey Keating  <geoffk@apple.com>

PR c++/17413
* pt.c (type_unification_real): Apply template type deduction even
to procedure parameters that are not dependent on a template
parameter.

Index: testsuite/ChangeLog
2005-06-17  Geoffrey Keating  <geoffk@apple.com>

PR c++/17413
* g++.dg/template/local5.C: New.

From-SVN: r101141

19 years agotree-vect-transform.c (vect_do_peeling_for_loop_bound): Use initialize_original_copy_...
Richard Henderson [Fri, 17 Jun 2005 22:05:47 +0000 (15:05 -0700)]
tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use initialize_original_copy_tables and free_original_copy_tables.

        * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use
        initialize_original_copy_tables and free_original_copy_tables.
        (vect_do_peeling_for_alignment): Likewise.

From-SVN: r101140

19 years ago[multiple changes]
Paolo Carlini [Fri, 17 Jun 2005 21:51:34 +0000 (21:51 +0000)]
[multiple changes]

2005-06-17  Paolo Carlini  <pcarlini@suse.de>

        Port from libstdcxx_so_7-branch:
2005-01-12  Christopher Jefferson <chris@bubblescope.net>

* include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
return type, just an old HP/SGI workaround.
* testsuite/20_util/functional/binders.cc: Move to...
* testsuite/20_util/functional/binders/3113.cc: ...here.
* testsuite/20_util/functional/binders/1.cc: New.

From-SVN: r101139

19 years agobb-reorder.c (find_traces_1_round): Use succ block frequency instead of edge frequenc...
Pat Haugen [Fri, 17 Jun 2005 21:42:08 +0000 (21:42 +0000)]
bb-reorder.c (find_traces_1_round): Use succ block frequency instead of edge frequency for calls to better_edge_p.

2005-06-17  Pat Haugen  <pthaugen@us.ibm.com>

        * bb-reorder.c (find_traces_1_round): Use succ block frequency
        instead of edge frequency for calls to better_edge_p.

From-SVN: r101138

19 years agore PR tree-optimization/22105 (ACATS ICE cxg2018 for_each_index, at tree-ssa-loop...
Andrew Pinski [Fri, 17 Jun 2005 21:33:51 +0000 (21:33 +0000)]
re PR tree-optimization/22105 (ACATS ICE cxg2018 for_each_index, at tree-ssa-loop-im.c:219)

2005-06-17  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/22105
        * tree-ssa-loop-im.c (for_each_index): Handle COMPLEX_CST.

From-SVN: r101137

19 years ago* es.po: Update.
Joseph Myers [Fri, 17 Jun 2005 21:18:17 +0000 (22:18 +0100)]
* es.po: Update.

From-SVN: r101136

19 years ago* gcc.dg/sync-2.c (do_qi): Cast negative results to char.
Richard Henderson [Fri, 17 Jun 2005 20:58:28 +0000 (13:58 -0700)]
* gcc.dg/sync-2.c (do_qi): Cast negative results to char.

From-SVN: r101135

19 years agore PR target/19889 (g++.old-deja/g++.law/profile1.C execution test fails on ia64...
Steve Ellcey [Fri, 17 Jun 2005 20:45:50 +0000 (20:45 +0000)]
re PR target/19889 (g++.old-deja/g++.law/profile1.C execution test fails on ia64-hpux)

PR target/19889
* config/ia64/hpux.h (FUNCTION_PROFILER): New (dummy).
(PROFILE_HOOK): New.
(PROFILE_BEFORE_PROLOGUE): Undef.
(NO_PROFILE_COUNTERS): New.
* config/ia64/ia64-protos.h (ia64_profile_hook): New.
* config/ia64/ia64.c (ia64_compute_frame_size): Add ifdef.
(gen_mcount_func_rtx): New.
(ia64_profile_hook): New.
* config/ia64/ia64.md (ip_value): New.

From-SVN: r101134

19 years agopredicates.md (s5bit_cint_operand, [...]): New.
Devang Patel [Fri, 17 Jun 2005 20:30:42 +0000 (13:30 -0700)]
predicates.md (s5bit_cint_operand, [...]): New.

        * config/rs6000/predicates.md (s5bit_cint_operand,
        u5bit_cint_operand): New.
        * config/rs6000/altivec.md (altivec_vspltb, altivec_vsplth,
        altivec_vspltisw_v4sf): Use new 5 bit constant operand predicates.
        * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Fix signed
        5 bit constant check.

From-SVN: r101133

19 years agolocal-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an...
Richard Henderson [Fri, 17 Jun 2005 20:14:25 +0000 (13:14 -0700)]
local-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an initialization insn.

        * local-alloc.c (update_equiv_regs): Update reg_equiv_init
        properly when moving an initialization insn.

From-SVN: r101132

19 years agoVmDeadException.java: New file.
Keith Seitz [Fri, 17 Jun 2005 18:14:42 +0000 (18:14 +0000)]
VmDeadException.java: New file.

        * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
        * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
        * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
        file.
        * gnu/classpath/jdwp/exception/JdwpException.java: New file.
        * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
        file.
        * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
        * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
        * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
        * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
        file.
        * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
        * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.

From-SVN: r101131

19 years ago* docs/html/21_strings/gotw29a.txt: Update code to corrected version.
Jonathan Wakely [Fri, 17 Jun 2005 16:26:13 +0000 (17:26 +0100)]
* docs/html/21_strings/gotw29a.txt: Update code to corrected version.

From-SVN: r101130

19 years agore PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read...
Francois-Xavier Coudert [Fri, 17 Jun 2005 16:20:29 +0000 (18:20 +0200)]
re PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR))

PR libfortran/19155
* io/read.c (convert_real): strtod can set errno to EINVAL on an
empty string, but we shouldn't have an error in that case.

From-SVN: r101128

19 years agoaclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the passed variable.
Paolo Bonzini [Fri, 17 Jun 2005 14:49:38 +0000 (14:49 +0000)]
aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the passed variable.

2005-06-17  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the
passed variable.

From-SVN: r101127

19 years agotree-optimize.c (execute_ipa_pass_list): New.
Jan Hubicka [Fri, 17 Jun 2005 11:53:59 +0000 (13:53 +0200)]
tree-optimize.c (execute_ipa_pass_list): New.

* tree-optimize.c (execute_ipa_pass_list): New.
(ipa_passes): Use it.

From-SVN: r101126

19 years ago[multiple changes]
Benjamin Kosnik [Fri, 17 Jun 2005 07:33:56 +0000 (07:33 +0000)]
[multiple changes]

2005-06-17  Jakub Jelinek  <jakub@redhat.com>
            Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
* config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
* config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.

* config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
* config/abi/i386-freebsd4/baseline_symbols.txt: Same.
* config/abi/i386-freebsd5/baseline_symbols.txt: Same.
* config/abi/sparc-freebsd5/baseline_symbols.txt: Same.

* config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
* config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.

2005-06-17  Jakub Jelinek  <jakub@redhat.com>

* config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
* config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
* config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
* config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
* config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
* config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
* config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
* config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
* config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.

2005-06-16  Jakub Jelinek  <jakub@redhat.com>

* src/compatibility.cc: Include bits/c++config.h first.
(_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
and PIC are both defined.
* include/bits/char_traits.h (char_traits::eq): Rename
only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.

2005-06-16  Jakub Jelinek  <jakub@redhat.com>

        * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
        to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
        * configure: Regenerate.
        * config.h.in: Regenerate.
        * src/compatibility.cc (istream:ignore(streamsize)): Use
        _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
        * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
        to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
        instead for symbols with streamsize arguments.

2005-06-16  Jakub Jelinek  <jakub@redhat.com>

* config/linker-map.gnu: Also export
_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].

2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>

* configure.ac (libtool_VERSION): To 6:6:0.
* configure: Regenerate.
* config/linker-map.gnu: Edit.
* src/istream.cc: Move istream::ignore(streamsize) specializations...
* src/compatibility.cc: ...here. New.
* include/bits/char_traits.h (char_traits::eq): Rename when
appropriate.
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
Bump glibcxx_min_gnu_ld_version to 21590.
* configure: Regenerate.
* acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
* config.h.in: Regenerate.
* src/Makefile.am (sources): Add compatibility.cc.
* src/Makefile.in: Regenerate.
* include/Makefile.am (host_headers_noinst): Add compatibility.h.
* include/Makefile.in: Regenerate.
* testsuite/testsuite_abi.h (symbol): Add data members.
* testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
version checking.

From-SVN: r101125

19 years agore PR testsuite/21945 (gfortran testsuite dies on cygwin (again))
David Billinghurst [Fri, 17 Jun 2005 06:50:32 +0000 (06:50 +0000)]
re PR testsuite/21945 (gfortran testsuite dies on cygwin (again))

2005-06-07  David Billinghurst  <David.Billinghurst@riotinto.com>

PR testsuite/21945
* lib/gcc-dg.exp (gcc-dg-test-1): Catch error if file can't be deleted.

From-SVN: r101124

19 years agore PR tree-optimization/22022 (ACATS ICE cxg1002 tree_split_edge, at tree-cfg.c:3025)
Richard Henderson [Fri, 17 Jun 2005 00:56:07 +0000 (17:56 -0700)]
re PR tree-optimization/22022 (ACATS ICE cxg1002 tree_split_edge, at tree-cfg.c:3025)

        PR tree-opt/22022
        * tree-complex.c (update_phi_components): Avoid no-op moves.

From-SVN: r101121

19 years agoDaily bump.
GCC Administrator [Fri, 17 Jun 2005 00:16:34 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101118.2

19 years agovect-dv-2.c, [...]: Call check_vect to verify the presence of hardware vector support.
Giovanni Bajo [Thu, 16 Jun 2005 23:39:51 +0000 (01:39 +0200)]
vect-dv-2.c, [...]: Call check_vect to verify the presence of hardware vector support.

* gcc.dg/vect/vect-dv-2.c, gcc.dg/vect/vect-ifcvt-2.c,
gcc.dg/vect/vect-ifcvt-3.c, gcc.dg/vect/vect-ifcvt-4.c,
gcc.dg/vect/vect-ifcvt-5.c, gcc.dg/vect/vect-ifcvt-6.c,
gcc.dg/vect/vect-ifcvt-7.c, gcc.dg/vect/vect-ifcvt-9.c: Call
check_vect to verify the presence of hardware vector support.

From-SVN: r101114

19 years agore PR testsuite/22056 (gcc.dg/pr14796-2.c scan-tree-dump c & -34359738368 fails)
James A. Morrison [Thu, 16 Jun 2005 23:10:49 +0000 (23:10 +0000)]
re PR testsuite/22056 (gcc.dg/pr14796-2.c scan-tree-dump c & -34359738368 fails)

2005-06-16  James A. Morrison  <phython@gcc.gnu.org>

        PR testsuite/22056
        * gcc.dg/pr14796-2.c: Accept -34359738368 and -800000000.

From-SVN: r101110

19 years agoMakefile.in (cc1-checksum.c): Use build/genchecksum$(build_exeext), not build/genchec...
Joseph Myers [Thu, 16 Jun 2005 23:02:58 +0000 (00:02 +0100)]
Makefile.in (cc1-checksum.c): Use build/genchecksum$(build_exeext), not build/genchecksum$(exeext).

* Makefile.in (cc1-checksum.c): Use
build/genchecksum$(build_exeext), not build/genchecksum$(exeext).

From-SVN: r101109

19 years agore PR libfortran/19216 (list directed read with leading slash (NIST FM923))
Francois-Xavier Coudert [Thu, 16 Jun 2005 22:50:51 +0000 (00:50 +0200)]
re PR libfortran/19216 (list directed read with leading slash (NIST FM923))

PR libfortran/19216
* io/list_read.c (eat_separator): No need to call next_record,
even in non-namelist_mode.
* gfortran.dg/pr19216.f: Add correct space between brackets and
dg directive.

From-SVN: r101105

19 years ago* io/transfer.c (formatted_transfer): Fix typo in error message.
Francois-Xavier Coudert [Thu, 16 Jun 2005 22:31:32 +0000 (00:31 +0200)]
* io/transfer.c (formatted_transfer): Fix typo in error message.

From-SVN: r101102

19 years agore PR libfortran/16436 (gfortran TL edit descriptor failure - test f77-edit-t-in.f)
Francois-Xavier Coudert [Thu, 16 Jun 2005 22:13:26 +0000 (00:13 +0200)]
re PR libfortran/16436 (gfortran TL edit descriptor failure - test f77-edit-t-in.f)

PR libfortran/16436
* io/transfer.c (read_sf): Correct updating of bytes_left field.
(formatted_transfer): Correct updating of bytes_left field and
reformatting code (comments and whitespace).
* io/unix.c (move_pos_offset): "active" field should not be
changed here. Whitespace corrections.
* gfortran.dg/g77/f77-edit-t-in.f: Not XFAIL-ed any more.

From-SVN: r101100

19 years agogengtype.c (adjust_field_rtx_def): Don't add a skip to basic_block types.
Geoffrey Keating [Thu, 16 Jun 2005 22:12:24 +0000 (22:12 +0000)]
gengtype.c (adjust_field_rtx_def): Don't add a skip to basic_block types.

* gengtype.c (adjust_field_rtx_def): Don't add a skip to
basic_block types.

From-SVN: r101099

19 years agot-slibgcc-darwin (SHLIB_SOVERSION): Rename from SHLIB_MINOR.
Geoffrey Keating [Thu, 16 Jun 2005 22:04:22 +0000 (22:04 +0000)]
t-slibgcc-darwin (SHLIB_SOVERSION): Rename from SHLIB_MINOR.

* config/t-slibgcc-darwin (SHLIB_SOVERSION): Rename from
SHLIB_MINOR.
(SHLIB_REVISION): Delete.
(SHLIB_VERSTRING): Update to compensate.
(SHLIB_SONAME): Just use one '.' in the name.

From-SVN: r101098

19 years agore PR tree-optimization/22018 (VRP miscompiles multiply)
Eric Botcazou [Thu, 16 Jun 2005 21:25:00 +0000 (23:25 +0200)]
re PR tree-optimization/22018 (VRP miscompiles multiply)

PR tree-optimization/22018
* tree-vrp.c (vrp_int_const_binop): Overhaul handling of overflow.

From-SVN: r101097

19 years agobe.po, [...]: Update.
Joseph Myers [Thu, 16 Jun 2005 19:48:09 +0000 (20:48 +0100)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, vi.po: Update.

From-SVN: r101092

19 years agoFix typo in last log message.
Joseph Myers [Thu, 16 Jun 2005 19:46:52 +0000 (20:46 +0100)]
Fix typo in last log message.

From-SVN: r101091

19 years agobe.po, [...]: Update.
Joseph Myers [Thu, 16 Jun 2005 19:44:52 +0000 (20:44 +0100)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, zh_CN: Update.

From-SVN: r101090

19 years agore PR tree-optimization/22035 (complex float comparison broken)
Richard Henderson [Thu, 16 Jun 2005 18:09:34 +0000 (11:09 -0700)]
re PR tree-optimization/22035 (complex float comparison broken)

        PR tree-opt/22035
        * builtins.c (fold_builtin_complex_mul): Remove.
        (fold_builtin_complex_div): Remove.
        (fold_builtin_1): Don't call them.
        * fold-const.c (fold_complex_add, fold_complex_mult_parts,
        fold_complex_mult, fold_complex_div_parts, fold_complex_div): Remove.
        (fold_binary): Don't call them.  Don't expand complex comparisons to
        elementary comparisons.
        * tree-complex.c (init_dont_simulate_again): Enhance search for
        stmts that require decomposition.
        (complex_visit_stmt): Handle RETURN_EXPR properly.
        (create_components): Handle no referenced variables properly.
        * tree.h (fold_complex_mult_parts): Remove.
        (fold_complex_div_parts): Remove.

From-SVN: r101086

19 years agoextend.texi: Document sseregparm target attribute.
Richard Guenther [Thu, 16 Jun 2005 16:39:51 +0000 (16:39 +0000)]
extend.texi: Document sseregparm target attribute.

2005-06-16  Richard Guenther  <rguenth@gcc.gnu.org>

* doc/extend.texi: Document sseregparm target attribute.
Clarify fastcall and regparm documentation.
* config/i386/i386.h: Adjust float_in_sse documentation.
* config/i386/i386.c: Add new target attribute sseregparm.
(ix86_handle_cdecl_attribute, ix86_handle_regparm_attribute):
Merge into ...
(ix86_handle_cconv_attribute): ... here.  Also handle
sseregparm attribute.
(ix86_comp_type_attributes): Compare sseregparm attributes.
(ix86_function_sseregparm): New function, split out from ...
(init_cumulative_args): ... here.  Use to decide use
of SSE registers and error in case of missing support.
(ix86_value_regno): Likewise.
(function_arg_advance): Do not bail out for DFmode if we need
to pass doubles in registers.
(function_arg): Likewise.

* gcc.target/i386/attributes-error.c: New testcase.
* gcc.target/i386/fastcall-sseregparm.c: Likewise.
* gcc.target/i386/regparm-stdcall.c: Likewise.
* gcc.target/i386/sseregparm-1.c: Likewise.
* gcc.target/i386/sseregparm-2.c: Likewise.

From-SVN: r101085

19 years agoAlan Modra <amodra.bigpond.net.au>
Paolo Bonzini [Thu, 16 Jun 2005 12:49:06 +0000 (12:49 +0000)]
Alan Modra <amodra.bigpond.net.au>

2005-06-16  Paolo Bonzini  <bonzini@gnu.org>
            Daniel Jacobowitz  <dan@codesourcery.com>
    Alan Modra <amodra.bigpond.net.au>

        * configure.ac (gcc_version): Set near the beginning.
        (as, ld, nm): Do not link in-tree tools.  Set gcc_cv_* if tools are
        found in the tree.  Use gcc_AC_PROG to find the tools in the system.
        (objdump): Do not look for it.
        * Makefile.in (NM_FOR_TARGET): Point to ./nm.
        (ORIGINAL_AS_FOR_TARGET, ORIGINAL_LD_FOR_TARGET,
        ORIGINAL_NM_FOR_TARGET): Substitute from autoconf.
        (as, ld, nm): New rules.
        (libgcc.mk): Depend on them.
        * aclocal.m4 (gcc_AC_TOOL_DIRS, gcc_AC_CHECK_TOOL,
        gcc_AC_BUILD_EXEEXT): New.
        (gcc_AC_CHECK_PROG_VER): Use gcc_AC_BUILD_EXEEXT.
        * configure: Regenerate.

Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
From-SVN: r101084

19 years agoMakefile.am (libgcj_la_SOURCES): Define without conditional sources.
Kelley Cook [Thu, 16 Jun 2005 12:13:34 +0000 (12:13 +0000)]
Makefile.am (libgcj_la_SOURCES): Define without conditional sources.

2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
(if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
(if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
* Makefile.in: Regenerate.

From-SVN: r101083

19 years agobasic-block.h (rtl_bb_info): Break out head_, end_, global_live_at_start, global_live...
Jan Hubicka [Thu, 16 Jun 2005 10:33:40 +0000 (12:33 +0200)]
basic-block.h (rtl_bb_info): Break out head_, end_, global_live_at_start, global_live_at_end from ...

* basic-block.h (rtl_bb_info): Break out head_, end_,
global_live_at_start, global_live_at_end from ...
(basic_block_def): ... here; update all references
(BB_RTL): New flag.
(init_rtl_bb_info): Declare.
* cfgexpand.c (expand_gimple_basic_block): Init bb info, set BB_RTL
flag.
* cfgrtl.c: Include ggc.h
(create_basic_block_structure): Init bb info.
(rtl_verify_flow_info_1): Check BB_RTL flag and rtl_bb_info pointer.
(init_rtl_bb_info): New function.
(rtl_merge_block, cfglayout_merge_block): Copy global_live_at_end here.
* cfghooks.c (merge_block): Do not copy global_live_at_end here.
* cfg.c (clear_bb_flags): Skip BB_RTL flag.
(dump_flow_info): Gueard global_live_* dumping.

From-SVN: r101082

19 years agoresync
Arnaud Charlet [Thu, 16 Jun 2005 10:01:50 +0000 (12:01 +0200)]
resync

From-SVN: r101081

19 years agoResync with latest version of AI-302
Arnaud Charlet [Thu, 16 Jun 2005 09:07:25 +0000 (11:07 +0200)]
Resync with latest version of AI-302

From-SVN: r101079

19 years agoUpdate header.
Arnaud Charlet [Thu, 16 Jun 2005 09:06:53 +0000 (11:06 +0200)]
Update header.

From-SVN: r101078