aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-08-15re PR tree-optimization/23386 (bitmap.c is being miscompiled (VRP))Sebastian Pop3-6/+53
PR 23386 * tree-data-ref.c (estimate_niter_from_size_of_data): When step is negative compute the estimation from init downwards to zero. * testsuite/gcc.dg/tree-ssa/pr23386.c: New. From-SVN: r103106
2005-08-14finally-1.m: Check that the catch and finally are being called.Andrew Pinski2-23/+42
2005-08-14 Andrew Pinski <pinskia@physics.uc.edu> * execute/exceptions/finally-1.m: Check that the catch and finally are being called. Also add a "return 0;" at the end of main. From-SVN: r103098
2005-08-15Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103092.2
2005-08-14Committed forgotten changelog:Andrew Pinski1-0/+12
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu> * objc/execute/exceptions/exceptions.exp: New exp for the exceptions testsuite. * objc/execute/exceptions/trivial.m: New test. * objc.dg/try-catch-11.m: Move to ... * objc/execute/exceptions/foward-1.m: Here. * objc.dg/try-catch-2.m: Move to ... * objc/execute/exceptions/catchall-1.m: Here. * objc.dg/try-catch-8.m: Move to ... * objc/execute/exceptions/local-variables-1.m: Here. From-SVN: r103090
2005-08-14fold-const (fold_binary): Call fold_build2 instead of fold (build.James A. Morrison2-4/+7
2005-08-14 James A. Morrison <phython@gcc.gnu.org> * fold-const (fold_binary): Call fold_build2 instead of fold (build. From-SVN: r103089
2005-08-14s390.c (s390_const_ok_for_constraint_p): Add 'P' constraint.Ulrich Weigand3-4/+30
* config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P' constraint. (legitimate_reload_constant_p): Fix handling of lliXX operands. Accept double-word constants that can be split. * config/s390/s390.md ("movti"): Use 'P' constraint. ("*movdi_31", "*movdf_31"): Likewise. From-SVN: r103088
2005-08-14parse.c (match): Enclosed macro in do...while(0) and braces.Tobias Schlüter2-9/+16
2005-08-14 Asher Langton <langton2@llnl.gov> * parse.c (match): Enclosed macro in do...while(0) and braces. Also fix formatting of a few previous ChangeLog entries From-SVN: r103086
2005-08-14re PR fortran/21432 (gfortran does not support printing of namelists)Paul Thomas2-0/+14
2005-08-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/21432. * gfortran.texi: Document PRINT namelist. From-SVN: r103085
2005-08-14re PR tree-optimization/22615 (ICE in first_vi_for_offset, at ↵Daniel Berlin3-4/+53
tree-ssa-structalias.c:2858) 2005-08-14 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/22615 * tree-ssa-structalias.c (solution_set_add): Handle first_vi_for_offset returning NULL. (do_da_constraint): Ditto. (do_sd_constraint): Ditto. (do_ds_constraint): Ditto (find_func_aliases): Ditto. (build_constraint_graph): RHS is allowed be ANYTHING. (first_vi_for_offset): Return NULL if we couldn't find anything at the offset. From-SVN: r103083
2005-08-14s390.c (s390_canonicalize_comparison): Prefer register over memory as first ↵Ulrich Weigand2-0/+12
operand. * config/s390/s390.c (s390_canonicalize_comparison): Prefer register over memory as first operand. From-SVN: r103082
2005-08-14re PR fortran/21432 (gfortran does not support printing of namelists)Paul Thomas5-0/+63
2005-08-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/21432. * io.c (match_io): Add code to implement PRINT namelist. 2005-08-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/21432. * gfortran.dg/namelist_print_1.f: New test of functionality of PRINT namelist. * gfortran.dg/namelist_print_2.f: New test to check that PRINT namelist generates error with -std=f95. From-SVN: r103079
2005-08-14re PR target/23360 (-ffast-math startup broken on i686 (maybe Athlon-xp))H.J. Lu2-4/+48
2005-08-14 H.J. Lu <hongjiu.lu@intel.com> PR target/23360 * config/i386/crtfastmath.c (set_fast_math): Check if DAZ is available for setting it. From-SVN: r103078
2005-08-14re PR tree-optimization/23320 (ICE in in base_addr_differ_p, at ↵Ira Rosen2-13/+32
tree-data-ref.c:430) PR tree-optimization/23320 * tree-data-ref.c (base_addr_differ_p): Add comment. Check data-refs' types instead of base object nullness. Add check for pointer type data-refs before first location comparison. Remove assert. From-SVN: r103076
2005-08-14re PR tree-optimization/23119 (gcc.dg/vect/vect-105.c scan-tree-dump-times ↵Ira Rosen2-1/+6
vectorized 1 loops 1 fails) PR tree-optimization/23119 * gcc.dg/vect/vect-105.c: Add xfail for no_align targets. From-SVN: r103075
2005-08-14trans-stmt.c (gfc_trans_arithmetic_if): Optimized in case of equal labels.Canqun Yang2-10/+36
* trans-stmt.c (gfc_trans_arithmetic_if): Optimized in case of equal labels. From-SVN: r103074
2005-08-13re PR libobjc/22492 ([PATCH] Abort after @finally: libobjc passing exception ↵Marcin Koziej2-0/+51
value instead of exception.) libobjc/ChangeLog: 2005-08-13 Marcin Koziej <creep@desk.pl> Andrew Pinski <pinskia@physics.uc.edu> PR libobjc/22492 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally. testsuite/ChangeLog: 2005-08-13 Marcin Koziej <creep@desk.pl> Andrew Pinski <pinskia@physics.uc.edu> PR libobjc/22492 * execute/exceptions/finally-1.m: New test. Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu> From-SVN: r103073
2005-08-13nested-func-1.m: Move to ...Andrew Pinski2-2/+5
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu> * objc.dg/nested-func-1.m: Move to ... * objc/execute/nested-func-1.m: Here. From-SVN: r103072
2005-08-13exceptions.exp: New exp for the exceptions testsuite.Andrew Pinski5-10/+50
* objc/execute/exceptions/exceptions.exp: New exp for the exceptions testsuite. * objc/execute/exceptions/trivial.m: New test. * objc.dg/try-catch-11.m: Move to ... * objc/execute/exceptions/foward-1.m: Here. * objc.dg/try-catch-2.m: Move to ... * objc/execute/exceptions/catchall-1.m: Here. * objc.dg/try-catch-8.m: Move to ... * objc/execute/exceptions/local-variables-1.m: Here. From-SVN: r103071
2005-08-14Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103068.2
2005-08-13* doc/md.texi (Machine Constraints): Fix misplaced @end table.Andreas Schwab2-1/+5
From-SVN: r103065
2005-08-13objc.exp (objc_target_compile): Check for -fgnu-runtime in ${options} ↵Andrew Pinski3-4/+10
instead of [target_info name]. 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu> * lib/objc.exp (objc_target_compile): Check for -fgnu-runtime in ${options} instead of [target_info name]. * lib/obj-c++.exp (objc_target_compile): Likewise. From-SVN: r103063
2005-08-13stubify-2.m: Correct the name of the rtl dump file.Andrew Pinski2-1/+5
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu> * objc.dg/stubify-2.m: Correct the name of the rtl dump file. From-SVN: r103062
2005-08-13part of PR testsuite/23348Andrew Pinski3-12/+48
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu> part of PR testsuite/23348 * lib/objc-torture.exp: Add -fgnu-runtime and/or -fnext-runtime to each of the torture options. * objc/compile/trivial.m: New test. From-SVN: r103061
2005-08-13Document compatibility with earlier ProPolice implementation.James E Wilson2-1/+6
* c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect macros. From-SVN: r103058
2005-08-13Add missing docs for feature added by Richard Henderson.James E Wilson3-4/+43
* doc/cpp.texi (__SSP__, __SSP_ALL__): Document. * doc/invoke.texi (-Wstack-protector, -fstack-protector, -fstack-protector-all, --param ssp-buffer-size): Document. (-Wvariadic-macros): Alphabetize. (-fsched-stalled-insns-dep): Add missing 'f'. From-SVN: r103057
2005-08-13rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed or indirect address operand.David Edelsohn3-1/+16
* config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed or indirect address operand. (EXTRA_ADDRESS_CONSTRAINT): New. * config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a". From-SVN: r103056
2005-08-13re PR tree-optimization/22236 (wrong code for casts and scev)Sebastian Pop14-60/+323
PR tree-optimization/22236 * tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print successors and predecessors. * tree-chrec.c (chrec_convert): Before converting, check that sequences don't wrap. * tree-data-ref.c (compute_estimated_nb_iterations): Moved ... (analyze_array): Extern. (find_data_references_in_loop): Remove call to compute_estimated_nb_iterations. * tree-data-ref.h (analyze_array): Declared. * tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand, single_ssa_def_operand, zero_ssa_operands): Fix documentation. * tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter. * tree-scalar-evolution.c (instantiate_parameters_1): Factor entry condition. * tree-ssa-loop-ivcanon.c: Fix documentation. * tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note. * tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here. (infer_loop_bounds_from_undefined): New. (estimate_numbers_of_iterations_loop): Use infer_loop_bounds_from_undefined. (used_in_pointer_arithmetic_p): New. (scev_probably_wraps_p): Pass an extra parameter. Call used_in_pointer_arithmetic_p. Check that AT_STMT is not null. (convert_step): Fix documentation. * tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters. Use initial_condition_in_loop_num and evolution_part_in_loop_num instead of CHREC_LEFT and CHREC_RIGHT. Adjust the call to scev_probably_wraps_p. From-SVN: r103055
2005-08-13s390.c (s390_split_branches): Revert 2005-08-12 change.Ulrich Weigand2-18/+26
* config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change. (s390_register_info): Ignore clobbered_regs information for fixed registers, and only fixed registers. (s390_init_frame_layout): Remove redundant call. From-SVN: r103054
2005-08-13Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103048.2
2005-08-12eoshift.f90: Correct format.Thomas Koenig2-1/+5
2005-08-12 Thomas Koenig <Thomas.Koenig@online.de> * gfortran.dg/eoshift.f90: Correct format. From-SVN: r103045
2005-08-12invoke.texi (C++ Dialect Options): Add dynamic_cast to description of ↵Gerald Pfeifer2-3/+8
-Wold-style-casts. * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to description of -Wold-style-casts. From-SVN: r103044
2005-08-12005-08-12 Thomas Koenig <Thomas.Koenig@online.de>Thomas Koenig2-1/+6
* gfortran.fortran-torture/execute/character_passing.f90: Fix comment typo. From-SVN: r103042
2005-08-12linux.h (TARGET_THREAD_SSP_OFFSET): Define.Andreas Krebbel5-7/+100
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> Jakub Jelinek <jakub@redhat.com> * config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define. * config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added. * config/s390/s390.c (print_operand): New output modifier 'G' added. (get_thread_pointer): Renamed to s390_get_thread_pointer. * config/s390/s390.md (stack_protect_set, stack_protect_test): If TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to (MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))). (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. ("stack_protect_set", "stack_protect_test"): New expanders. ("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi", "stack_protect_testdi"): New insn definitions. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r103034
2005-08-12s390.md ("*movdf_31"): Changed constraint from P to K.Andreas Krebbel2-1/+5
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("*movdf_31"): Changed constraint from P to K. From-SVN: r103033
2005-08-12lib1funcs.asm: Error if __ARM_ARCH__ not set.Paul Brook2-0/+8
2005-08-12 Paul Brook <paul@codesourcery.com> * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set. [[Split portion of a mixed commit.]] From-SVN: r103029.2
2005-08-12predicates.md (setmem_operand): New predicate.Andreas Krebbel4-3/+70
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/predicates.md (setmem_operand): New predicate. (shift_count_operand): Accept ANDs with special constants as operand. * config/s390/s390.c (print_shift_count_operand): Skip ANDs with special constants. * config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced shift_count_operand with setmem_operand. From-SVN: r103028
2005-08-12s390.c (s390_extract_part, [...]): Type cast added.Andreas Krebbel3-16/+33
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_extract_part, s390_single_part): Type cast added. (s390_const_ok_for_constraint_p): Added SImode to the N constraint. (s390_output_mi_thunk): Don't use lg on 31 bit. * config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy. ("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH. From-SVN: r103027
2005-08-12s390.c (CONST_OK_FOR_J, [...]): New macros.Andreas Krebbel2-19/+33
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros. (s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p, s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue, s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P with one of the new macros. From-SVN: r103026
2005-08-12s390.c (s390_split_branches, [...]): Don't set save_return_addr_p.Andreas Krebbel2-14/+17
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_split_branches, s390_init_frame_layout): Don't set save_return_addr_p. (s390_register_info): Make clobbered_regs not depending on save_return_addr_p. From-SVN: r103025
2005-08-12re PR c++/8271 (Templates and pointers to const member functions)Giovanni Bajo2-0/+53
PR c++/8271 * g++.dg/template/unify10.C: New. From-SVN: r103022
2005-08-12re PR c++/21799 (Spurious ambiguity with pointers to members)Nathan Sidwell2-29/+32
cp: PR c++/21799 PR c++/8271 * pt.c (unify) <METHOD_TYPE>: Check this-pointer cv-qualifiers explicitly. PR c++/21799 Revert my 2005-07-08 patch * pt.c (type_unification_real): Remove is_method_argument and assoicated checks. (fn_type_unification, unify): Adjust type_unification_real calls. From-SVN: r103021
2005-08-12gcc.c (LINK_SSP_SPEC): Remove space before a trailing }.Kaz Kojima2-2/+7
* gcc.c (LINK_SSP_SPEC): Remove space before a trailing }. (LINK_COMMAND_SPEC): Add space after %(link_ssp). From-SVN: r103020
2005-08-12pr22514.C: Move to...James A. Morrison2-0/+5
2005-08-11 James A. Morrison <phython@gcc.gnu.org> * g++.dg/parse/pr22514.C: Move to... * g++.dg/debug/pr22514.C: here. From-SVN: r103016
2005-08-11Fix debian bug 307503, error compiling libatomic-ops package.James E Wilson2-0/+11
* config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New. From-SVN: r103015
2005-08-12Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r103012.2
2005-08-11re PR c++/23266 (ICE on pure specifier for static method)Volker Reichelt4-5/+45
PR c++/23266 * decl2.c (grokfield): Check that method is not static before marking it as pure. PR c++/23266 * g++.dg/inherit/pure1.C: New test. * ChangeLog: Fix typos. From-SVN: r103006
2005-08-11dwarf2out.c (add_location_or_const_value_attribute): Prefer locations ↵Jakub Jelinek2-11/+18
gathered by var-tracking in single entry loc_list over... * dwarf2out.c (add_location_or_const_value_attribute): Prefer locations gathered by var-tracking in single entry loc_list over loc_descriptor_from_tree. From-SVN: r103004
2005-08-11dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument, pass it ↵Jakub Jelinek2-31/+44
down to loc_descriptor. * dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument, pass it down to loc_descriptor. (loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor. (containing_function_has_frame_base): Move earlier in the file. (loc_descriptor_from_tree_1): Use containing_function_has_frame_base instead of always assuming fbreg can't be used. From-SVN: r103003
2005-08-11altivec.md: Change constraint "m" to "Z".David Edelsohn4-19/+55
* config/rs6000/altivec.md: Change constraint "m" to "Z". * config/rs6000/predicates.md (indexed_or_indirect_operand): Accept address wrapped in AND for Altivec. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Strip AND wrapping offset address for Altivec. From-SVN: r103001
2005-08-11re PR middle-end/23312 (ACATS ICE (32) gimplify_one_sizepos, at gimplify.c:4659)Richard Henderson2-1/+9
PR middle-end/23312 * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE before using TYPE_IS_SIZETYPE. From-SVN: r102997