aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-05* gennews (files): Update for egcs-1.0 release pages consolidation.Gerald Pfeifer2-2/+5
From-SVN: r100636
2005-06-05* gfortran.dg/forall_1.f90: Set previously uninitialized variable.Tobias Schlüter2-0/+3
From-SVN: r100632
2005-06-05re PR middle-end/21846 (segfault in fold_binary compiling vpr with -O2 ↵Zdenek Dvorak5-2/+43
-funroll-loops) PR tree-optimization/21846 * tree-cfg.c (replace_uses_by): Update information stored at loops. * tree-flow.h (substitute_in_loop_info): Declare. * tree-scalar-evolution.c (initialize_scalar_evolutions_analyzer): Ensure that chrec_dont_know and chrec_known have a type. * tree-ssa-loop-niter.c (substitute_in_loop_info): New function. From-SVN: r100631
2005-06-05re PR fortran/21912 (Wrong implied do-loop)Tobias Schlüter4-13/+57
fortran/ PR fortran/21912 * trans-array.c (gfc_trans_array_constructor_value): Slightly reorder. Generate correct exit condition in case of negative steps in implied-do loops. testsuite/ PR fortran/21912 * gfortran.dg/array_constructor_4.f90: New test. From-SVN: r100630
2005-06-05re PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time ↵Mark Mitchell6-7/+52
constant) PR c++/21619 * cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro. * parser.c (cp_parser_postfix_expression): Allow non-constant expressions as arguments to __builtin_constant_p. * tree.c (builtin_valid_in_constant_expr_p): Use DECL_IS_BUILTIN_CONSTANT_P. PR c++/21619 * g++.dg/ext/builtin9.C: New test. From-SVN: r100626
2005-06-05removingDale Johannesen1-20/+0
From-SVN: r100625
2005-06-05RemovingDale Johannesen1-23/+0
From-SVN: r100624
2005-06-0520050603-1.c: Move to gcc.dg.Dale Johannesen3-0/+50
2005-06-05 Dale Johannesen <dalej@apple.com> * gcc.c-torture/execute/20050603-1.c: Move to gcc.dg. * gcc.c-torture/execute/20050603-2.c: Ditto. From-SVN: r100623
2005-06-05invoke.texi: Fix description of flags required for compatibility with g77.Tobias Schlüter2-3/+8
* invoke.texi: Fix description of flags required for compatibility with g77. From-SVN: r100621
2005-06-05i386.c (x86_use_loop): Remove.Steven Bosscher4-170/+69
* config/i386/i386.c (x86_use_loop): Remove. * config/i386/i386.h (x86_use_loop): Remove extern decl. (TARGET_USE_LOOP): Remove. * config/i386/i386.md (doloop_end, doloop_end_internal): Remove. Also remove related define_splits. From-SVN: r100618
2005-06-05tree-flow.h (stmt_ann_d): Move aux to ...Dorit Nuzman12-339/+882
* tree-flow.h (stmt_ann_d): Move aux to ... (tree_ann_common_d): ... here. * tree-ssa-loop-im.c (LIM_DATA, determine_invariantness_stmt, move_computations_stmt, schedule_sm): Update references to aux. * tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise. * tree-vect-transform.c (vect_create_index_for_vector_ref): Update call to set_stmt_info. (vect_transform_loop): Likewise. * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info): Likewise. * tree-vect-analyze.c (vect_analyze_scalar_cycles): Made void instead of bool. (vect_mark_relevant): Takes two additional arguments - live_p and relevant_p. Set RELEVANT_P and LIVE_P according to these arguments. (vect_stmt_relevant_p): Differentiate between a live stmt and a relevant stmt. Return two values = live_p and relevant_p. (vect_mark_stmts_to_be_vectorized): Call vect_mark_relevant and vect_stmt_relevant_p with additional arguments. Phis are no longer put into the worklist (analyzed seperately in analyze_scalar_cycles). (vect_determine_vectorization_factor): Also check for LIVE_P, because a stmt that is marked as irrelevant and live, cause it's only used out side the loop, may need to be vectorized (e.g. reduction). (vect_analyze_operations): Examine phis. Call vectorizable_live_operation for for LIVE_P stmts. Check if need_to_vectorize. (vect_analyze_scalar_cycles): Update documentation. Don't fail vectorization - just classify the scalar cycles created by the loop phis. Call vect_is_simple_reduction. (vect_analyze_loop): Call to analyze_scalar_cycles moved earlier. * tree-vect-transform.c (vect_create_index_for_vector_ref): Update call to set_stmt_info. (vect_get_vec_def_for_operand): Code reorganized - the code that classifies the type of use was factored out to vect_is_simple_use. (vectorizable_store, vect_is_simple_cond): Call vect_is_simple_use with additional arguments. (vectorizable_assignment): Likewise. Also make sure the stmt is relevant and computes a loop_vec_def. (vectorizable_operation, vectorizable_load, vectorizable_condition): Likewise. (vectorizable_live_operation): New. (vect_transform_stmt): Handle LIVE_P stmts. * tree-vectorizer.c (new_stmt_vec_info): Initialize the new fields STMT_VINFO_LIVE_P and STMT_VINFO_DEF_TYPE. (new_loop_vec_info, destroy_loop_vec_info): Also handle phis. (vect_is_simple_use): Determine the type of the def and return it in a new function argument. Consider vect_reduction_def and vect_induction_def, but for now these are not supported. (vect_is_simple_reduction): New. Empty for now. * tree-vectorizer.h (vect_def_type): New enum type. (_stmt_vec_info): Added new fields - live and _stmt_vec_info. (STMT_VINFO_LIVE_P, STMT_VINFO_DEF_TYPE): New accessor macros. (vect_is_simple_use): New arguments added to function declaration. (vect_is_simple_reduction): New function declaration. (vectorizable_live_operation): New function declaration. * tree-vect-analyze.c (vect_can_advance_ivs_p): Add debug printout. (vect_can_advance_ivs_p): Likewise. * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Likewise. From-SVN: r100617
2005-06-05mips.c (mips_rtx_costs): Remove unused variable.Eric Christopher2-3/+4
2005-06-05 Eric Christopher <echristo@redhat.com> * config/mips/mips.c (mips_rtx_costs): Remove unused variable. From-SVN: r100613
2005-06-05re PR target/21914 (mmix-knuth-mmixware testsuite failure: compile/20030703-1.c)Hans-Peter Nilsson2-4/+12
PR target/21914 * config/mmix/mmix.md ("*movdicc_real_foldable") ("*movdfcc_real_foldable", "*bCC_foldable") ("*bCC_inverted_foldable"): Specify DImode for register being compared. From-SVN: r100612
2005-06-0520050603-1.c: New.Dale Johannesen4-0/+64
2005-06-04 Dale Johannesen <dalej@apple.com> * gcc.c-torture/execute/20050603-1.c: New. * gcc.c-torture/execute/20050603-2.c: New. * gcc.dg/20050603-3.c: New. From-SVN: r100611
2005-06-05Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100609.2
2005-06-05configure.in: Fix typo in handling of --with-mpfr-dir.Tobias Schlüter3-62/+67
* configure.in: Fix typo in handling of --with-mpfr-dir. * configure: Regenerate. From-SVN: r100605
2005-06-05Add PR to ChangeLogTobias Schlüter1-0/+1
From-SVN: r100604
2005-06-05re PR fortran/19195 (gfortran: ICE in final_scan_insn, at final.c:1843)Tobias Schlüter4-2/+31
fortran/ 2005-06-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> Erik Schnetter <schnetter@aei.mpg.de> PR fortran/19195 * trans.c (gfc_get_backend_locus): Remove unnecessary adjustment, remove FIXME comment. testsuite/ 2005-06-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> PR fortran/19195 * gfortran.dg/debug_1.f90: New test. Co-Authored-By: Erik Schnetter <schnetter@aei.mpg.de> From-SVN: r100603
2005-06-04reg-stack.c (struct block_info_def): Correct grammar typo.Roger Sayle2-48/+44
* reg-stack.c (struct block_info_def): Correct grammar typo. (compensate_edge): Clean-up. Perform as little work as possible when src and dest stacks match. Avoid modifying block_info. Reorder and simplify assertion checks. Avoid unnecessary copying of regstack structure. (convert_regs_1): Set the done flag here... (convert_regs_2): ... instead of here. From-SVN: r100602
2005-06-04rs6000.c (no_global_regs_above): New.Dale Johannesen3-29/+64
2005-06-04 Dale Johannesen <dalej@apple.com> * config/rs6000/rs6000.c (no_global_regs_above): New. (rs6000_emit_prologue): Use it; cosmetic formatting fixes. (rs6000_emit_epilogue): Use it; cosmetic formatting fixes. (rs6000_conditional_register_usage): Don't put Darwin PIC register in global_regs. (rs6000_stack_info): Don't set lr_save_p just because Darwin PIC reg used. (rs6000_emit_prologue): Save LR in R0 around Darwin PIC setup, if not done by lr_save_p. * config/rs6000/rs6000.md (insnv1_internal1): Back out 05-18 patch. Use rotate instead of ashift. (call_indirect_nonlocal_sysv): Prefer CTR to LR. (call_value_indirect_nonlocal_sysv): Ditto. From-SVN: r100601
2005-06-04cgraphunit.c (cgraph_reset_node): Break out from ...Jan Hubicka2-51/+71
* cgraphunit.c (cgraph_reset_node): Break out from ... (cgraph_finalize_function): ... here. (cgraph_finalize_compilation_unit): Reset nodes where backend removed the body. From-SVN: r100599
2005-06-04re PR target/21888 (bootstrap failure with linker relaxation enabled)Richard Henderson2-1/+13
PR target/21888 * config/alpha/alpha.c (alpha_align_insns): Don't insert nops until we've passed initial ldgp. From-SVN: r100596
2005-06-04cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.Daniel Berlin9-12/+99
2005-06-01 Daniel Berlin <dberlin@dberlin.org> * cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P. * dwarf2out.c (loc_descriptor_from_tree_1): Ditto. * expr.c (expand_var): Ditto. * function.c (gimplify_parameters): Use SET_DECL_VALUE_EXPR too. * gimplify.c (gimplify_decl_expr): Ditto. (gimplify_expr): Ditto. * tree-mudflap.c (mf_decl_eligible_p): Use DECL_HAS_VALUE_EXPR_P. * tree.c (value_expr_for_decl): New. (print_value_expr_statistics): New. (init_ttree): Init value_expr_for_decl. (decl_value_expr_lookup): New. (decl_value_expr_insert): Ditto. (copy_node_stat): Copy DECL_VALUE_EXPR status. * tree.h (DECL_VALUE_EXPR): Use hashtable. (SET_DECL_VALUE_EXPR): New. (DECL_HAS_VALUE_EXPR_P): New. From-SVN: r100592
2005-06-04lcm.c: Move all mode-switching related functions from here...Steven Bosscher9-690/+732
* lcm.c: Move all mode-switching related functions from here... * mode-switching.c: ...to this new file. * doc/passes.texi: Update accordingly. * basic-block.h (label_value_list): Remove extern decl. * cfgrtl.c (label_value_list): Remove. (can_delete_label_p): Don't look at it. * cfgcleanup.c (cleanup_cfg): Don't free it. * common.opt: Don't refer to non-existing flag_alias_check. From-SVN: r100591
2005-06-04* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power5.David Edelsohn2-0/+5
From-SVN: r100589
2005-06-04function.c (prologue, [...]): Change their types to VEC(int,heap)*.Kazu Hirata4-54/+45
* function.c (prologue, epilogue, sibcall_epilogue): Change their types to VEC(int,heap)*. (free_after_compilation): Free the three vectors above. (init_function_for_compilation, record_insns, contains, prologue_epilogue_contains, sibcall_epilogue_contains, reposition_prologue_and_epilogue_notes): Use VEC instead of VARRAY. (init_function_once): Remove. * function.h: Remove the prototype for init_function_once. * toplev.c (backend_init): Don't call init_function_once. From-SVN: r100588
2005-06-04Update copyright year.Anthony Green2-2/+2
From-SVN: r100585
2005-06-04URLClassLoader.java: import gnu.gcj.Core, and ↵Anthony Green4-1/+84
gnu.java.net.protocol.core.CoreInputStream. 2005-06-04 Anthony Green <green@redhat.com> * java/net/URLClassLoader.java: import gnu.gcj.Core, and gnu.java.net.protocol.core.CoreInputStream. (CureURLLoader): New class. (CoreResource): New class. (addURLImpl): Add special treatment for the "core" protocol. * gnu/gcj/natCore.cc (find): New method. * gnu/gcj/Core.java (find): New method. From-SVN: r100582
2005-06-04predict.c (tree_predict_edge): Do not predict entry edge and single ↵Jan Hubicka2-6/+15
succestor edge. * predict.c (tree_predict_edge): Do not predict entry edge and single succestor edge. From-SVN: r100581
2005-06-04match.c (match_forall_iterator): Don't immediately give error if '=' is not ↵Tobias Schlüter4-4/+38
followed by an expression. fortran/ * match.c (match_forall_iterator): Don't immediately give error if '=' is not followed by an expression. testsuite/ * gfortran.dg/forall_1.f90: New test. Co-Authored-By: Erik Edelmann <erik.edelmann@iki.fi> From-SVN: r100580
2005-06-04array.c (gfc_match_array_constructor): Disallow empty array constructor.Tobias Schlüter4-2/+19
fortran/ 2005-06-03 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de> Erik Edelmann <erik.edelmann@iki.fi> * array.c (gfc_match_array_constructor): Disallow empty array constructor. testsuite/ 2005-06-04 Erik Edelmann <erik.edelmann@iki.fi> * gfortran.dg/array_constructor_3.f90: New test. From-SVN: r100579
2005-06-04* gfortran.dg/ret_pointer_1.f90: Un-XFAIL.Tobias Schlüter2-4/+5
From-SVN: r100578
2005-06-04* MAINTAINERS: Update my email address.Richard Sandiford2-1/+5
From-SVN: r100577
2005-06-04intrinsic.texi: Add documentation for command_argument_count...Jerry DeLisle2-38/+399
2005-06-03 Jerry DeLisle <jvdelisle@verizon.net> * fortran/intrinsic.texi: Add documentation for command_argument_count, conjg, dconjg, count, cpu_time, cshift, date_and_time, dble, dfloat. From-SVN: r100575
2005-06-04* g++.dg/opt/crossjump1.C: Gate -fPIC usage on target fpic.Hans-Peter Nilsson2-1/+6
From-SVN: r100574
2005-06-04re PR c/21873 (infinite warning loop on bad array initializer)Joseph Myers4-12/+79
PR c/21873 * c-typeck.c (push_init_level): Don't pop levels without braces if implicit == 1. testsuite: * gcc.dg/init-excess-1.c: New test. From-SVN: r100571
2005-06-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100569.2
2005-06-04c-parser.c (c_parser_parms_declarator): Don't use chainon().Geoffrey Keating2-6/+10
* c-parser.c (c_parser_parms_declarator): Don't use chainon(). (c_parser_expr_list): Don't use chainon(). From-SVN: r100567
2005-06-03tree-data-ref.c (compute_self_dependence): New function.Sebastian Pop2-1/+44
2005-06-03 Sebastian Pop <pop@cri.ensmp.fr> * tree-data-ref.c (compute_self_dependence): New function. (compute_all_dependences): Use it. From-SVN: r100565
2005-06-03re PR c++/21853 (constness of pointer to data member ignored)Mark Mitchell4-10/+36
PR c++/21853 * typeck.c (casts_away_constness_r): Do not drop cv-qualifiers on the pointed-to type for a pointer-to-member. PR c++/21853 * g++.dg/expr/static_cast6.C: New test. From-SVN: r100560
2005-06-03darwin.h (LINK_SPEC): Pass -syslibroot to linker when -isysroot passed.Geoffrey Keating2-0/+6
* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker when -isysroot passed. From-SVN: r100559
2005-06-03re PR c/21879 (Memory management problem)Joseph Myers2-1/+11
PR c/21879 * c-decl.c (start_function): Restore label_context_stack_se and label_context_stack_vm if returning with an error. From-SVN: r100557
2005-06-03* gnu/classpath/jdwp/transport/TransportFactory.java: New file.Keith Seitz2-0/+116
From-SVN: r100556
2005-06-03configure.ac: Check declaration for asprintf, needed by libiberty.h.Gabriel Dos Reis4-2/+17
* configure.ac: Check declaration for asprintf, needed by libiberty.h. * configure: Regenerate. * config.in: Likewise. From-SVN: r100555
2005-06-03tree-ssa-dom.c (record_edge_info): Use last_basic_block to allocate info array.Diego Novillo5-5/+69
* tree-ssa-dom.c (record_edge_info): Use last_basic_block to allocate info array. * tree-vrp.c (extract_range_from_unary_expr): Set resulting range to varying in cast expressions that change TYPE_PRECISION. testsuite/ChangeLog * gcc.dg/tree-ssa/vrp14.c: New test. From-SVN: r100554
2005-06-03ITransport.java: New file.Keith Seitz3-0/+260
* gnu/classpath/jdwp/transport/ITransport.java: New file. * gnu/classpath/jdwp/transport/SocketTransport.java: New file. From-SVN: r100553
2005-06-03mips.opt: Add RejectNegative to divide-breaks and divide-traps.Eric Christopher2-2/+7
2005-06-03 Eric Christopher <echristo@redhat.com> * config/mips/mips.opt: Add RejectNegative to divide-breaks and divide-traps. From-SVN: r100552
2005-06-03basic-block.h (remove_predictions_associated_with_edge): Declare.Jan Hubicka4-0/+26
* basic-block.h (remove_predictions_associated_with_edge): Declare. * cfg.c (remove_edge): Use it. * predict.c (remove_predictions_associated_with_edge): New function. From-SVN: r100551
2005-06-03rs6000.c (rs6000_conditional_register_usage): Clear call_realy_used_regs[r2] ↵Pat Haugen2-1/+11
when ABI_AIX. 2005-06-03 Pat Haugen <pthaugen@us.ibm.com> * config/rs6000/rs6000.c (rs6000_conditional_register_usage): Clear call_realy_used_regs[r2] when ABI_AIX. From-SVN: r100549
2005-06-03re PR libstdc++/21770 (rebinding allocator::value type vs. ↵Paolo Carlini27-266/+660
container::value_type) 2005-06-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/21770 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from the latter and add _M_get_Tp_allocator() which returns it. Use everywhere _M_get_Tp_allocator() instead of get_allocator(). * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator(). * include/bits/stl_list.h: Add concept-check. In class _List_base rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which returns the allocator (of type _Node_alloc_type) converted to _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of get_allocator(). * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator(). * include/bits/stl_vector.h: Add concept-check. In class _Vector_base rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from the latter and add _M_get_Tp_allocator() which returns it. Use everywhere _M_get_Tp_allocator() instead of get_allocator(). * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator(). * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to _Pair_alloc_type and use it for _Rb_tree. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to _Key_alloc_type and use it for _Rb_tree. * include/bits/stl_set.h: Likewise. * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and use it for the allocator typedefs. * testsuite/21_strings/basic_string/1.cc: New. * testsuite/23_containers/deque/explicit_instantiation.cc: Move to... * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here. * testsuite/23_containers/deque/explicit_instantiation/3.cc: New. * testsuite/23_containers/list/explicit_instantiation.cc: Move to... * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here. * testsuite/23_containers/list/explicit_instantiation/3.cc: New. * testsuite/23_containers/map/explicit_instantiation.cc: Move to... * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here. * testsuite/23_containers/map/explicit_instantiation/3.cc: New. * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to... * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here. * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New. * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to... * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here. * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New. * testsuite/23_containers/set/explicit_instantiation.cc: Move to... * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here. * testsuite/23_containers/set/explicit_instantiation/3.cc: New. * testsuite/23_containers/vector/explicit_instantiation.cc: Move to... * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here. * testsuite/23_containers/vector/explicit_instantiation/3.cc: New. From-SVN: r100546