aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-03-29tree-loop-linear.c (compute_data_dependences_for_loop): Adjust calls.Sebastian Pop5-17/+28
* tree-loop-linear.c (compute_data_dependences_for_loop): Adjust calls. * tree-data-ref.c (find_data_references_in_loop, compute_data_dependences_for_loop): Use pointers to VEC. (analyze_all_data_dependences): Adjust calls. * tree-data-ref.h (find_data_references_in_loop, compute_data_dependences_for_loop): Adjust declarations. * tree-vect-analyze.c (vect_analyze_data_refs): Adjust call to compute_data_dependences_for_loop. From-SVN: r112507
2006-03-29vfp.md (movsf_vfp): Disparage w<->r alternatives.Paul Brook2-4/+11
2006-03-29 Paul Brook <paul@codesourcery.com> * config/arm/vfp.md (movsf_vfp): Disparage w<->r alternatives. (movdf_vfp): Ditto. From-SVN: r112504
2006-03-29re PR tree-optimization/26859 (ICE Segmentation Fault)Sebastian Pop2-6/+28
PR tree-optimization/26859 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Avoid division by zero. (convert_step): Remove TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW flags for the step after fold_convert. From-SVN: r112502
2006-03-29reload1.c (choose_reload_regs): Check for all RTX_AUTOINC operators.Paul Brook2-9/+23
2006-03-29 Paul Brook <paul@codesourcery.com> * reload1.c (choose_reload_regs): Check for all RTX_AUTOINC operators. (inc_for_reload): Handle PRE_MODIFY and POST_MODIFY addresses. From-SVN: r112500
2006-03-29re PR java/26390 (Problem dispatching method call when method does not exist ↵Tom Tromey2-4/+26
in superclass) gcc/java PR java/26390: * parse.y (find_most_specific_methods_list): Added 'class' argument. (lookup_method_invoke): Updated. libjava PR java/26390: * testsuite/libjava.lang/pr26390.out: New file. * testsuite/libjava.lang/pr26390.java: New file. * sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing. From-SVN: r112499
2006-03-29re PR middle-end/23623 (volatile keyword changes bitfield access size from ↵Paul Brook8-8/+57
32bit to 8bit) 2006-03-29 Paul Brook <paul@codesourcery.com> PR middle-end/23623 * targhooks.c (default_narrow_bitfield): New fuction. * targhooks.h (default_narrow_bitfield): add prototype. * target.h (gcc_target): Add narrow_volatile_bitfield. * target-def.h (TARGET_NARROW_VOLATILE_BITFIELD): Define. * stor-layout.c (get_best_mode): Use targetm.narrow_volatile_bitfield. * doc/tm.texi: Document TARGET_NARROW_VOLATILE_BITFIELDS. * config/arm/arm.c (TARGET_NARROW_VOLATILE_BITFIELD): Define. From-SVN: r112493
2006-03-29config.gcc (s390-*-linux-*, [...]): Add t-dfprules to tmake_file.Andreas Krebbel3-12/+39
2006-03-29 Andreas Krebbel <krebbel1@de.ibm.com> * config.gcc (s390-*-linux-*, s390x-*-linux*): Add t-dfprules to tmake_file. * config/s390/s390.c (S390_scalar_mode_supported_p): New function. (NR_C_MODES): Add TDmode, DDmode and SDmode. (s390_output_pool_entry, ): Accept MODE_DECIMAL_FLOAT. (s390_hard_regno_mode_ok): Disallow TDmode in integer regs. (s390_function_arg_float): Allow SDmode and DDmode values to be passed in floating point registers. (s390_function_arg_integer, s390_function_value): Replace MODE_FLOAT check with SCALAR_FLOAT_MODE_P. (TARGET_SCALAR_MODE_SUPPORTED_P): Define target macro. From-SVN: r112491
2006-03-29re PR tree-optimization/25985 (with optimization integer math fails)Zdenek Dvorak2-8/+75
PR tree-optimization/25985 * tree-ssa-loop-niter.c (number_of_iterations_le, number_of_iterations_ne): Make comments more precise. (number_of_iterations_cond): Add only_exit argument. Use the fact that signed variables do not overflow only when only_exit is true. (loop_only_exit_p): New. (number_of_iterations_exit): Pass result of loop_only_exit_p to number_of_iterations_cond. From-SVN: r112484
2006-03-29re PR middle-end/26643 (Linux matroxfb_probe miscompiled)Zdenek Dvorak2-2/+9
PR tree-optimization/26643 * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not handle bit_field_refs. From-SVN: r112483
2006-03-29Daily bump.GCC Administrator1-1/+1
From-SVN: r112481
2006-03-28sh.md (udivsi3_i4_int): Clobber MACH_REG and MACL_REG.Kaz Kojima2-0/+9
* config/sh/sh.md (udivsi3_i4_int): Clobber MACH_REG and MACL_REG. (divsi3_i4_int): Likewise. From-SVN: r112476
2006-03-28intrinsic.texi: s/floor/float in previous commit.Steven G. Kargl2-1/+5
2006-03-28 Steven G. Kargl <kargls@comcast.net> * intrinsic.texi: s/floor/float in previous commit. From-SVN: r112474
2006-03-28expr.c (emit_group_store): Only create a new pseudo reg if the quantity it ↵Roger Sayle2-3/+14
needs to hold isn't already a... * expr.c (emit_group_store): Only create a new pseudo reg if the quantity it needs to hold isn't already a suitable pseudo. From-SVN: r112469
2006-03-28timevar.def (TV_TREE_PHI_CPROP): New timevar.Jeff Law3-1/+7
* timevar.def (TV_TREE_PHI_CPROP): New timevar. * tree-ssa-dom.c (pass_phi_only_cprop): Use it. From-SVN: r112466
2006-03-28Fix ChangeLog entry.Denis Chertykov1-0/+20
From-SVN: r112463
2006-03-28fold-const.c (fold_binary): Fold (X & Y) ^ Y as the equivalent ~X & Y, and ↵Roger Sayle5-0/+148
the symmetry related transformations. * fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & Y) ^ Y as the equivalent ~X & Y, and the symmetry related transformations. (fold_binary) <BIT_AND_EXPR>: Similarly, fold (X ^ Y) & Y as ~X & Y, and symmetry related transforms. * gcc.dg/fold-andxor-1.c: New test case. * gcc.dg/fold-xorand-1.c: Likewise. From-SVN: r112459
2006-03-282006-03-28 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>Maxim Kuvyrkov7-53/+34
Revert my 2006-03-27 patches. From-SVN: r112456
2006-03-28fold-const.c (fold_unary): Fold (T1)(~(T2)X) as ~(T1)X...Roger Sayle4-0/+43
* fold-const.c (fold_unary) <NOP_EXPR>: Fold (T1)(~(T2)X) as ~(T1)X, when T1 and T2 are integer types of the same precision and (T2)X isn't an extension. * gcc.dg/fold-convnotconv-1.c: New test case. From-SVN: r112455
2006-03-28re PR tree-optimization/26796 (ACATS ICE c34002a c52005 spurious storage_error)Jeff Law2-3/+25
PR tree-optimization/26796 * tree-ssa-dom.c (propagate_rhs_into_lhs): Queue blocks which need EH edge cleanups rather than purging them immediately. (eliminate_degenerate_phis): Handle queued EH cleanups. From-SVN: r112453
2006-03-28tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE from ↵Daniel Berlin3-0/+29
parent_var. 2006-03-28 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE from parent_var. From-SVN: r112451
2006-03-28re PR fortran/26779 (Internal module procedure may not have private type ↵Paul Thomas4-3/+42
dummy arguments) 2006-03-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/26779 *resolve.c (resolve_fl_procedure): Do not check the access of derived types for internal procedures. 2006-03-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/26779 * gfortran.dg/private_type_5.f90: New test. From-SVN: r112442
2006-03-28re PR middle-end/22524 (fold (or the front-ends) produces UNARY ↵Roger Sayle2-1/+8
(BIT_NOT_EXPR) tree with mismatch types) PR middle-end/22524 * fold-const.c (fold_binary) <MINUS_EXPR>: Call fold_convert to cast BIT_NOT_EXPR operand to the correct type. From-SVN: r112438
2006-03-28tree-loop-linear.c: Don't include varray.h.Sebastian Pop14-286/+254
* tree-loop-linear.c: Don't include varray.h. (gather_interchange_stats, try_interchange_loops, linear_transform_loops): Use VEC instead of VARRAY. * lambda-mat.c: Don't include varray.h. * tree-chrec.c: Same. * lambda-trans.c: Same. * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info): Use VEC instead of VARRAY. * tree-vectorizer.h: Idem. * tree-data-ref.c (dump_data_references, dump_data_dependence_relations, dump_dist_dir_vectors, dump_ddrs, initialize_data_dependence_relation, finalize_ddr_dependent, compute_all_dependences, find_data_references_in_loop, compute_data_dependences_for_loop, analyze_all_data_dependences, free_dependence_relation, free_dependence_relations, free_data_refs): Idem. * tree-data-ref.h (data_reference_p, subscript_p): New. (data_dependence_relation, DDR_SUBSCRIPT, DDR_NUM_SUBSCRIPTS): Use VEC instead of VARRAY. (DDR_SUBSCRIPTS_VECTOR_INIT): Removed. (find_data_references_in_loop, compute_data_dependences_for_loop, dump_ddrs, dump_dist_dir_vectors, dump_data_references, dump_data_dependence_relations, free_dependence_relations, free_data_refs): Adjust declaration. (lambda_transform_legal_p): Move declaration here... * tree-vect-analyze.c (vect_analyze_data_ref_dependences, vect_compute_data_refs_alignment, vect_verify_datarefs_alignment, vect_enhance_data_refs_alignment, vect_analyze_data_ref_accesses, vect_analyze_data_refs): Use VEC instead of VARRAY. * lambda.h (lambda_transform_legal_p): ...from here. * lambda-code.c (lambda_transform_legal_p): Use VEC instead of VARRAY. * tree-vect-transform.c (vect_update_inits_of_drs): Idem. * Makefile.in (tree-loop-linear.o, lambda-mat.o, lambda-trans.o, tree-chrec.o): Don't depend on VARRAY_H. From-SVN: r112437
2006-03-28Daily bump.GCC Administrator1-1/+1
From-SVN: r112432
2006-03-27rtl.def (Copyright): Update date.Maxim Kuvyrkov6-17/+36
2006-03-27 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> * rtl.def (Copyright): Update date. (DEPS_LIST): Change type of the second operand to 'int'. * target.h (Copyright): Update date. (struct gcc_target.speculate_insn): Change type of the second parameter to 'int'. * lists.c (Copyright): Update date. (alloc_DEPS_LIST): Change signature. Update reference to the second operand of the DEPS_LIST. (copy_DEPS_LIST_list): Update reference to the second operand of the DEPS_LIST. * rtl.h (Copyright): Update date. (alloc_DEPS_LIST): Update signature. * sched-int.h (Copyright): Update date. (ds_t): Change typedef to 'int'. (DEP_STATUS, BITS_PER_DEP_STATUS): Update. From-SVN: r112428
2006-03-27haifa-sched.c (Copyright): Update date.Maxim Kuvyrkov2-13/+43
2006-03-27 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> * haifa-sched.c (Copyright): Update date. (try_ready): Change condition to restore non-speculative pattern of the instruction. (process_insn_depend_be_in_spec): Code to keep probability of the speculative dependence non-decreasing. From-SVN: r112427
2006-03-27* objc.dg/objc-nofilename-1.m: Limit to Darwin.David Edelsohn2-1/+6
From-SVN: r112424
2006-03-27regrename.c (replace_oldest_value_addr): Initialize a variable to shut up ↵Bernd Schmidt2-1/+6
the compiler. * regrename.c (replace_oldest_value_addr): Initialize a variable to shut up the compiler. From-SVN: r112423
2006-03-27t-sh ($(T)libic_invalidate_array_4-100.a): Fix rule to use lib prefix for ↵J"orn Rennecke2-3/+10
target. * config/sh/t-sh ($(T)libic_invalidate_array_4-100.a): Fix rule to use lib prefix for target. ($(T)libic_invalidate_array_4-200.a): Likewise. ($(T)libic_invalidate_array_4a.a): Likewise. From-SVN: r112422
2006-03-27superh.opt: New file.Andrew Stubbs14-125/+450
2006-03-27 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> * superh.opt: New file. * sh.c (boardtype, osruntime): Remove. * superh.h (SUBTARGET_OPTIONS): Remove. * config.gcc (sh*-superh-elf): Add sh/superh.opt to extra_options. * config.gcc (sh*-*-*): Don't use c-c ranges for tr. Quote sed arguments with ^ and/or []. * config.gcc (sh-*-*): Add quoting to account for quirk of Solaris /bin/sh. Replace == with = in enable_incomplete_targets test. * config/sh/superh.h (SUBTARGET_LINK_SPEC): Replace LITTLE_ENDIAN_BIT with MASK_LITTLE_ENDIAN. * config.gcc (sh*-superh-elf): Add sh/superh.h to tm_file. * config/sh/sh.opt: Added to some comments. * config/sh/superh.h: Removed some chaff. * config/sh/sh.opt: Add m4-[1234]00* options. * config/sh/sh.c (sh_handle_option): Likewise. * config/sh/t-sh (IC_EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Define. (ic_invalidate_array_4-100.o): New rule. ($(T)libic_invalidate_array_4-100.a): Likewise. (ic_invalidate_array_4-200.o): Likewise. ($(T)libic_invalidate_array_4-200.a): Likewise. (ic_invalidate_array_4a.o): Likewise. ($(T)libic_invalidate_array_4a.a): Likewise. * config/sh/t-elf (EXTRA_MULTILIB_PARTS): Add IC_EXTRA_PARTS. * config/sh/embed-elf.h (LIBGCC_SPEC): Add clauses for m4-100*, m4-200*, and m4a*. * config/sh/crt1.asm: Merged in profiling code. * config/sh/superh.h (STARTFILE_SPEC): Override. * config/sh/t-superh: Override EXTRA_MULTILIB_PARTS. Add rules for $(T)crt1-mmu.o, $(T)gcrt1-mmu.o and $(T)gcrt1.o. * config.gcc (sh*-superh-elf): Add t-superh to tmake_file. * t-sh (MULTILIB_MATCHES): Add sh4-[1245]00* variants. * config/sh/t-superh: Removed now-redundant MULTILIB_OPTIONS / MULTILIB_DIRNAMES / MULTILIB_MATCHES settings. * sh.opt (mpretend-cmove): New option. * sh.h (OPERRIDE_OPTIONS): Switch it off if not TARGET_SH1. * sh.md (movsicc_t_false, movsicc_t_tru): New patterns. (movsicc): Add TARGET_PRETEND_CMOVE code. Co-Authored-By: J"orn Rennecke <joern.rennecke@st.com> From-SVN: r112421
2006-03-27s390-protos.h (s390_hard_regno_mode_ok, [...]): New function prototypes.Andreas Krebbel4-36/+92
2006-03-27 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390-protos.h (s390_hard_regno_mode_ok, s390_class_max_nregs): New function prototypes. * config/s390/s390.c (REGNO_PAIR_OK): New macro. (s390_hard_regno_mode_ok, s390_class_max_nregs): New functions. * config/s390/s390.h (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS): Macro bodies replaced by function calls. From-SVN: r112418
2006-03-27io.c (check_io_constraints): Don't look at ↵Jakub Jelinek5-10/+35
dt->advance->value.charater.string, unless it is a CHARACTER constant. * io.c (check_io_constraints): Don't look at dt->advance->value.charater.string, unless it is a CHARACTER constant. * gfortran.dg/advance_2.f90: New test. * gfortran.dg/advance_3.f90: New test. From-SVN: r112417
2006-03-27f95-lang.c (gfc_get_alias_set): New function.Jakub Jelinek4-0/+255
* f95-lang.c (gfc_get_alias_set): New function. (LANG_HOOKS_GET_ALIAS_SET): Define. * gfortran.fortran-torture/execute/equiv_5.f: New test. From-SVN: r112416
2006-03-27re PR libfortran/26661 (Sequential formatted read goes too far)Jerry DeLisle2-0/+23
2006-03-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/26661 PR libgfortran/26880 * gfortran.dg/read_x_past.f: New test. From-SVN: r112410
2006-03-27darwin-20040809-2.c: Don't expect default debugging to be STABS.Geoffrey Keating2-1/+6
* gcc.dg/darwin-20040809-2.c: Don't expect default debugging to be STABS. From-SVN: r112409
2006-03-27dwarf2out.c (add_location_or_const_value_attribute): Call ↵Geoffrey Keating2-8/+37
tree_add_const_value_attribute if nothing else works. * dwarf2out.c (add_location_or_const_value_attribute): Call tree_add_const_value_attribute if nothing else works. (reference_to_unused): New. (rtl_for_decl_init): Use reference_to_unused to decide whether to output an initializer. From-SVN: r112408
2006-03-27Daily bump.GCC Administrator1-1/+1
From-SVN: r112405
2006-03-27re PR target/26459 (gcc fails to build on powerpc e500-double targets)Alan Modra2-2/+10
PR target/26459 * config/rs6000/rs6000.md (DF reg move peephole): Prevent peephole removing spe frob_di_df_2. From-SVN: r112400
2006-03-26tree-data-ref.c: Rename DDR_SIZE_VECT to DDR_NB_LOOPS.Sebastian Pop4-398/+546
* tree-data-ref.c: Rename DDR_SIZE_VECT to DDR_NB_LOOPS. (subscript_dependence_tester_1): Declared. (print_dir_vectors, print_dist_vectors): New. (debug_data_dependence_relation): New. (dump_data_dependence_relation): Print more details. (initialize_data_dependence_relation): Initialize DDR_LOOP_NEST. (analyze_subscript_affine_affine): Don't ICE when gcd_alpha_beta is 0. (save_dist_v, save_dir_v, add_outer_distances, build_classic_dist_vector_1): New. (build_classic_dist_vector): Rewrite to work on DDR_LOOP_NEST. Don't test for lambda_vector_lexico_pos. (same_access_functions, add_multivariate_self_dist, add_other_self_distances, dir_from_dist): New. (build_classic_dir_vector): Replace implementation almost identical to build_classic_dist_vector with a walk of DDR_DIST_VECTS with a call to dir_from_dist. (subscript_dependence_tester_1): New. (subscript_dependence_tester): Handle the lexicographically negative distance vectors by recomputing the dependence relation. (compute_affine_dependence): Remove parameter loop_nest_depth. (compute_self_dependence): Don't call compute_subscript_distance. (compute_all_dependences): Remove parameters nb_loops, loop_nest_depth. Add a parameter for the loop_nest. (find_loop_nest_1, find_loop_nest): New. (compute_data_dependences_for_loop): Compute the loop nest, and give up if the nest is not well formed. * tree-data-ref.h (loop_p): New. (struct data_dependence_relation): Replace size_vect field with loop_nest, a vec of loops. (DDR_SIZE_VECT): Renamed DDR_NB_LOOPS. (DDR_LOOP_NEST): New. (print_dir_vectors, print_dist_vectors, debug_data_dependence_relation): Declared. (index_in_loop_nest): New. * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Use DDR_LOOP_NEST and index_in_loop_nest to determine the dependence distance. From-SVN: r112399
2006-03-26dwarf-1.m: Skip on AIX.David Edelsohn3-0/+7
* objc.dg/dwarf-1.m: Skip on AIX. * objc.dg/dwarf-2.m: Skip on AIX. From-SVN: r112398
2006-03-26re PR fortran/26816 ([4.1 only] FLOAT Intrinsic does not work with Integer ↵Steven G. Kargl5-1/+60
Halfword input) PR fortran/26816 * intrinsic.c (add_functions): Allow FLOAT to accept all integer kinds. * intrinsic.texi: Document FLOAT. * gfortran.dg/float_1.f90: New test. From-SVN: r112392
2006-03-26Daily bump.GCC Administrator1-1/+1
From-SVN: r112388
2006-03-25transfer_array_intrinsic_1.f90: Restrict to i?86 and X86_64 targets.Steven G. Kargl3-2/+8
* gfortran.dg/transfer_array_intrinsic_1.f90: Restrict to i?86 and X86_64 targets. * gfortran.dg/transfer_array_intrinsic_2.f90: Ditto. From-SVN: r112384
2006-03-25simplify-rtx.c (simplify_relational_operation): Call ↵Adam Nemet2-2/+6
simplify_relational_operation_1 even if mode is VOIDmode. * simplify-rtx.c (simplify_relational_operation): Call simplify_relational_operation_1 even if mode is VOIDmode. From-SVN: r112383
2006-03-25re PR libfortran/26735 ([4.1 only] -fconvert=swap and implied open)Thomas Koenig2-0/+20
2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/26735 * io/transfer.c (data_transfer_init): Set u_flags.convert on an unopened unit if specified by environment variable (via get_unformatted_convert) or by compile-time option. 2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/26735 * gfortran.dg/convert_implied_open.f90: New test case. From-SVN: r112382
2006-03-25re PR fortran/26769 (Implement transpose() and reshape() for real instead of ↵Thomas Koenig4-4/+41
using integer) 2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26769 * iresolve.c (gfc_resolve_reshape): Remove doubling of kind for complex. For real(kind=10), call reshape_r10. (gfc_resolve_transpose): For real(kind=10), call transpose_r10. 2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26769 * Makefile.am: Add transpose_r10.c and reshape_r10.c. * aclocal.m4: Regenerate using aclocal 1.9.3. * Makefile.in: Regenerate using automake 1.9.3. * m4/iparm.m4 (rtype_ccode): If rtype_letter is `i', evaluate to rtype_kind, otherwise to rtype_code. * generated/transpose_r10.c: Add. * generated/reshape_r10.c: Add. 2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26769 * gfortran.dg/transpose_reshape_r10.f90: New test case. From-SVN: r112381
2006-03-25re PR tree-optimization/26804 (Alias Time explosion)Daniel Berlin7-3/+110
2006-03-25 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/26804 * tree.h (DECL_CALL_CLOBBERED): New macro. (tree_decl_common): Add call_clobbered_flag. * tree-flow-inline.h (is_call_clobbered): Use DECL_CALL_CLOBBERED. (mark_call_clobbered): Set DECL_CALL_CLOBBERED. (clear_call_clobbered): Clear DECL_CALL_CLOBBERED. (mark_non_addressable): Ditto. * tree-ssa.c (verify_call_clobbered): New function. (verify_alias_info): Use it. * tree-pass.h (pass_reset_cc_flags): New prototype. * tree-ssa-alias.c (pass_reset_cc_flags): New structure. (reset_cc_flags): New function. * passes.c (init_optimization_passes): Call reset_cc_flags after initializing referenced_vars. From-SVN: r112380
2006-03-25re PR middle-end/26717 (complex/complex gives a REAL_CST)Uros Bizjak4-2/+38
PR middle-end/26717 * fold-const.c (fold_binary) [RDIV_EXPR]: Do not optimize A / A to 1.0 for non-real operands. Implement A / A optimization for complex operands. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r112379
2006-03-25i386.c (size_cost): Correct the comment for cost of storing fp registers.H.J. Lu2-12/+40
2006-03-25 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (size_cost): Correct the comment for cost of storing fp registers. (i386_cost): Likewise. (i486_cost): Likewise. (pentium_cost): Likewise. (pentiumpro_cost): Likewise. (k6_cost): Likewise. (athlon_cost): Likewise. (k8_cost): Likewise. (pentium4_cost): Likewise. (nocona_cost): Likewise. (generic64_cost): Likewise. (generic32_cost): Likewise. From-SVN: r112378
2006-03-25dependency.c (gfc_check_dependency): Improve handling of pointers...Roger Sayle4-20/+56
* dependency.c (gfc_check_dependency): Improve handling of pointers; Two variables of different types can't have a dependency, and two variables with the same symbol are equal, even if pointers. * gfortran.dg/dependency_12.f90: New test case. From-SVN: r112377