aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-03-07* Replace tabs with spaces.Steven G. Kargl22-367/+391
Co-Authored-By: Paul Thomas <prthomas@drfccad.cea.fr> From-SVN: r96009
2005-03-07cygwin1.c (mingw_scan): Use xstrdup in calls to putenv.David Billinghurst2-4/+8
2005-03-07 David Billinghurst <David.Billinghurst@riotinto.com> * config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv. From-SVN: r96006
2005-03-07hpux.h (LINK_SPEC): Add -z.Joseph Myers3-1/+11
* config/ia64/hpux.h (LINK_SPEC): Add -z. * config/ia64/ia64.c (ia64_function_value): Return a REG not a PARALLEL for an empty structure. From-SVN: r96004
2005-03-07fold-const.c (fold_binary): Unroll the very first "for" loop.Kazu Hirata2-17/+44
* fold-const.c (fold_binary): Unroll the very first "for" loop. From-SVN: r96003
2005-03-07* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.Kazu Hirata2-10/+4
From-SVN: r96002
2005-03-06predicates.md (branch_comparison_operator): Remove redundant match_code test.David Edelsohn2-13/+21
* config/rs6000/predicates.md (branch_comparison_operator): Remove redundant match_code test. (scc_comparison_operator): Swap match_operand and match_code tests. (branch_positive_comparison_operator): Same. (trap_comparison_operator): Use comparison_operator and swap with match_code test. From-SVN: r96000
2005-03-07Daily bump.GCC Administrator1-1/+1
From-SVN: r95998
2005-03-06re PR target/20288 (AVR assignment of a value through a 16 bit pointer ↵Marek Michalkiewicz3-24/+91
generates out of order code) PR target/20288 * config/avr/avr.c (print_operand): Add 'p' and 'r'. (out_movhi_r_mr): Read low byte of volatile MEM first. (out_movhi_mr_r): Write high byte of volatile MEM first. From-SVN: r95993
2005-03-06* es.po: Update.Joseph Myers2-4394/+2960
From-SVN: r95991
2005-03-06* fold-const.c (fold_unary): Use build1 instead of copy_node.Kazu Hirata2-2/+3
From-SVN: r95989
2005-03-06* cse.c (cse_reg_info_table): Make it static.Kazu Hirata2-1/+3
From-SVN: r95988
2005-03-06* cselib.c (reg_values, reg_values_size): Make them static.Kazu Hirata2-2/+6
From-SVN: r95987
2005-03-06* cse.c (find_best_addr): Use canon_for_address.Zdenek Dvorak2-1/+6
From-SVN: r95983
2005-03-06file-format.exp (gcc_target_object_format): Add check for som format and ↵John David Anglin6-3/+32
hardcode object formats on hppa*-*-hpux*. * lib/file-format.exp (gcc_target_object_format): Add check for som format and hardcode object formats on hppa*-*-hpux*. * lib/target-supports.exp (check_weak_available): Add check for som object format. Always return 0 on hppa*-*-hpux10*. * gcc.dg/titype-1.c, gcc.dg/uninit-C.c: Don't use TImode if __hppa__ is defined. * objc.dg/stabs-1.m: hppa*64*-*-* doesn't have stabs. From-SVN: r95982
2005-03-06fold-const.c (fold_binary_op_with_conditional_arg): Take decomposed ↵Kazu Hirata2-10/+15
arguments code, type, op0, and op1 instead of t. * fold-const.c (fold_binary_op_with_conditional_arg): Take decomposed arguments code, type, op0, and op1 instead of t. (fold_binary): Update a call to fold_range_test. From-SVN: r95978
2005-03-06fold-const.c (fold_range_test): Take decomposed arguments code, type, op0, ↵Kazu Hirata2-17/+20
and op1 instead of t. * fold-const.c (fold_range_test): Take decomposed arguments code, type, op0, and op1 instead of t. (fold_binary): Update a call to fold_range_test. From-SVN: r95977
2005-03-06Fix ChangeLog date of PR19311Kriang Lerdsuwanakij1-2/+1
From-SVN: r95973
2005-03-06re PR treelang/20326 (treelang does install the backend as a driver)James A. Morrison3-4/+86
2005-03-06 James A. Morrison <phython@gcc.gnu.org> PR other/20326 * Make-lang.in (gtreelang, treelang/spec.o): New targets. * spec.c: New file. From-SVN: r95972
2005-03-06fold-const.c (optimize_minmax_comparison): Take decomposed arguments code, ↵Kazu Hirata2-13/+31
type, op0, and op1 instead of t. * fold-const.c (optimize_minmax_comparison): Take decomposed arguments code, type, op0, and op1 instead of t. (fold_binary): Update a call to optimize_minmax_comparison. From-SVN: r95971
2005-03-06* fold-const.c (fold_binary): Use code instead of t.Kazu Hirata2-1/+3
From-SVN: r95970
2005-03-06* ChangeLog: Update entry.John David Anglin1-1/+1
From-SVN: r95968
2005-03-06jcf-dump.c, [...]: Update copyright.Kazu Hirata7-6/+11
* jcf-dump.c, jcf-io.c, jcf-reader.c, lang.c, parse.h, typeck.c: Update copyright. From-SVN: r95967
2005-03-06Remove xref code.Ranjit Mathew9-224/+45
* xref.c, xref.h: Remove file. * Make-lang.in (java/xref.o): Remove. * java-tree.h (flag_emit_xref, do_not_fold): Remove declaration. * lang.c (flag_emit_xref): Remove definition. * parse.h (DECL_END_SOURCE_LINE, DECL_INHERITED_SOURCE_LINE): Remove. * typeck.c (convert): Remove use of do_not_fold. * parse.y (do_not_fold): Remove definition. (parser grammar): Remove xref code. (maybe_create_class_interface_decl, create_class): Likewise. (register_fields, method_header, finish_method_declaration): Likewise. (declare_local_variables, source_end_java_method): Likewise. (java_complete_expand_classes): Do not set do_not_fold. (java_complete_expand_method): Remove xref code. (java_expand_classes, resolve_field_access, patch_invoke): Likewise. (java_complete_tree, java_complete_lhs, patch_assignment): Likewise. (patch_binop, build_string_concatenation, patch_array_ref): Likewise. (patch_synchronized_statement, patch_throw_statement): Likewise. (maybe_build_class_init_for_field): Likewise. From-SVN: r95965
2005-03-06cse.c (fold_rtx_subreg, [...]): New.Kazu Hirata2-312/+348
* cse.c (fold_rtx_subreg, fold_rtx_mem): New. (fold_rtx): Call fold_rtx_subreg and fold_rtx_mem to handle SUBREG and MEM, respectively. From-SVN: r95964
2005-03-06fold-const.c (fold_binary): Avoid directly using the original expression t ↵Kazu Hirata2-7/+12
as much as possible. * fold-const.c (fold_binary): Avoid directly using the original expression t as much as possible. From-SVN: r95962
2005-03-06* fold-const.c (fold): Remove handling of binary expressions.Kazu Hirata2-2598/+2
From-SVN: r95961
2005-03-06Daily bump.GCC Administrator1-1/+1
From-SVN: r95959
2005-03-05pr19936_1.f90: New test.Steven G. Kargl4-0/+22
* gfortran.dg/pr19936_1.f90: New test. * gfortran.dg/pr19936_2.f90: New test. * gfortran.dg/pr19936_3.f90: New test. From-SVN: r95952
2005-03-05re PR fortran/19936 (confused error message about implied do loop)Steven G. Kargl2-0/+17
PR 19936 * primary.c (match_complex_constant): Mangled complex constant may be an implied do-loop. Give implied do-loop matcher a chance. From-SVN: r95951
2005-03-05PR19754_1.f90: New test.Steven G. Kargl3-0/+37
* PR19754_1.f90: New test. * PR19754_2.f90: ditto. Co-Authored-By: Paul Thomas <prthomas@drfccad.cea.fr> From-SVN: r95946
2005-03-05re PR fortran/19754 (Shape conformance not checked)Steven G. Kargl2-2/+44
PR fortran/19754 * resolve.c (compare_shapes): New function. (resolve_operator): Use it. From-SVN: r95945
2005-03-05c-semantics.c (build_stmt): Use TYPE_P instead of IS_NON_TYPE_CODE_CLASS.Kazu Hirata5-9/+17
gcc/ * c-semantics.c (build_stmt): Use TYPE_P instead of IS_NON_TYPE_CODE_CLASS. * tree.h (IS_NON_TYPE_CODE_CLASS): Remove. (NON_TYPE_CHECK): Use TYPE_P instead of IS_NON_TYPE_CODE_CLASS. java/ * expr.c (build_expr_wfl, expr_add_location): Use TYPE_P instead of IS_NON_TYPE_CODE_CLASS. From-SVN: r95942
2005-03-05trans-const.c (gfc_conv_constant_to_tree): Use correct tree type for COMPLEX ↵Tobias Schlüter2-1/+7
constants. * trans-const.c (gfc_conv_constant_to_tree): Use correct tree type for COMPLEX constants. From-SVN: r95941
2005-03-05c-tree.texi: Wrap comments in @r{}.James A. Morrison10-31/+43
2005-03-05 James A. Morrison <phython@gcc.gnu.org> * doc/c-tree.texi: Wrap comments in @r{}. * doc/cpp.texi: Likewise. * doc/cppinternals.texi: Likewise. * doc/extend.texi: Likewise. * doc/md.texi: Likewise. * doc/objc.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/tm.texi: Likewise. * doc/tree-ssa.texi From-SVN: r95939
2005-03-05fold-const.c (fold_binary): New.Kazu Hirata2-0/+2620
* fold-const.c (fold_binary): New. (fold): Call fold_binary on binary expressions. From-SVN: r95938
2005-03-05combine.c (simplify_and_const_int): Use gen_int_mode instead of GEN_INT ↵Kazu Hirata6-21/+22
(trunc_int_for_mode (...)). * combine.c (simplify_and_const_int): Use gen_int_mode instead of GEN_INT (trunc_int_for_mode (...)). * loop-iv.c (iv_number_of_iterations): Likewise. * postreload.c (reload_cse_move2add): Likewise. * simplify-rtx.c (simplify_const_unary_operation, simplify_const_binary_operation): Likewise. * stor-layout.c (get_mode_bounds): Likewise. From-SVN: r95935
2005-03-05re PR c++/19311 (ICE in resolve_overloaded_unification)Kriang Lerdsuwanakij6-31/+46
PR c++/19311 * init.c (build_offset_ref): Don't build non-dependent SCOPE_REF. * pt.c (build_non_dependent_expr): Don't build NON_DEPENDENT_EXPR for OFFSET_TYPE. * typeck.c (build_x_unary_op): Don't build non-dependent SCOPE_REF. Also set PTRMEM_OK_P for NON_DEPENDENT_EXPR. (build_unary_op): Handle building ADDR_EXPR of OFFSET_REF inside template. * g++.dg/template/non-dependent11.C: New test. From-SVN: r95933
2005-03-05tree-phinodes.c (remove_phi_node): Drop the last argument.Kazu Hirata10-11/+24
* tree-phinodes.c (remove_phi_node): Drop the last argument. * tree-flow.h: Adjust the prototype for remove_phi_node. * lambda-code.c (perfect_nestify): Adjust a call to remove_phi_node. * tree-cfg.c (remove_phi_nodes_and_edges_for_unreachable_block): Likewise. * tree-outof-ssa.c (eliminate_virtual_phis, remove_ssa_form): Likewise. * tree-ssa-dce.c (remove_dead_phis): Likewise. * tree-ssa-loop-ivopts.c (remove_statement): Likewise. * tree-ssa-pre.c (remove_dead_inserted_code): Likewise. * tree-ssa.c (kill_redundant_phi_nodes): Likewise. From-SVN: r95932
2005-03-05genattrtab.c, [...]: Update copyright.Kazu Hirata9-8/+13
* genattrtab.c, genemit.c, genoutput.c, genrecog.c, gensupport.c, jump.c, tree-phinodes.c, unwind-dw2-fde-glibc.c: Update copyright. From-SVN: r95931
2005-03-05predict.c (apply_return_prediction): Standardize PHI chain walking.Kazu Hirata3-12/+11
* predict.c (apply_return_prediction): Standardize PHI chain walking. * tree-ssa.c (ssa_redirect_edge): Likewise. From-SVN: r95930
2005-03-05* lib/target-supports.exp (check_iconv_available): Fix comment.Uros Bizjak2-1/+5
From-SVN: r95927
2005-03-05invoke.texi: Document new MIPS -msym32 and -mno-sym32 options.Richard Sandiford3-2/+26
* doc/invoke.texi: Document new MIPS -msym32 and -mno-sym32 options. * config/mips/mips.h (MASK_SYM32, TARGET_SYM32): New macros. (TARGET_SWITCHES): Add -msym32 and -mno-sym32. (ABI_HAS_64BIT_SYMBOLS): Set to false if TARGET_SYM32. (ASM_SPEC): Pass down -msym32 and -mno-sym32. From-SVN: r95926
2005-03-04re PR tree-optimization/18815 (Tree if-conversion screws up cfg very badly)Devang Patel2-3/+22
PR tree-optimization/18815 * tree-if-conv.c (combine_blocks): Adjust loop header edges for loops with zero exit edges. From-SVN: r95923
2005-03-04* doc/invoke.texi: Remove reference to webpage that does not exist.Devang Patel2-3/+4
From-SVN: r95922
2005-03-05re PR c++/19797 (g++.dg/abi/inline1.C fails on hppa*-*-hpux*)John David Anglin9-28/+150
PR c++/19797 * elf.h, pa64-hpux.h, som.h (ASM_OUTPUT_EXTERNAL_REAL): Define. (ASM_OUTPUT_EXTERNAL): Call pa_hpux_asm_output_external. * pa-protos.h (pa_hpux_asm_output_external): Add prototype. * pa.c (get_plabel): Change argument to symbol_ref. Call maybe_get_identifier instead of get_identifier. (pa_hpux_asm_output_external, pa_hpux_file_end): New functions. (struct deferred_plabel): Replace name field with symbol field. (TARGET_ASM_FILE_END): Define as pa_hpux_file_end if ASM_OUTPUT_EXTERNAL_REAL is defined. (output_global_address): Use output_addr_const for output of all symbol_refs. (output_deferred_plabels): Use symbol_ref instead of name for address output. * pa.h (SYMBOL_FLAG_REFERENCED, SYMBOL_REF_REFERENCED_P, ASM_OUTPUT_SYMBOL_REF): New macros. * som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use assemble_name_raw. Update comment. (ASM_WEAKEN_LABEL): Use targetm.asm_out.globalize_label to globalize label. * g++.dg/abi/vague1.C: Remove xfail hppa*-*-hpux*. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r95921
2005-03-05config.gcc (hppa*64*-*-hpux11*): Use pa/pa-hpux1111.h for *-*-hpux11.[1-9]*, ↵Joseph Myers2-1/+6
not just for *-*-hpux11.11. * config.gcc (hppa*64*-*-hpux11*): Use pa/pa-hpux1111.h for *-*-hpux11.[1-9]*, not just for *-*-hpux11.11. From-SVN: r95918
2005-03-05gcc.exp (gcc_target_compile): Put braces around ↵Matthew Sachs4-3/+10
additional_flags=$TOOL_OPTIONS... * gcc.exp (gcc_target_compile): Put braces around additional_flags=$TOOL_OPTIONS; allows for whitespace in $TOOL_OPTIONS. * objc.exp (objc_target_compile): Likewise. * treelang.exp (treelang_target_compile): Likewise. From-SVN: r95912
2005-03-05Daily bump.GCC Administrator1-1/+1
From-SVN: r95909
2005-03-04basic-block.h (rediscover_loops_after_threading): Declare.Jeff Law5-7/+317
* basic-block.h (rediscover_loops_after_threading): Declare. * tree-ssa-dom.c: Include cfgloop.h. (tree_ssa_dominator_optimize): Discover loops and some basic properties. Remove forwarder blocks recreated by loop header canonicalization. Also mark backedges in the CFG. * tree-ssa-threadupdate.c: Include cfgloop.h (rediscover_loops_after_threading): Define. (struct local_info): New field, JUMP_THREADED. (prune_undesirable_thread_requests): New function. (redirect_edges): Clear EDGE_ABNORMAL. If edges were threaded then record that fact for the callers of redirct_edges. (thread_block): If BB has incoming backedges, then call prune_undesirable_thraed_requests. Note when we are going to have to rediscover loop information. Return a boolean indicating if any jumps were threaded. (thread_through_all_blocks): Bubble up boolean indicating if any jumps were threaded. * Makefile.in (tree-ssa-dom.o): Depend on cfgloop.h (tree-ssa-threadupdate.o): Similarly. From-SVN: r95903
2005-03-04re PR fortran/19673 (pointer function with RESULT specified returns pointer ↵Tobias Schlüter4-2/+33
to "ptr" rather than "*ptr") fortran/ PR fortran/19673 * trans-expr.c (gfc_conv_function_call): Correctly dereference argument from a pointer function also if it has a result clause. testsuite/ PR fortran/19673 * gfortran.dg/func_result_1.f90: New test. From-SVN: r95901