aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-11-21re PR libfortran/24432 (Missing symbols)Eric Botcazou2-0/+7
PR libfortran/24432 * lib/target-supports.exp (check_effective_target_fortran_large_real): Check that 'cos' is supported. From-SVN: r107321
2005-11-21sso_string_base.h: Minor formatting and stylistic fixes.Paolo Carlini4-38/+46
2005-11-21 Paolo Carlini <pcarlini@suse.de> * include/ext/sso_string_base.h: Minor formatting and stylistic fixes. (__sso_string_base<>::_M_get_allocator): Return by const ref. * include/ext/rc_string_base.h: Likewise. (__rc_string_base<>::_M_get_allocator): Return by const ref. (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator. (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator. (__rc_string_base<>::~__rc_string_base, __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve, _M_mutate): Adjust. * include/ext/vstring_util.h: Minor stylistic fixes. From-SVN: r107317
2005-11-21re PR target/24951 (ICE: RTL check: expected code 'const_int', have ↵Paolo Bonzini2-5/+10
'const_double' in output_vec_const_move, at config/rs6000/rs6000.c) 2005-11-21 Paolo Bonzini <bonzini@gnu.org> PR target/24951 * config/rs6000/rs6000.c (output_vec_const_move): Load cst and cst2 only for SPE vectors. From-SVN: r107312
2005-11-21re PR target/24953 (RTL check: access of elt 1 of vector with last elt 0 in ↵David Edelsohn2-1/+8
vrsave_operation_1, at config/rs6000/predicates.md:1041) PR target/24953 * config/rs6000/predicates.md (vrsave_operation): Check UNSPEC_VOLATILE value. From-SVN: r107311
2005-11-21re PR fortran/24223 (Gfortran crashes in two places)Paul Thomas6-1/+55
2005-11-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/24223 * resolve.c (resolve_contained_fntype) Error if an internal function is assumed character length. PR fortran/24705 * trans-decl.c (gfc_create_module_variable) Skip ICE in when backend decl has been built and the symbol is marked as being in an equivalence statement. 2005-11-21 Paul Thomas <pault@gcc.gnu.org PR fortran/24223 * gfortran.dg/substring_equivalence.f90: New test. PR fortran/24705 * gfortran.dg/auto_internal_assumed.f90: New test. From-SVN: r107310
2005-11-21re PR tree-optimization/24653 (EON regressed seriously on x86-64)Jan Hubicka2-0/+9
PR tree-optimization/24653 * tree-ssa-ccp.c (ccp_fold): Strip down useless conversions. From-SVN: r107304
2005-11-21predicates.md (ax_reg_operand): New predicate.Uros Bizjak3-2/+35
* config/i386/predicates.md (ax_reg_operand): New predicate. (memory_displacement_only_operand): New predicate. * config/i386/i386.md ("modrm" attribute): Return 0 if one operand is AX register and the other operand is memory operand with displacement only. From-SVN: r107283
2005-11-21fold-const.c (fold_binary): Optimize A / A to 1.0 if we don't care about ↵Uros Bizjak4-0/+33
NaNs or Infinities. * fold-const.c (fold_binary) <RDIV_EXPR>: Optimize A / A to 1.0 if we don't care about NaNs or Infinities. testsuite: * gcc.dg/fold-div-2.c: New test. From-SVN: r107282
2005-11-21re PR rtl-optimization/24883 (fatal error: internal consistency failure ↵Ian Lance Taylor4-10/+51
building xorg-x11) ./: PR rtl-optimization/24883 * combine.c (combinable_i3pat): When checking whether the destination of i3 is used in i3, consider paradoxical subregs. testsuite/: PR rtl-optimization/24883 * gcc.c-torture/compile/pr24883.c: New test. From-SVN: r107279
2005-11-21re PR rtl-optimization/20583 (ICE in output_operand: invalid expression as ↵Kazu Hirata4-11/+56
operand) gcc/ PR middle-end/20583 * cse.c (cse_insn): Reject invalid forms of CONST earlier. gcc/testsuite/ PR middle-end/20583 * gcc.c-torture/compile/pr20583.c: New. From-SVN: r107278
2005-11-21Import from Autoconf sources:Ben Elliston2-27/+25
2005-09-06 Paul Eggert <eggert@cs.ucla.edu> * config/move-if-change: Don't output "$2 is unchanged"; suggested by Ben Elliston. Handle weird characters correctly. From-SVN: r107275
2005-11-21combine.c (try_combine): Do not run subst on i1src and i2src in the case of ↵Joseph Myers2-29/+40
generating a PARALLEL for a... * combine.c (try_combine): Do not run subst on i1src and i2src in the case of generating a PARALLEL for a comparison. From-SVN: r107273
2005-11-20re PR tree-optimization/24931 (uninitialized structure member after assignment)Richard Henderson3-9/+68
PR 24931 * tree-sra.c (struct sra_elt): Add all_no_warning. (struct sra_walk_fns) <use>: Add use_all argument. (sra_walk_expr): Pass it. (sra_walk_modify_expr): Likewise. (scalarize_ldst): Likewise. (scan_use): Update for new argument. (mark_no_warning): New. (scalarize_use): Use it. From-SVN: r107271
2005-11-21Daily bump.GCC Administrator1-1/+1
From-SVN: r107268
2005-11-20Makefile.am: Revert 2005-11-14 change.Richard Henderson4-102/+114
* Makefile.am: Revert 2005-11-14 change. Enable -free-vectorize via gmake per-target variables. * Makefile.in, aclocal.m4: Regenerate. From-SVN: r107261
2005-11-20expr.c (expand_expr_real): Use usmul_optab for widening signed * unsigned ↵Bernd Schmidt7-2/+71
multiplies. * expr.c (expand_expr_real): Use usmul_optab for widening signed * unsigned multiplies. * genopinit.c (optabs): Add usmul_widen_optab. * optabs.c (init_optabs): Likewise. * optabs.h (enum optab_index): Add OTI_usmul_widen. (usmul_widen_optab): Define. * config/bfin/bfin.md (usmulhisi3): New pattern. * doc/md.texi (usmulqihi3, usmulhisi3, usmulsidi3): Document. From-SVN: r107258
2005-11-20usmul.c: New test.Bernd Schmidt2-0/+37
* gcc.c-torture/execute/usmul.c: New test. From-SVN: r107257
2005-11-20* cpplib.pot: Regenerate.Joseph Myers2-99/+112
From-SVN: r107256
2005-11-20* gcc.pot: Regenerate.Joseph Myers2-5769/+7386
From-SVN: r107255
2005-11-20gensupport.c (std_preds): Fixed extraneous `false` in last change.Graham Stott2-1/+5
* gensupport.c (std_preds): Fixed extraneous `false` in last change. From-SVN: r107252
2005-11-20re PR libobjc/19024 (name collisions libobjc/libmysqlclient)David Ayers6-205/+14
2005-11-20 David Ayers <d.ayers@inode.at> PR libobjc/19024 * objc/hash.h: Remove deprecated hash API. * hash_compat.c: Remove. * Makefile.in: Remove reference to hash_compat.c. * configure.ac (VERSION): Bump library version to 2:0:0. * configure: Regenerate. From-SVN: r107251
2005-11-20invoke.texi: Remove superfluous @item.Toon Moene2-1/+4
2005-11-20 Toon Moene <toon@moene.indiv.nluug.nl> * invoke.texi: Remove superfluous @item. From-SVN: r107249
2005-11-20re PR target/24757 (__sync_fetch_and_add on ia64)Andreas Schwab2-1/+7
PR target/24757 * config/ia64/ia64.c (ia64_expand_atomic_op): Fix condition of cmp insn. From-SVN: r107246
2005-11-19re PR tree-optimization/24665 (internal compiler error: ↵Richard Henderson5-5/+69
get_indirect_ref_operands) PR tree-opt/24665 * tree-gimple.c (is_gimple_id): Export. * tree-gimple.h (is_gimple_id): Declare. * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): New. (get_default_value): Use it. (maybe_fold_stmt_indirect): Likewise. From-SVN: r107244
2005-11-20tree-vrp.c (compare_ranges): Return false for EQ_EXPR if VR0 is less than ↵James A. Morrison4-0/+29
VR1 or vice-versa. 2005-11-19 James A. Morrison <phython@gcc.gnu.org> * tree-vrp.c (compare_ranges): Return false for EQ_EXPR if VR0 is less than VR1 or vice-versa. From-SVN: r107243
2005-11-20Daily bump.GCC Administrator1-1/+1
From-SVN: r107240
2005-11-19re PR middle-end/24912 (m68k build failure: ICE: in ↵Hans-Peter Nilsson3-35/+95
reload_cse_simplify_operands) PR middle-end/24912 PR middle-end/24750 * reload.c (find_reloads_address_1): Mention dependency on gen_reload. * reload1.c (gen_reload): For IN with an unary operation, try moving inner expression to OUT if trivial SET is not valid. Confirm that the result is valid. Move common code block into... (emit_insn_if_valid_for_reload): New function. From-SVN: r107231
2005-11-19re PR middle-end/24912 (m68k build failure: ICE: in ↵Hans-Peter Nilsson2-0/+15
reload_cse_simplify_operands) PR middle-end/24912 * gcc.dg/torture/pr24912-1.c: New test. From-SVN: r107230
2005-11-19fold-const.c (fold_indirect_ref_1): Make sure we fold ARRAY_REFs of constant ↵Richard Guenther2-2/+13
strings. 2005-11-19 Richard Guenther <rguenther@suse.de> * fold-const.c (fold_indirect_ref_1): Make sure we fold ARRAY_REFs of constant strings. From-SVN: r107229
2005-11-19fortran ChangeLog:Janne Blomqvist4-8/+76
2005-11-19 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/24862 * trans-io.c (gfc_trans_transfer): Handle arrays of derived type. testsuite ChangeLog: 2005-11-19 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/24862 * gfortran.dg/arrayio_derived_1.f90: New test. From-SVN: r107228
2005-11-19gcc.c (version_compare_spec_function): Use '%s' rather than %qs in fatal ↵Jakub Jelinek2-1/+6
format string. * gcc.c (version_compare_spec_function): Use '%s' rather than %qs in fatal format string. From-SVN: r107226
2005-11-19re PR ada/23717 ([Ada] Wrong ICE diagnostic formatting)Richard Guenther2-4/+25
2005-11-19 Richard Guenther <rguenther@suse.de> Roger Sayle <roger@eyesopen.com> PR ada/23717 * misc.c (internal_error_function): Don't use vsprintf to format the error message text, instead use pp_format_text and the new pretty printer APIs. This allows handling of %qs, %w, etc. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r107223
2005-11-19combine.c (make_compound_operation): Swap operands of commutative operation ↵Joseph Myers2-0/+15
if necessary before returning. * combine.c (make_compound_operation): Swap operands of commutative operation if necessary before returning. From-SVN: r107219
2005-11-19re PR middle-end/23294 (fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1))Richard Guenther4-133/+167
2005-11-19 Richard Guenther <rguenther@suse.de> PR middle-end/23294 * fold-const.c (fold_plusminus_mult_expr): New function. (fold_binary): Use to canonicalize PLUS_EXPR and MINUS_EXPR cases, remove now unnecessary code. * gcc.dg/tree-ssa/pr23294.c: New testcase. From-SVN: r107218
2005-11-19Add comment.Eric Botcazou1-0/+2
From-SVN: r107217
2005-11-19* gcc.dg/fold-overflow-1.c: Adjust for float output for mmix-*-*.Hans-Peter Nilsson2-1/+6
From-SVN: r107216
2005-11-19gensupport.c (old_preds): Rename to std_preds, add special field.Paolo Bonzini2-51/+42
2005-11-19 Paolo Bonzini <bonzini@gcc.gnu.org> * gensupport.c (old_preds): Rename to std_preds, add special field. (struct old_pred_table): Rename to struct std_pred_table, add special field. (NUM_KNOWN_OLD_PREDS): Rename to NUM_KNOWN_STD_PREDS. (NUM_OLD_SPECIAL_MODE_PREDS): Remove. (init_predicate_table): Adjust, and set along the way whether a predicate is special. From-SVN: r107215
2005-11-19Remove conflict markersHans-Peter Nilsson1-3/+0
From-SVN: r107214
2005-11-19* crontab: Add 4.1 branch entry.Mark Mitchell2-1/+6
From-SVN: r107213
2005-11-19* BASE-VER: Change to 4.2.0.Mark Mitchell2-1/+5
From-SVN: r107212
2005-11-19re PR c++/8355 (befriending a template specialization in another namespace)Mark Mitchell5-68/+87
PR c++/8355 * decl.c (grokfndecl): Set up DECL_TEMPLATE_INFO before calling set_decl_namespace. * name-lookup.c (set_decl_namespace): PR c++/8355 * g++.dg/template/friend39.C: New test. From-SVN: r107207
2005-11-18Fix spurious warning for strstr (s, "").James E Wilson4-1/+20
* builtins.c (fold_builtin_strstr): Pass s1 through fold_convert before returning it. * gcc.dg/builtin-strstr.c: New. From-SVN: r107206
2005-11-1820010423-1.c, [...]: Move from gcc.dg/.Richard Henderson18-13/+26
* gcc.target/ia64/20010423-1.c, gcc.target/ia64/20020313-1.c, gcc.target/ia64/20020326-1.c, gcc.target/ia64/20030225-2.c, gcc.target/ia64/20030405-1.c, gcc.target/ia64/20030811-1.c, gcc.target/ia64/20040303-1.c: Move from gcc.dg/. * gcc.target/ia64/asm-1.c, gcc.target/ia64/float80-1.c, gcc.target/ia64/float80-2.c, gcc.target/ia64/got-1.c, gcc.target/ia64/postinc-1.c, gcc.target/ia64/types-1.c, gcc.target/ia64/types-2.c, gcc.target/ia64/visibility-1.c, gcc.target/ia64/visibility-2.c: Move from gcc.dg/, with renaming to remove initial "ia64-". From-SVN: r107205
2005-11-19Daily bump.GCC Administrator1-1/+1
From-SVN: r107202
2005-11-18c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.Mike Stump12-15/+37
* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name. * config/darwin-c.c (darwin_pragma_unused): Likewise. * c-decl.c (lookup_name_two) Remove. * c-tree.h (lookup_name_two): Remove. * c-objc-common.h (LANG_HOOKS_LOOKUP_NAME): Add. * langhooks-def.h (LANG_HOOKS_LOOKUP_NAME): Add. (LANG_HOOKS_DECLS): Add initializer for LANG_HOOKS_LOOKUP_NAME. * langhooks.h (lang_hooks_for_decls): Add lookup_name. cp: * cp-objcp-common.h (LANG_HOOKS_LOOKUP_NAME): Add. * name-lookup.c (lookup_name_two): Remove. (lookup_name_one): Add. * name-lookup.h (lookup_name_two): Remove. (lookup_name_one): Add. From-SVN: r107196
2005-11-18ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to ↵Andreas Tobler2-1/+6
match upstream libtool for darwin. 2005-11-18 Andreas Tobler <a.tobler@schweiz.ch> * ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to match upstream libtool for darwin. From-SVN: r107192
2005-11-18run_all.sh (target_run): Revert 2005-11-17 patch.Eric Botcazou2-18/+5
* ada/acats/run_all.sh (target_run): Revert 2005-11-17 patch. From-SVN: r107190
2005-11-18re PR target/24914 (gcc fails when built with --with-cpu=ep9312 ↵Richard Earnshaw2-12/+26
--with-fpu=maverick) PR target/24914 * arm.c (arm_hard_regno_mode_ok): Co-processor registers aren't ok when not generating code to use that co-processor. From-SVN: r107187
2005-11-18tree-flow.h (reserve_phi_args_for_new_edge, [...]): Mention that these ↵James A. Morrison2-6/+14
functions are now in tree-phinodes.c. 2005-11-18 James A. Morrison <phython@gcc.gnu.org> * tree-flow.h (reserve_phi_args_for_new_edge, create_phi_node, add_phi_arg, remove_phi_args, remove_phi_node phi_reverse): Mention that these functions are now in tree-phinodes.c. From-SVN: r107185
2005-11-18* config/bfin/bfin.md (trap): New pattern.Jie Zhang2-0/+11
From-SVN: r107184