aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-04-08* expr.c, gjavah.c: Fix comment typos.Kazu Hirata3-2/+6
From-SVN: r112784
2006-04-08builtins.c, [...]: Fix comment typos.Kazu Hirata29-80/+94
* builtins.c, config/arm/arm.c, config/i386/cygwin.h, config/i386/i386.c, config/ia64/ia64.c, config/s390/fixdfdi.h, config/sh/sh.c, config/sh/sh.h, df-scan.c, except.c, haifa-sched.c, optabs.c, rtl.h, sched-deps.c, sched-int.h, sched-rgn.c, tree-inline.h, tree-ssa-dom.c, tree-ssa-loop-prefetch.c, tree-ssa-operands.c, tree-vect-patterns.c, tree-vrp.c: Fix comment typos. Follow spelling convensions. * config/ia64/ia64.opt, doc/contrib.texi, doc/invoke.texi, doc/passes.texi, doc/tm.texi, doc/tree-ssa.texi: Fix comment typos. Follow spelling conventions. From-SVN: r112782
2006-04-08gfortran.texi: Fix typos.Kazu Hirata5-8/+14
* gfortran.texi: Fix typos. Follow spelling conventions. * resolve.c, trans-expr.c, trans-stmt.c: Fix comment typos. Follow spelling conventions. From-SVN: r112780
2006-04-08* decl2.c, pt.c, semantics.c: Fix comment typos.Kazu Hirata4-4/+8
From-SVN: r112779
2006-04-08Daily bump.GCC Administrator1-1/+1
From-SVN: r112773
2006-04-07m32c.c (m32c_function_arg): Structures are always passed on the stack.DJ Delorie2-12/+29
* config/m32c/m32c.c (m32c_function_arg): Structures are always passed on the stack. (m32c_init_cumulative_args): When a function returns a structure, always pass the pointer to that return area on the stack. (m32c_function_arg_advance): Don't increment the parameter number if we're processing the returned structure pointer. (pushm_info): Reverse order of registers. From-SVN: r112765
2006-04-07tree-ssa-loop-niter.c (inverse, [...]): Use build_int_cst instead of ↵Sebastian Pop6-23/+37
build_int_cst_type. * tree-ssa-loop-niter.c (inverse, number_of_iterations_ne, assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt, number_of_iterations_le, number_of_iterations_cond, find_loop_niter, estimate_numbers_of_iterations_loop): Use build_int_cst instead of build_int_cst_type. * tree-chrec.c (chrec_fold_multiply_poly_poly, chrec_fold_multiply): Same. * tree-ssa-loop-ivopts.c (strip_offset_1, force_expr_to_var_cost, force_expr_to_var_cost): Same. * tree-mudflap.c (mf_xform_derefs_1): Same. * tree-ssa-loop-prefetch.c (idx_analyze_ref): Same. From-SVN: r112755
2006-04-07* ipa-inline.c (cgraph_early_inlining): Collect garbage.Jan Hubicka1-1/+4
From-SVN: r112753
2006-04-07rs6000.c (rs6000_rtx_costs): Do not treat CONST_DOUBLE as INTVAL.David Edelsohn2-21/+23
* config/rs6000/rs6000.c (rs6000_rtx_costs) <CONST_DOUBLE>: Do not treat CONST_DOUBLE as INTVAL. and64_2_operands require an extra insn. From-SVN: r112752
2006-04-07* ipa-inline.c (cgraph_early_inlining): Collect garbage.Jan Hubicka1-0/+5
From-SVN: r112751
2006-04-07re PR tree-optimization/26135 (store copyprop not effective)Richard Biener4-2/+57
2006-04-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/26135 * tree-ssa-copy.c (stmt_may_generate_copy): Handle memory loads for store copy-prop. (copy_prop_visit_stmt): Likewise. * gcc.dg/tree-ssa/ssa-copyprop-1.c: New testcase. From-SVN: r112749
2006-04-07Daily bump.GCC Administrator1-1/+1
From-SVN: r112745
2006-04-06linux.h: Add a comment to mark macros that are being overriden in ↵Robert Millan4-6/+20
config/k*bsd-gnu.h. * gcc/config/i386/linux.h: Add a comment to mark macros that are being overriden in config/k*bsd-gnu.h. * gcc/config/kfreebsd-gnu.h: Redefine GLIBC_DYNAMIC_LINKER instead of DYNAMIC_LINKER. * gcc/config/knetbsd-gnu.h: Ditto. From-SVN: r112740
2006-04-06re PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for ↵Jan Hubicka4-24/+52
function '...' while reading counter 'arcs'.") PR profile/20815 PR profile/26399 * coverage.c (coverage_checksum_string): Reorganize loop to not read after buffer. * g++.dg/bprob/g++-bprob-2.C: New testcase. From-SVN: r112738
2006-04-06* builtins.c (expand_builtin_longjmp):Use #ifdef instead of #ifMike Stump2-3/+11
for HAVE_nonlocal_goto to be consistent. (expand_builtin_nonlocal_goto): Likewise. (expand_builtin_strcmp): Use #ifdef instead of #if for HAVE_cmpstrnsi to be consistent. From-SVN: r112737
2006-04-06call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.Roger Sayle5-1/+32
* call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check. * g++.dg/conversion/nullptr1.C: New test case. * g++.dg/conversion/nullptr2.C: Likewise. From-SVN: r112734
2006-04-06dependency.c (get_no_elements): Delete function.Roger Sayle4-126/+165
* dependency.c (get_no_elements): Delete function. (get_deps): Delete function. (transform_sections): Delete function. (gfc_check_section_vs_section): Significant rewrite. * gfortran.dg/dependency_18.f90: New test case. From-SVN: r112731
2006-04-05m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c vs m32c.DJ Delorie2-1/+6
* config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c vs m32c. From-SVN: r112730
2006-04-06Daily bump.GCC Administrator1-1/+1
From-SVN: r112728
2006-04-05name-lookup.c (push_namespace_with_attribs): Temporarily disable default ↵Jason Merrill3-2/+7
hidden visibility for anonymous namespace. * name-lookup.c (push_namespace_with_attribs): Temporarily disable default hidden visibility for anonymous namespace. From-SVN: r112722
2006-04-05lib1funcs.asm (modsi): P1/P2 can be call-clobbered even if the calling ↵Bernd Schmidt2-8/+10
function doesn't modify them. * config/bfin/lib1funcs.asm (modsi): P1/P2 can be call-clobbered even if the calling function doesn't modify them. From-SVN: r112720
2006-04-05bfin.c (bfin_legitimate_address_p): Disallow got-relative addressing for ↵Bernd Schmidt2-1/+6
anything but SImode. * config/bfin/bfin.c (bfin_legitimate_address_p): Disallow got-relative addressing for anything but SImode. From-SVN: r112718
2006-04-05re PR tree-optimization/26919 (ICE in cgraph_estimate_size_after_inlining ↵Richard Guenther7-5/+19
with a large number of arguments) 2006-04-05 Richard Guenther <rguenther@suse.de> PR tree-optimization/26919 * ipa-inline.c (cgraph_decide_inlining_incrementally): Fix argument to cgraph_estimate_size_after_inlining. * gcc.dg/ipa/ipa-1.c: Use -fno-early-inlining. * gcc.dg/ipa/ipa-2.c: Likewise. * gcc.dg/ipa/ipa-3.c: Likewise. * gcc.dg/ipa/ipa-5.c: Likewise. From-SVN: r112709
2006-04-06reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.Alan Modra2-1/+5
* reload.c (find_dummy_reload): Fix typo in 2006-04-03 change. From-SVN: r112705
2006-04-05Add missing word in comment.Eric Botcazou1-1/+1
From-SVN: r112702
2006-04-05Correct PR number in ChangeLogs.H.J. Lu2-2/+2
gcc/fortran/ 2006-04-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/26891 * trans.h : Prototype for gfc_conv_missing_dummy. * trans-expr (gfc_conv_missing_dummy): New function (gfc_conv_function_call): Call it and tidy up some of the code. * trans-intrinsic (gfc_conv_intrinsic_function_args): The same. gcc/testsuite/ 2006-04-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/26891 * gfortran.dg/missing_optional_dummy_1.f90: New test. From-SVN: r112701
2006-04-05re PR middle-end/26996 (interpret_rhs_modify_expr calls fold_convert ↵Sebastian Pop2-1/+7
(vector_type, -1)) PR tree-optimization/26996 * tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze VECTOR_TYPE variables. From-SVN: r112700
2006-04-05re PR tree-optimization/26763 (wrong final value of induction variable ↵Richard Guenther5-27/+77
calculated) 2006-04-05 Richard Guenther <rguenther@suse.de> PR tree-optimization/26763 * fold-const.c (fold_comparison): Move folding of PTR + CST CMP PTR + CST ... (fold_binary): ... here. Fold only for EQ_EXPR and NE_EXPR. * gcc.dg/torture/pr26763-1.c: New testcase. * gcc.dg/torture/pr26763-2.c: Likewise. From-SVN: r112697
2006-04-05install.texi (Prerequisites): Refine some wording on bootstrapping and ksh.Gerald Pfeifer2-40/+56
* doc/install.texi (Prerequisites): Refine some wording on bootstrapping and ksh. Move the version numbers of DejaGnu here from the testing section and fix casing of names. Fix markup and clarify wording for autogen requirements. Refer to GCJ instead of just java. Refer to SVN instead of CVS. Describe diffutils as useful instead of necessary. (Downloading the source): Refer to SVN instead of CVS. Adjust a link to our web site accordingly. (Configuration): Fix casing of Bison. (Specific): Avoid reference to CVS. (Building): Refer to SVN instead of CVS. Fix a sentence on the use of Bison and remove duplicate (and incorrect) version number of Bison requirement. Remove one redundant list of packages needed for building. From-SVN: r112696
2006-04-04re PR fortran/25619 (temporary array of constant size character type goes wrong)H.J. Lu4-15/+123
gcc/fortran/ 2006-04-04 H.J. Lu <hongjiu.lu@intel.com> PR fortran/25619 * trans-array.c (gfc_conv_expr_descriptor): Only dereference character pointer when copying temporary. PR fortran/23634 * trans-array.c (gfc_conv_expr_descriptor): Properly copy temporary character with non constant size. gcc/testsuite/ 2006-04-04 Paul Thomas <pault@gcc.gnu.org> PR fortran/23634 PR fortran/25619 * gfortran.dg/actual_array_constructor_1.f90: New testcase. From-SVN: r112695
2006-04-05Add forgotten ChangeLog entry.Eric Christopher1-0/+4
From-SVN: r112694
2006-04-05rs6000.c (TARGET_MS_BITFIELD_LAYOUT_P): Define.Eric Christopher2-2/+64
2006-04-04 Eric Christopher <echristo@apple.com> * config/rs6000/rs6000.c (TARGET_MS_BITFIELD_LAYOUT_P): Define. (TARGET_USE_MS_BITFIELD_LAYOUT): Ditto. (rs6000_handle_struct_attribute): New. (rs6000_ms_bitfield_layout_p): Ditto. From-SVN: r112693
2006-04-05darwin-crt3.c (atexit): Pass &__dso_handle rather than NULL for dso ↵Geoffrey Keating2-1/+10
parameter to atexit_common. * config/darwin-crt3.c (atexit): Pass &__dso_handle rather than NULL for dso parameter to atexit_common. From-SVN: r112692
2006-04-05Daily bump.GCC Administrator1-1/+1
From-SVN: r112689
2006-04-04i386.c (machopic_output_stub): Output \t between instructions and operands.Eric Christopher5-46/+57
2006-04-04 Eric Christopher <echristo@apple.com> * config/i386/i386.c (machopic_output_stub): Output \t between instructions and operands. 2006-04-04 Eric Christopher <echristo@apple.com> * gcc.target/i386/387-1.c: Allow regexp to match darwin stubs. * gcc.target/i386/387-5.c: Ditto. From-SVN: r112683
2006-04-04rs6000.c (num_insns_constant_wide): Change satisfies_constraint_[IL] to ↵David Edelsohn2-2/+8
explicit tests on value. * config/rs6000/rs6000.c (num_insns_constant_wide): Change satisfies_constraint_[IL] to explicit tests on value. From-SVN: r112676
2006-04-04tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, [...]): Use ↵Sebastian Pop3-3/+11
build_int_cst instead of build_int_cst_type. * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, set_nb_iterations_in_loop): Use build_int_cst instead of build_int_cst_type. * tree-data-ref.c (can_use_analyze_subscript_affine_affine): Use build_int_cst instead of convert. From-SVN: r112673
2006-04-04tm.texi (TARGET_STRUCT_VALUE_RTX): Document new value 2 for incoming.Carlos O'Donell8-9/+208
gcc/ 2006-04-04 Carlos O'Donell <carlos@codesourcery.com> * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document new value 2 for incoming. * function.c (expand_function_start): Call struct_value_rtx with incoming as 2. * config/sparc/sparc.md: Comment updated_return. * config/sparc/sparc.opt: Add -mstd-struct-return option. * config/sparc/sparc.c (sparc_struct_value_rtx): Use standard struct return if sparc_std_struct_return and incoming is 2. (print_operand): Do not adjust return if sparc_std_struct_return. gcc/testsuite/ 2006-04-04 Carlos O'Donell <carlos@codesourcery.com> * gcc.target/sparc/struct-ret-check.c: New test. From-SVN: r112672
2006-04-04builtins.c (fold_builtin_sprintf): Use fold_convert instead of convert in ↵Roger Sayle4-36/+47
the middle-end. * builtins.c (fold_builtin_sprintf): Use fold_convert instead of convert in the middle-end. * expr.c (store_expr, store_constructor, get_inner_reference, expand_expr_real_1, string_constant, try_casesi, try_tablejump): Likewise. * tree.c (build_range_type): Likewise. From-SVN: r112670
2006-04-04* doc/install.texi (Prerequisites): Mention jar.Tom Tromey2-0/+8
From-SVN: r112666
2006-04-04tree-ssa.texi (Preserving the virtual ssa form): New subsection.Daniel Berlin2-0/+25
2006-04-04 Daniel Berlin <dberlin@dberlin.org> * doc/tree-ssa.texi (Preserving the virtual ssa form): New subsection. From-SVN: r112665
2006-04-04fmt_zero_digits.f90: New test for no error when zero decimal digits ↵Jerry DeLisle2-0/+15
specified in format. 2006-04-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/fmt_zero_digits.f90: New test for no error when zero decimal digits specified in format. From-SVN: r112657
2006-04-04extend.texi (Function Attributes): Rewrite visibility attribute documentation.Geoffrey Keating3-28/+88
* doc/extend.texi (Function Attributes): Rewrite visibility attribute documentation. * doc/invoke.texi (C++ Dialect Options): Rewrite -fvisibility-inlines-hidden documentation to describe something entirely different, although in practise compatible. (Code Gen Options): Warn about system headers in -fvisibiltity= documentation. From-SVN: r112653
2006-04-04Daily bump.GCC Administrator1-1/+1
From-SVN: r112651
2006-04-03Makefile.in (unprotoize.o): Same dependencies as for protoize.o.Matthias Klose2-4/+8
2006-04-04 Matthias Klose <doko@debian.org> * Makefile.in (unprotoize.o): Same dependencies as for protoize.o. From-SVN: r112647
2006-04-03extend.texi (Other Builtins): Document that __builtin_nan is a compile-time ↵Geoffrey Keating2-2/+9
constant only when... * doc/extend.texi (Other Builtins): Document that __builtin_nan is a compile-time constant only when its argument is valid. From-SVN: r112646
2006-04-03simplify-rtx.c (simplify_unary_operation_1): When trying to remove TRUNCATE ↵Adam Nemet2-1/+8
check if all bits outside the new mode are... * simplify-rtx.c (simplify_unary_operation_1) <TRUNCATE>: When trying to remove TRUNCATE check if all bits outside the new mode are identical to the sign bit. From-SVN: r112643
2006-04-03tree-ssa-dom.c (propagate_rhs_into_lhs): Avoid useless folding and operand ↵Jeff Law2-10/+50
scanning in some common cases. * tree-ssa-dom.c (propagate_rhs_into_lhs): Avoid useless folding and operand scanning in some common cases. From-SVN: r112642
2006-04-03re PR libgcj/26858 (NullPointerException not generated for large classes...)Andrew Haley2-1/+8
2006-04-03 Andrew Haley <aph@redhat.com> PR java/26858 * expr.c (build_field_ref): Don't check the field offset if flag_syntax_only. From-SVN: r112640
2006-04-03fix changelog entryPaolo Bonzini1-1/+1
From-SVN: r112638