aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2007-01-30Belated typo fix from 2007-01-02.Ben Elliston1-1/+1
From-SVN: r121319
2007-01-30* jvspec.c (lang_specific_driver): Remove unused classpath_args.Ben Elliston2-4/+4
From-SVN: r121318
2007-01-29decExcept.c: New.Janis Johnson10-0/+415
libdecnumber/ * decExcept.c: New. * decExcept.h: New. libgcc/ * Makefile.in (dec-filenames): Add decExcept. gcc/ * config/dfp-bit.c: Add parameterized support for fp exceptions. * config/dfp-bit.h: Ditto. gcc/testsuite/ * gcc.dg/dfp/dfp-except.h: New file. * gcc.dg/dfp/fe-check.h: New file. * gcc.dg/dfp/fe-binop.c: New test. * gcc.dg/dfp/fe-convert-1.c: New test. * gcc.dg/dfp/fe-convert-2.c: New test. * gcc.dg/dfp/fe-convert-3.c: New test. From-SVN: r121317
2007-01-29re PR java/30607 (gcj -I x -C doesn't include x as source dir search patch)Tom Tromey3-3/+19
PR java/30607: * jvspec.c (lang_specific_driver): Handle separate -I argument. * lang.opt (-I): Add 'Separate'. From-SVN: r121311
2007-01-29007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>Manuel López-Ibáñez6-9/+31
* c-decl.c (pop_scope): Replace warnings with call to warn_for_unused_label. * c-common.h (warn_for_unused_label): Declare. * c-common.c (warn_for_unused_label): Define. cp/ * decl.c (pop_label): Replace warning with call to warn_for_unused_label. From-SVN: r121310
2007-01-29tree-optimize.c (update_inlined_to_pointers): Delete unused function.Manuel López-Ibáñez2-18/+5
2007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * tree-optimize.c (update_inlined_to_pointers): Delete unused function. From-SVN: r121309
2007-01-29Makefile.in (USER_H): Remove decfloat.h.Janis Johnson9-119/+106
gcc/ * Makefile.in (USER_H): Remove decfloat.h. * ginclude/decfloat.h: Delete, moving contents to ... * ginclude/float.h: Add support for decimal floating point, guarded by __STDC_WANT_DEC_FP__. gcc/testsuite/ * gcc.dg/dfp/dec-eval-method.c: Replace decfloat.h with float.h. * gcc.dg/dfp/decfloat-constants.c: Ditto. * gcc.dg/dfp/convert-dfp.c: Ditto. * gcc.dg/dfp/convert-int-saturate.c: Ditto. From-SVN: r121308
2007-01-29gccint.texi (Top): Rename Loop Representation to Loop Analysis and ↵Mike Stump3-2/+8
Representation to resolve case... * doc/gccint.texi (Top): Rename Loop Representation to Loop Analysis and Representation to resolve case insensitive conflict. * doc/loop.texi (Loop Analysis and Representation): Likewise. From-SVN: r121306
2007-01-29tree.h (struct tree_memory_tag): Add aliases member.Daniel Berlin9-174/+222
2007-01-28 Daniel Berlin <dberlin@dberlin.org> * tree.h (struct tree_memory_tag): Add aliases member. (MTAG_ALIASES): New macro. * tree-ssa-alias.c (alias_bitmap_obstack): New variable. (add_may_alias): Remove pointer-set. Update for may_aliases being a bitmap. (mark_aliases_call_clobbered): Update for may_aliases being a bitmap. (compute_tag_properties): Ditto. (create_partition_for): Ditto. (compute_memory_partitions): Ditto. (dump_may_aliases_for): Ditto. (is_aliased_with): Ditto. (add_may_alias_for_new_tag): Ditto. (rewrite_alias_set_for): Rewrite for may_aliases being a bitmap. (compute_is_aliased): New function. (compute_may_aliases): Call compute_is_aliased). (init_alias_info): Initialize alias_bitmap_obstack. (union_alias_set_into): New function. (compute_flow_sensitive_aliasing): Use union_aliases_into. (have_common_aliases_p): Rewrite to take two bitmaps and use intersection. (compute_flow_insensitive_aliasing): Stop using pointer-sets. Update for bitmaps. (finalize_ref_all_pointers): Update for add_may_alias changes. (new_type_alias): Ditto. * tree-flow-inline.h (may_aliases): Return a bitmap. * tree-dfa.c (dump_variable): Check for MTAG_P'ness. * tree-ssa.c (verify_flow_insensitive_alias_info): Update for may_aliases being a bitmap. * tree-flow.h (struct var_ann_d): Remove may_aliases member. may_aliases now returns a bitmap. * tree-ssa-structalias.c (merge_smts_into): Update for may_aliases being a bitmap. * tree-ssa-operands.c (add_virtual_operand): Update for may_aliases being a bitmap. From-SVN: r121302
2007-01-29re PR tree-optimization/30630 (Trunk GCC hangs while compiling ↵Daniel Berlin3-2/+103
cpu2k6/perlbench at -O2) 2007-01-29 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/30630 * tree-ssa-structalias.c (do_complex_constraint): Mark correct variable as changed. From-SVN: r121295
2007-01-29altivec-24.c: New test.Josh Conner2-0/+40
2007-01-29 Josh Conner <jconner@apple.com> * gcc.target/powerpc/altivec-24.c: New test. From-SVN: r121294
2007-01-29re PR c++/28266 (ICE on invalid default variable)Simon Martin4-1/+29
PR c++/28266 * gimplify.c (gimplify_target_expr): Make sure that the TARGET_EXPR is expanded only once even if an error occurs. From-SVN: r121288
2007-01-29class.c (add_method_1): Mark fndecl as external unless we are compiling it ↵Andrew Haley2-0/+9
into this object file. 2007-01-29 Andrew Haley <aph@redhat.com> * class.c (add_method_1): Mark fndecl as external unless we are compiling it into this object file. From-SVN: r121284
2007-01-29re PR fortran/30554 ([4.1 only] ICE in mio_pointer_ref at module.c:1945)Paul Thomas4-3/+47
2007-01-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/30554 * module.c (read_module): If a symbol is excluded by an ONLY clause, check to see if there is a symtree already loaded. If so, attach the symtree to the pointer_info. 2007-01-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/30554 * gfortran.dg/used_dummy_types_6.f90: New test. From-SVN: r121281
2007-01-29gcov-io.h (__gcov_indirect_call_profiler): Declare.Ben Elliston2-0/+11
* gcov-io.h (__gcov_indirect_call_profiler): Declare. (__gcov_average_profiler): Likewise. (__gcov_ior_profiler): Likewise. (__gcov_merge_ior): Likewise. From-SVN: r121280
2007-01-29Daily bump.GCC Administrator1-1/+1
From-SVN: r121277
2007-01-28builtins.c (expand_builtin_memset): Fix typo in my last patch.Jan Hubicka3-2/+8
* builtins.c (expand_builtin_memset): Fix typo in my last patch. * value-prof.c (stringop_block_profile): Likewise. From-SVN: r121272
2007-01-28expr.c (emit_block_move_via_movmem, [...]): Add variant handling histograms; ↵Jan Hubicka16-45/+390
add wrapper. * expr.c (emit_block_move_via_movmem, emit_block_move_via_libcall): Add variant handling histograms; add wrapper. (clear_storage_via_libcall): Export. (emit_block_move_hints): Break out from ...; add histograms. (emit_block_move): ... this one. (clear_storage_hints): Break out from ...; add histograms. (clear_storage): ... this one. (set_storage_via_memset): Handle histogram. * expr.h (emit_block_move_via_libcall, emit_block_move_hints): Declare. (clear_storage_hints, clear_storage_via_libcall): Declare. (set_storage_via_setmem): Update prototype. * doc/md.texi (movmem, setmem): Document new arguments. * value-prof.c (dump_histogram_value, tree_find_values_to_profile): Add new histograms. (stringop_block_profile): New global function. (tree_stringops_values_to_profile): Profile block size and alignment. * value-prof.h (enum hist_type): add HIST_TYPE_AVERAGE and HIST_TYPE_IOR. (struct profile_hooks): Add gen_average_profiler and gen_ior_profiler. (stringop_block_profile): Declare. * builtins.c: Include value-prof.h. (expand_builtin_memcpy, expand_builtin_memset): Pass block profile. * gcov-ui.h (GCOV_COUNTER_NAMES): Add new counter. (GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): New constants. (GCOV_COUNTERS, GCOV_LAST_VALUE_COUNTER): Update. * profile.c (instrument_values): Add new counters. * cfgexpand.c (expand_gimple_basic_block): Propagate histograms to calls. * tree-profile.c (tree_average_profiler_fn, tree_ior_profiler_fn): New. (tree_init_edge_profiler): Build new profilers. (tree_gen_average_profiler, tree_gen_ior_profiler): New. (pass_tree_profile): Add dump. (tree_profile_hooks): Update. * Makefile.in (LIBGCOV): Add new constants. * libgcov.c (__gcov_merge_ior, __gcov_average_profiler, __gcov_ior_profiler): New. * i386.md (movmem/setmem expanders): Add new optional arguments. From-SVN: r121270
2007-01-28* doc/md.texi (Standard Pattern Names): Document blockage pattern.David Edelsohn2-0/+11
From-SVN: r121268
2007-01-28large-size-array-3.c: Correct test case (portability).Roger Sayle2-2/+7
* gcc.dg/large-size-array-3.c: Correct test case (portability). From-SVN: r121266
2007-01-28re PR c++/28988 (g++ does not check first type name in pseudo-destructor-name)Andrew Pinski4-0/+28
2007-01-28 Andrew Pinski <pinskia@gmail.com> PR C++/28988 * semantics.c (finish_pseudo_destructor_expr): Check the destrutor name by calling check_dtor_name. 2007-01-28 Andrew Pinski <pinskia@gmail.com> PR C++/28988 * g++.dg/expr/dtor4.C: New test. From-SVN: r121261
2007-01-28tree-ssa-loop-unswitch.c: Include tree-inline.h.Zdenek Dvorak17-33/+207
* tree-ssa-loop-unswitch.c: Include tree-inline.h. (tree_unswitch_single_loop): Pass eni_size_weights to tree_num_loop_insns. * tree-ssa-loop-manip.c: Include tree-inline.h. (can_unroll_loop_p): Pass eni_size_weights to tree_num_loop_insns. * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Pass eni_size_weights to estimate_num_insns. * tree.h (init_inline_once): Export. * toplev.c (backend_init): Call init_inline_once. * cgraphunit.c (cgraph_process_new_functions, cgraph_analyze_function): Pass eni_inlining_weights to estimate_num_insns. * ipa-inline.c (compute_inline_parameters): Ditto. * tree-ssa-loop-ivcanon.c (tree_num_loop_insns): Pass weights to estimate_num_insns. (try_unroll_loop_completely): Pass eni_size_weights to tree_num_loop_insns. * tree-eh.c (decide_copy_try_finally): Pass eni_size_weights ot estimate_num_insns. * tree-ssa-loop-prefetch.c: Include tree-inline.h. (loop_prefetch_arrays): Pass eni_time_weights to tree_num_loop_insns. * tree-inline.c (eni_inlining_weights, eni_size_weights, eni_time_weights): New variables. (init_inline_once): Initialize them. (struct eni_data): Mew. (estimate_num_insns_1, estimate_num_insns): Use weights. * tree-inline.h (struct eni_weights_d): New. (eni_inlining_weights, eni_size_weights, eni_time_weights): Declare. (estimate_num_insns): Declaration changed. * cfgloop.h (tree_num_loop_insns): Declaration changed. * Makefile.in (tree-ssa-loop-unswitch.o, tree-ssa-loop-prefetch.o, tree-ssa-loop-manip.o): Add TREE_INLINE_H dependency. * gcc.dg/tree-ssa/loop-23.c: New test. From-SVN: r121260
2007-01-28tree-data-ref.c (conflict_fn): Assert that the number of affine relations in ↵Zdenek Dvorak2-0/+6
the conflict function is valid. * tree-data-ref.c (conflict_fn): Assert that the number of affine relations in the conflict function is valid. From-SVN: r121259
2007-01-28ipa-cp.c (ipcp_insert_stage, [...]): Support for SSA.Razya Ladelsky4-69/+102
2007-01-25 Razya Ladelsky <razya@il.ibm.com> * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA. (ipcp_driver): Change to static definition. Add dumping of the ifunctions. (constant_val_insert): Remove unused parameter. Support for SSA. (ipcp_propagate_const): Support for SSA. (ipcp_profile_bb_print): Print only analyzed nodes. (ipcp_replace_map_create): Remove support for Fortran constant for now. * ipa-prop.c (ipa_method_modify_stmt, ipa_callsite_compute_param): Support for SSA. * ipa-prop.h (ipcp_driver): Remove declaration. (IS_VALID_TREE_MAP_INDEX): Add define. From-SVN: r121256
2007-01-28re PR fortran/30389 ([4.1 only] ACHAR() intrinsic gives erroneous errors in ↵Thomas Koenig9-92/+2105
constant-folding.) 2007-01-28 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30389 * gfortran.h: Remove gfc_simplify_init_1. * arith.h: Remove third argument from gfc_compare_string. * arith.c(gfc_compare_expression): Remove third argument from call to gfc_compare_string. (gfc_compare_string): Remove third argument xcoll_table. Remove use of xcoll_table. * misc.c(gfc_init_1): Remove call to gfc_simplify_init_1. * simplify.c(ascii_table): Remove. (xascii_table): Likewise. (gfc_simplify_achar): ICE if extract_int fails. Remove use of ascii_table. Warn if -Wsurprising and value < 0 or > 127. (gfc_simplify_char): ICE if extract_int fails. Error if value < 0 or value > 255. (gfc_simplify_iachar): Remove use of xascii_table. Char values outside of 0..255 are an ICE. (gfc_simplify_lge): Remove use of xascii_table. (gfc_simplify_lgt): Likewise. (gfc_simplify_lle): Likewise. (gfc_simplify_llt): Likewise. (invert_table): Remove. (gfc_simplify_init_1): Remove. 2007-01-28 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30389 * gfortran.dg/achar_2.f90: New test. * gfortran.dg/achar_3.f90: New test. From-SVN: r121255
2007-01-28common.opt: Add fstrict-overflow.Ian Lance Taylor41-99/+355
./: * common.opt: Add fstrict-overflow. * opts.c (decode_options): Set flag_strict_overflow if -O2. * flags.h (TYPE_OVERFLOW_WRAPS): Define. (TYPE_OVERFLOW_UNDEFINED): Define. (TYPE_OVERFLOW_TRAPS): Define. This replaces TYPE_TRAP_SIGNED. Replace all uses. * tree.h (TYPE_TRAP_SIGNED): Don't define. * fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_UNDEFINED. (fold_negate_expr): Likewise. (make_range): Likewise. (extract_muldiv_1): Likewise. (maybe_canonicalize_comparison): Likewise. (fold_comparison): Likewise. (fold_binary): Likewise. (tree_expr_nonnegative_p): Likewise. (tree_expr_nonzero_p): Likewise. * tree-vrp.c (compare_values): Likewise. (extract_range_from_binary_expr): Likewise. (extract_range_from_unary_expr): Likewise. * tree-ssa-loop-niter.c (infer_loop_bounds_from_signedness): Likewise. (nowrap_type_p): Likewise. * tree-scalar-evolution.c (simple_iv): Likewise. * fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_WRAPS. (build_range_check): Likewise. (extract_muldiv_1): Likewise. (fold_comparison): Likewise. * tree-vrp.c (vrp_int_const_binop): Likewise. (extract_range_from_unary_expr): Likewise. * convert.c (convert_to_integer): Likewise. * fold-const.c (fold_negate_expr): Use TYPE_OVERFLOW_TRAPS. (fold_comparison): Likewise. (fold_binary): Likewise. * optabs.c (optab_for_tree_code): Likewise. * tree-vectorizer.c (vect_is_simple_reduction): Likewise. * simplify-rtx.c (simplify_const_relational_operation): Check flag_strict_overflow and flag_trapv. (simplify_const_relational_operation): Likewise. * doc/invoke.texi (Option Summary): Mention -fstrict-overflow. (Optimize Options): Add -fstrict-overflow to -O2 list. Document -fstrict-overflow. testsuite/: * gcc.dg/strict-overflow-1.c: New test. * gcc.dg/no-strict-overflow-1.c: New test. * gcc.dg/strict-overflow-2.c: New test. * gcc.dg/no-strict-overflow-2.c: New test. * gcc.dg/strict-overflow-3.c: New test. * gcc.dg/no-strict-overflow-3.c: New test. * gcc.dg/strict-overflow-4.c: New test. * gcc.dg/no-strict-overflow-4.c: New test. * gcc.dg/fold-mod-1.c: Add -fstrict-overflow option. * gcc.dg/pr15784-1.c: Likewise. * gcc.dg/pr20922-1.c: Likewise. * gcc.dg/pr20922-3.c: Likewise. * gcc.dg/pr20922-4.c: Likewise. * gcc.dg/pr20922-6.c: Likewise. * gcc.dg/compare-4.c: Likewise. * gcc.dg/torture/pr26898-1.c: Likewise. * gcc.dg/tree-ssa/divide-1.c: Likewise. * gcc.dg/tree-ssa/divide-2.c: Likewise. * gcc.dg/tree-ssa/divide-3.c: Likewise. * gcc.dg/tree-ssa/divide-4.c: Likewise. * gcc.dg/tree-ssa/pr14490-1.c: Likewise. * gcc.dg/tree-ssa/pr14490-3.c: Likewise. * gcc.dg/tree-ssa/pr21082.c: Likewise. * gcc.dg/tree-ssa/pr26899.c: Likewise. * g++.dg/tree-ssa/pr21082.C: Likewise. From-SVN: r121254
2007-01-28tree.c (tree_fold_gcd): Delete.Roger Sayle5-45/+17
* tree.c (tree_fold_gcd): Delete. * tree.h (tree_fold_gcd): Remove prototype. * tree-data-ref.c (tree_fold_divides_p): Don't use tree_fold_gcd to test whether one constant integer is a multiple of another. Instead call int_const_binop with TRUNC_MOD_EXPR and test for a zero result. * fold-const.c (multiple_of_p): We've determined both TOP and BOTTOM are integer constants so we can call int_const_binop directly instead of the more generic const_binop. From-SVN: r121253
2007-01-28fold-const.c (size_binop): In the fast-paths for X+0...Roger Sayle4-11/+79
* fold-const.c (size_binop): In the fast-paths for X+0, 0+X, X-0 and 1*X check that the constant hasn't overflowed, to preserve the TREE_OVERFLOW bit. (round_up): Provide an efficient implementation when rouding-up an INTEGER_CST to a power-of-two. * gcc-dg/large-size-array-3.c: New test case. From-SVN: r121252
2007-01-28Daily bump.GCC Administrator1-1/+1
From-SVN: r121250
2007-01-28Add missing doc/install.texi to ChangeLog entry of the previous commit.Gerald Pfeifer1-0/+1
From-SVN: r121245
2007-01-27sourcebuild.texi: Add comma for clarity.Ralf Wildenhues1-0/+9
* doc/sourcebuild.texi: Add comma for clarity. * doc/extend.texi: Fix some typos. * doc/passes.texi: Likewise. * doc/cppinternals.texi: Likewise. * doc/c-tree.texi: Likewise. * doc/tree-ssa.texi: Likewise. From-SVN: r121242
2007-01-27sourcebuild.texi: Add comma for clarity.Ralf Wildenhues7-13/+13
* doc/sourcebuild.texi: Add comma for clarity. * doc/extend.texi: Fix some typos. * doc/passes.texi: Likewise. * doc/cppinternals.texi: Likewise. * doc/c-tree.texi: Likewise. * doc/tree-ssa.texi: Likewise. From-SVN: r121241
2007-01-27tree-sra.c (sra_walk_function): Don't rely on aliases being build.Jan Hubicka3-4/+14
* tree-sra.c (sra_walk_function): Don't rely on aliases being build. (pass_sra): Do not require alias information. * passes.c (init_optimization_passes): Add SRA From-SVN: r121240
2007-01-27trans-stmt.c (forall_info): Replace the next_nest and outer fields that ↵Roger Sayle4-17/+40
previously implemented a... * trans-stmt.c (forall_info): Replace the next_nest and outer fields that previously implemented a doubly-linked list with a single prev_nest field (singly-linked list). (gfc_trans_nested_forall_loop): The nested_forall_info argument now denotes the innermost FORALL in the loop nest. (compute_overall_iter_number): Use prev_nest instead of next_nest. (gfc_trans_forall_1): Link/cons the new "info" to the head of the nested_forall_info linked list. Free the current "info" when done. * gfortran.dg/forall_7.f90: New test case. From-SVN: r121236
2007-01-27re PR fortran/30407 ([4.1 only] Elemental functions in WHERE assignments ↵Paul Thomas9-6/+406
wrongly rejected) 2007-01-27 Paul Thomas <pault@gcc.gnu.org> PR fortran/30407 * trans-expr.c (gfc_conv_operator_assign): New function. * trans.h : Add prototype for gfc_conv_operator_assign. * trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for a potential operator assignment subroutine. If it is non-NULL call gfc_conv_operator_assign instead of the first assignment. ( gfc_trans_where_2): In the case of an operator assignment, extract the argument expressions from the code for the subroutine call and pass the symbol to gfc_trans_where_assign. resolve.c (resolve_where, gfc_resolve_where_code_in_forall, gfc_resolve_forall_body): Resolve the subroutine call for operator assignments. 2007-01-27 Paul Thomas <pault@gcc.gnu.org> PR fortran/30407 * gfortran.dg/where_operator_assign_1.f90: New test. * gfortran.dg/where_operator_assign_2.f90: New test. * gfortran.dg/where_operator_assign_3.f90: New test. From-SVN: r121235
2007-01-27tracer.c (rest_of_handle_tracer): We already cleaned up the CFG in tracer() ↵Steven Bosscher4-57/+76
so don't do it here again. * tracer.c (rest_of_handle_tracer): We already cleaned up the CFG in tracer() so don't do it here again. * cfgcleanup.c (rest_of_handle_jump2): Don't repeat cleanup_cfg here, either. And don't call renumber_insns. * cfgrtl.c (rtl_verify_flow_info_1): Don't verify that BB_END and BB_HEAD are in the insn stream here. Instead make sure that BB_INSN is valid on all insns. Also, do check here that there are no pending branch predictions... (rtl_verify_flow_info): ...instead of doing it here. Checks for BB_END and BB_HEAD moved from rtl_verify_flow_info_1 to here. From-SVN: r121231
2007-01-27Add 'PR fortran/30278' to my previous commit.Steven G. Kargl2-0/+2
From-SVN: r121229
2007-01-27i386.c (ix86_swap_binary_operands_p): New helper function to ↵Roger Sayle2-50/+94
simplify/factorize operand order canonicalization. * config/i386/i386.c (ix86_swap_binary_operands_p): New helper function to simplify/factorize operand order canonicalization. (ix86_fixup_binary_operands): Reorganize using the above function. (ix86_binary_operator_ok): Likewise. From-SVN: r121227
2007-01-27Daily bump.GCC Administrator1-1/+1
From-SVN: r121225
2007-01-26* lib/target-supports.expJoseph Myers2-1/+24
(check_effective_target_powerpc_altivec): New. (check_effective_target_vect_cmdline_needed): Use it. From-SVN: r121219
2007-01-26Steven G.Steven G. Kargl5-2/+82
2007-01-26 Steven Bosscher <stevenb.gcc@gmail.com> Steven G. Kargl <kargl@gcc.gnu,org> * testsuite/gfortran.dg/backslash_3.f: New test. * fortran/io.c (next_char): Deal with backslash escaped characters. Issue warnings in non -std=gnu cases. * fortran/primary.c (next_string_char): Issue warnings in non From-SVN: r121218
2007-01-27genattrtab.c (struct attr_value_list, [...]): Move to file scope from ↵Jakub Jelinek2-19/+50
optimize_attrs. * genattrtab.c (struct attr_value_list, insn_code_values): Move to file scope from optimize_attrs. (simplify_test_exp): If insn_code_values is not NULL, use it to speed up search. (optimize_attrs): Clear insn_code_values after freeing it. From-SVN: r121216
2007-01-26tree-ssa-address.c (create_mem_ref): Remove ", bsi" from a parts.base ↵Zdenek Dvorak2-1/+6
assignment. * tree-ssa-address.c (create_mem_ref): Remove ", bsi" from a parts.base assignment. From-SVN: r121213
2007-01-26tree-data-ref.c (dump_subscript): Use dump_conflict_function.Zdenek Dvorak3-241/+522
* tree-data-ref.c (dump_subscript): Use dump_conflict_function. (compute_subscript_distance, initialize_data_dependence_relation, finalize_ddr_dependent, analyze_ziv_subscript, analyze_siv_subscript_cst_affine, compute_overlap_steps_for_affine_univar, compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, analyze_siv_subscript, analyze_miv_subscript, analyze_overlapping_iterations, subscript_dependence_tester_1, compute_self_dependence, free_dependence_relation): Work with affine_fn instead of chrecs. (dump_affine_function, dump_conflict_function, affine_function_equal_p, common_affine_function, affine_function_base, affine_function_constant_p, affine_fn_op, affine_fn_plus, affine_fn_minus, affine_fn_free, conflict_fn_not_known, conflict_fn_no_dependence, free_conflict_function, free_subscripts, conflict_fn, affine_fn_cst, affine_fn_univar): New functions. (all_chrecs_equal_p): Removed. * tree-data-ref.h (affine_fn, conflict_function): New types. (struct subscript): Change type of conflicting_iterations_in_a and conflicting_iterations_in_b. From-SVN: r121212
2007-01-26re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors))Steve Ellcey4-1/+16
PR other/30182 * config/pa/pa.h (TARGET_HPUX_11): New. * config/pa/pa-hpux11.h (TARGET_HPUX_11): New. * config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11. From-SVN: r121211
2007-01-26pr23382.c: Fix typo.Richard Guenther2-1/+5
2007-01-26 Richard Guenther <rguenther@suse.de> * gcc.dg/tree-ssa/pr23382.c: Fix typo. From-SVN: r121205
2007-01-26tree-ssa-structalias.c (solve_graph): Handle case we merged the variable to ↵Daniel Berlin2-3/+10
another. 2007-01-26 Daniel Berlin <dberlin@dberlin.org> Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (solve_graph): Handle case we merged the variable to another. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r121202
2007-01-26lang-specs.h: Add support for .f03 and .F03 extensions.Tobias Burnus10-5/+36
fortran/ 2007-01-26 Tobias Burnus <burnus@net-b.de> * lang-specs.h: Add support for .f03 and .F03 extensions. * gfortran.texi: Document .f03 extension. * options.c (form_from_filename): Recognize .f03. testsuite/ 2007-01-26 Tobias Burnus <burnus@net-b.de> * gfortran.dg/gomp/gomp.exp: Support .f03 extension. * gfortran.dg/vect/vect.exp: Ditto. * gfortran.dg/dg.exp: Ditto. * gfortran.fortran-torture/execute/execute.exp: Ditto. * gfortran.fortran-torture/compile/compile.exp: Ditto. libgomp/ 2007-01-26 Tobias Burnus <burnus@net-b.de> * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension. From-SVN: r121201
2007-01-26builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even' functions.Kaveh R. Ghazi6-7/+199
* builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even' functions. * fold-const.c (negate_mathfn_p): Treat casin, casinh, catan, catanh, cproj, csin, csinh, ctan and ctanh as 'odd' functions. testsuite: * gcc.dg/builtins-20.c: Add more cases. * gcc.dg/torture/builtin-symmetric-1.c: Likewise. From-SVN: r121200
2007-01-25m32c.c (m32c_cannot_change_mode_class): We don't allow changes to modes ↵DJ Delorie2-0/+11
which don't fit in those registers. * config/m32c/m32c.c (m32c_cannot_change_mode_class): We don't allow changes to modes which don't fit in those registers. From-SVN: r121199