aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-05-24class.c (registered_class): Take it out of class_roots; turn into a vec of ↵Richard Henderson3-31/+39
trees. * class.c (registered_class): Take it out of class_roots; turn into a vec of trees. (register_class): Make static. Don't duplicate decl node. Use VEC_safe_push. (emit_register_classes): Use VEC_iterate. Use output_constant instead of assemble_integer. Don't call mark_decl_referenced directly. * java-tree.h (register_class): Remove decl. From-SVN: r100107
2005-05-24re PR c++/21645 (C++ ICE in cxx_types_compatible_p)Andrew Pinski4-0/+29
2005-05-24 Andrew Pinski <pinskia@physics.uc.edu> PR C++/21645 * g++.dg/init/ctor5.C: New test. 2005-05-24 Andrew Pinski <pinskia@physics.uc.edu> PR C++/21645 * optimize.c (update_cloned_parm): Copy the TYPE also from the original one. From-SVN: r100106
2005-05-24Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.Jeff Law3-1/+17
* Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h. * tree-cfg.c: Include tree-ssa-propagate.h. (replace_uses_by): Call recompute_tree_invarant_for_addr_expr as needed. From-SVN: r100103
2005-05-24vect-none.c: Split into vect-106.c...Ira Rosen11-191/+363
* gcc.dg/vect/vect-none.c: Split into vect-106.c, vect-107.c, vect-108.c, vect-109.c, vect-110.c, vect-111.c, vect-112.c, vect-113.c, vect-114.c. From-SVN: r100102
2005-05-24(rs6000_cpu_cpp_builtins): Define __NO_FPRS__ when 'f' class registers willNick Clifton2-0/+9
not be available. From-SVN: r100097
2005-05-24m32r.c (m32r_expand_block_move): Return 0 if nothing was done.Kazuhiro Inaoka4-8/+22
* config/m32r/m32r.c (m32r_expand_block_move): Return 0 if nothing was done. * config/m32r/m32r.md (movmemsi): If m32r_expand_block_move did nothing then FAIL. * config/m32r/m32r/m32r-protos.h (m32r_expand_block_move): Update prototype. From-SVN: r100095
2005-05-24* gcc.dg/const-elim-1.c: Remove xfails.Adam Nemet2-7/+5
From-SVN: r100093
2005-05-23tree-ssa-dom.c (cprop_into_stmt): Do not call ↵Jeff Law7-10/+68
recompute_tree_invariant_for_addr_expr here. * tree-ssa-dom.c (cprop_into_stmt): Do not call recompute_tree_invariant_for_addr_expr here. (optimize_stmt): Call it here instead and do so if anything at all has changed in the statement and the RHS is an ADDR_EXPR. * tree-ssa-forwprop.c (tidy_after_forward_propagate_addr): If needed, call recompute_tree_invariant_for_addr_expr. * tree-ssa-propagate.c (substitute_and_fold): Call recompute_tree_invariant_for_addr_expr as needed. * gcc.c-torture/compile/pr21638.c: New test. * gcc.c-torture/compile/20050520-1.c: New test. From-SVN: r100092
2005-05-24Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100090.2
2005-05-23tweak commentJason Merrill1-9/+12
From-SVN: r100088
2005-05-23s390.c (s390_optimize_prologue): Don't replace an insn saving less registers ↵Andreas Krebbel2-22/+17
than the replacement. 2005-05-23 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_optimize_prologue): Don't replace an insn saving less registers than the replacement. From-SVN: r100081
2005-05-23* tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.Jan Hubicka2-1/+5
From-SVN: r100080
2005-05-2320020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*.Nick Clifton3-2/+8
* gcc.c-torture/execute/20020720-1.x: Fix m32r target selector to be a proper triple, ie: m32r*-*-*. * g++.old-deja/g++.jason/thunk3.C: Likewise. From-SVN: r100078
2005-05-23sparc-protos.h (sparc_expand_move): New prototype.Eric Botcazou5-435/+181
* config/sparc/sparc-protos.h (sparc_expand_move): New prototype. * config/sparc/sparc.c (sparc_expand_move): New function. (sparc_emit_set_const64): Rewrite assert condition on entry. (legitimate_constant_p) <CONST_VECTOR>: New case. (legitimize_pic_address): Use TARGET_ARCH64 to select the mode. * config/sparc/sparc.md (movqi, movhi, movsi, movdi, movV32, movV64, movtf): Use nonimmediate_operand for the first operand. Rewrite. Only invoke sparc_expand_move. * config/sparc/predicates.md (input_operand): Reorder tests. From-SVN: r100077
2005-05-23gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return ↵Jan Beulich2-0/+6
statement. gcc/ 2005-05-23 Jan Beulich <jbeulich@novell.com> * gthr-posix.h (__gthread_recursive_mutex_init_function): Add missing return statement. From-SVN: r100075
2005-05-23* gfortran.texi: Document some more GNU extensions.Roger Sayle2-0/+70
From-SVN: r100074
2005-05-23Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100072.2
2005-05-22* error.c (gfc_warning): Fix typo in comment.Francois-Xavier Coudert2-1/+5
From-SVN: r100070
2005-05-22sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode ↵Eric Botcazou2-2/+7
stack slots. * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack slots. From-SVN: r100058
2005-05-22Give credit, where credit is due.Ziemowit Laski1-1/+1
From-SVN: r100056
2005-05-22Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100053.2
2005-05-21re PR middle-end/21331 (Incorrect folding of comparison)Andrew Pinski3-0/+34
2004-05-21 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/21331 PR tree-opt/21293 * gcc.c-torture/compile/pr21293.c: New test. * gcc.c-torture/execute/pr21331.c: New test. From-SVN: r100045
2005-05-21tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the ↵Richard Guenther2-5/+24
form &va[0]. 2005-05-21 Richard Guenther <rguenth@gcc.gnu.org> * tree-stdarg.c (execute_optimize_stdarg): Handle references to va_list of the form &va[0]. From-SVN: r100043
2005-05-21Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100038.2
2005-05-20* g++.dg/other/stdarg3.C: Spell "hpux*" correctly.Richard Henderson2-1/+5
From-SVN: r100036
2005-05-20Give credit, where credit is due.Ziemowit Laski4-5/+10
From-SVN: r100035
2005-05-20obj-c++-dg.exp: Add.Mike Stump4-0/+436
* obj-c++-dg.exp: Add. * obj-c++.exp: Add. * obj-c++.dg/dg.exp: Add. From-SVN: r100031
2005-05-20Makefile.in (insn-emit.o): Add basic-block.h dependency.Jan Hubicka3-1/+8
* Makefile.in (insn-emit.o): Add basic-block.h dependency. * genemit.c (main): Make insn-emit to include basic-block.h too. From-SVN: r100028
2005-05-20thunk3.C: XFAIL on m32r*-*.Nick Clifton3-2/+12
* g++.old-deja/g++.jason/thunk3.C: XFAIL on m32r*-*. * gcc.c-torture/execute/20020720-1.x: Add xfail for m32r*-*. * gcc.c-torture/execute/20020720-1.x: Add xfail for avr-*-*. From-SVN: r100010
2005-05-20* cgraphunit.c (cgraph_expand_function): Force function being lowered.Jan Hubicka2-0/+6
From-SVN: r100009
2005-05-19* g++.dg/other/stdarg3.C: Only use -mlp64 for hpux.Richard Henderson2-1/+5
From-SVN: r100006
2005-05-19alpha.c (emit_unlikely_jump, [...]): Split out from ...Richard Henderson4-92/+123
* config/alpha/alpha.c (emit_unlikely_jump, emit_load_locked, emit_store_conditional): Split out from ... (alpha_split_atomic_op): ... here. (alpha_split_compare_and_swap): New; extract from .md file. (alpha_split_lock_test_and_set): Likewise. * config/alpha/alpha-protos.h: Update. * config/alpha/sync.md (sync_compare_and_swap<I48MODE>): Move split code into alpha.c. (sync_lock_test_and_set<I48MODE>): Likewise. From-SVN: r100005
2005-05-19* unwind.h, unwind-pe.h: Revert gcc_unreachable change of 05-17.Richard Henderson3-6/+16
From-SVN: r100001
2005-05-20Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r99999.2
2005-05-19* gcc.dg/altivec-21.c: Use dg-error only for ilp32.Janis Johnson2-2/+4
From-SVN: r99997
2005-05-19* gcc.dg/vect/vect-dv-2.c: Remove dg-do directive.Janis Johnson2-1/+4
From-SVN: r99996
2005-05-19sse.md (mulv4si3): Use all register inputs.Richard Henderson2-4/+9
* config/i386/sse.md (mulv4si3): Use all register inputs. (mulv2di3): Likewise. From-SVN: r99986
2005-05-19* de.po, zh_CN.po: Update.Joseph Myers3-1730/+1553
From-SVN: r99984
2005-05-19tree-ssa-loop-ivopts.c (determine_base_object): Use build_fold_addr_expr to ↵Richard Guenther2-3/+10
generate trees of correct type. 2005-05-19 Richard Guenther <rguenth@gcc.gnu.org> * tree-ssa-loop-ivopts.c (determine_base_object): Use build_fold_addr_expr to generate trees of correct type. Use fold_buildN if possible. From-SVN: r99981
2005-05-19re PR java/17845 (More problems with simple type names as superclasses)Paolo Bonzini2-42/+8
2005-05-19 Paolo Bonzini <bonzini@gnu.org> PR java/17845 * parse.y (register_package, package_list): Remove. (package_declaration): Do not call register_package. (do_resolve_class): Do not use package_list. From-SVN: r99977
2005-05-19basic-block.h (REG_BR_PROB_BASE): Define.Jan Hubicka9-56/+89
* basic-block.h (REG_BR_PROB_BASE): Define. * cgraph.c (cgraph_create_edge): Initialize loop_nest and count. (dump_cgraph_node): Dump count. (cgraph_clone_edge): Rescale counts. (cgraph_clone_node): Likewise. * cgraph.h: Include basic-block.h (cgraph_node): Add count. (cgraph_edge): Add count and loop_nest. (cgraph_node, cgraph_edge, cgraph_clone_edge, cgraph_clone_node): Update prototypes. * cgraphunit.c: Kill now redundant inlining comment. (cgraph_create_edges): Make static, maintain current basic block; fix pasto. (record_call_1): Fill in new fields. * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of cgraph_clone_node. (cgraph_decide_recursive_inlining): Likewise. * rtl.h (REG_BR_PROB_BASE): Kill. * tree-inline.c (copy_body_r): Update call of cgraph_clone_edge. (expand_call_inline): Update call of cgraph_create_edge. * tree-optimize.c (tree_rest_of_compilation): Likewise. From-SVN: r99976
2005-05-19eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new ↵Nick Clifton2-5/+10
rs6000_explicit_options structure. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new rs6000_explicit_options structure. From-SVN: r99974
2005-05-19re PR target/21390 (alphaev68-dec-osf5.1b long double optimization bug with ↵Richard Henderson2-56/+51
gcc-4.0.0) PR target/21390 * config/alpha/alpha.c (alpha_emit_conditional_branch): Move TFmode code swapping ... (alpha_emit_xfloating_compare): ... here. (alpha_emit_setcc): Update to match. (alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS. From-SVN: r99972
2005-05-19re PR target/21657 (TLS reference miscompiled)Richard Henderson2-8/+13
PR target/21657 * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra memory indirection in local-dynamic case. From-SVN: r99971
2005-05-19bfin.c (branch_dest): Add comment why it's necessary.Jie Zhang3-3/+16
* config/bfin/bfin.c (branch_dest): Add comment why it's necessary. * config/bfin/bfin.md (attr "length" default): Change the offset of forward conditional branch of length 4 from 4096 to 4092. Co-Authored-By: Bernd Schmidt <bernd.schmidt@analog.com> From-SVN: r99966
2005-05-19re PR c++/21495 (internal compiler error: Segmentation fault)Jakub Jelinek5-25/+28
PR c++/21495 * decl.c (grokdeclarator): Fix "storage class specified for" error reporting. * g++.dg/parse/extern1.C: New test. * g++.dg/tls/diag-2.C: Adjust expected error message wording. From-SVN: r99960
2005-05-19Add missing period.Eric Botcazou1-1/+1
From-SVN: r99957
2005-05-19re PR target/19933 (Problem with define of HUGE_VAL in math_c99.)Eric Botcazou5-0/+172
fixincludes/ PR target/19933 PR target/21315 * inclhack.def: New fixes solaris_math_[1-9]. * fixincl.x: Regenerate. * tests/base/iso/math_c99.h: New. gcc/testsuite/ * gcc.dg/c99-math.h: New * gcc.dg/c99-math-float-1.c: New test. * gcc.dg/c99-math-double-1.c: Likewise. * gcc.dg/c99-math-long-double-1.c: Likewise. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r99953
2005-05-19unwind-compat.c: Include tconfig.h and tsystem.h.Jan Beulich3-0/+9
gcc/ 2005-05-19 Jan Beulich <jbeulich@novell.com> * unwind-compat.c: Include tconfig.h and tsystem.h. * unwind-dw2-fde-compat.c: Likewise. libstdc++-v3/ 2005-05-19 Jan Beulich <jbeulich@novell.com> * libsupc++/unwind-cxx.h: Include cstdlib. (gcc_unreachable): #define. * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define. From-SVN: r99952
2005-05-18re PR tree-optimization/21541 (gcc.c-torture/execute/20031215-1.c ↵Richard Henderson2-0/+14
compilation fails) PR 21541 * ifcvt.c (noce_process_if_block): Avoid conversion when the memory destination is readonly. From-SVN: r99951