aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2009-12-29re PR fortran/42517 (-fcheck=recursion does not work with -fopenmp)Janus Weil5-7/+52
gcc/fortran/ 2009-12-29 Janus Weil <janus@gcc.gnu.org> PR fortran/42517 * invoke.texi: Document the interference of -fcheck=recursion and -fopenmp. * trans-decl.c (gfc_generate_function_code): Disable -fcheck=recursion when used with -fopenmp. gcc/testsuite/ 2009-12-29 Janus Weil <janus@gcc.gnu.org> PR fortran/42517 * gfortran.dg/gomp/recursion1.f90: New test. From-SVN: r155506
2009-12-29test_raise_from_pure.adb: XFAIL for the ARM.Eric Botcazou3-3/+13
* gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM. * gnat.dg/warn5.adb: Expect warning on the ARM. From-SVN: r155505
2009-12-29* zh_CN.po: Update.Joseph Myers2-182/+186
From-SVN: r155503
2009-12-29re PR target/41595 (object-c++ mangled local labels are not correctly ↵Dave Korn3-2/+37
recognized.) 2009-10-06 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> PR objective-c++/41595 * config/darwin.c (darwin_label_is_anonymous_local_objc_name): New function to recognize objective c/c++ internal symbols, including mangled ones. * config/darwin.h (ASM_OUTPUT_LABELREF): Use darwin_label_is_anonymous_local_objc_name to detect both mangled and clear ObjC internal symbols. From-SVN: r155500
2009-12-28re PR c++/42447 (ICE during processing complex templates)Jason Merrill4-0/+68
PR c++/42447 * pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL for ARRAY_TYPE. From-SVN: r155499
2009-12-29Daily bump.GCC Administrator1-1/+1
From-SVN: r155497
2009-12-29re PR fortran/42353 ([OOP] Bogus Error: Name 'vtype$...' at (1) is an ↵Janus Weil4-0/+49
ambiguous reference ...) gcc/fortran/ 2009-12-28 Janus Weil <janus@gcc.gnu.org> PR fortran/42353 * symbol.c (gfc_find_derived_vtab): Make vtabs and vtypes private. gcc/testsuite/ 2009-12-28 Janus Weil <janus@gcc.gnu.org> PR fortran/42353 * gfortran.dg/class_13.f03: New test. From-SVN: r155494
2009-12-28Correct pathname.H.J. Lu1-1/+1
From-SVN: r155490
2009-12-28Mention PR middle-end/41344.H.J. Lu1-0/+1
From-SVN: r155488
2009-12-28Handle GIMPLE_COND in diagnose_sb_2.H.J. Lu4-14/+60
gcc/ 2009-12-28 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/41344 * omp-low.c (diagnose_sb_2): Handle GIMPLE_COND. gcc/testsuite/ 2009-12-28 H.J. Lu <hongjiu.lu@intel.com> * gfortran.dg/gomp/pr41344.f: New. From-SVN: r155487
2009-12-28re PR tree-optimization/42231 (Wrong generated code when using a callback ↵Martin Jambor2-0/+40
function (possible callback function inlining bug ?)) 2009-12-27 Martin Jambor <mjambor@suse.cz> PR tree-optimization/42231 * testsuite/gcc.c-torture/execute/pr42231.c: New test. From-SVN: r155485
2009-12-28Daily bump.GCC Administrator1-1/+1
From-SVN: r155484
2009-12-27* sv.po: Update.Joseph Myers2-257/+217
From-SVN: r155480
2009-12-27re PR fortran/22552 (Would like warning when an undeclared function is called)Francois-Xavier Coudert8-9/+90
2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Daniel Kraft <d@domob.eu> PR fortran/22552 * lang.opt (Wimplicit-procedure): New option. * gfortran.h (struct gfc_option_t): New member `warn_implicit_procedure' * options.c (gfc_handle_option): Handle -Wimplicit-procedure. * interface.c (gfc_procedure_use): Warn about procedure never explicitly declared if requested by the new flag. * invoke.texi: Document new flag -Wimplicit-procedure. 2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Daniel Kraft <d@domob.eu> PR fortran/22552 * gfortran.dg/warn_implicit_procedure_1.f90: New test. Co-Authored-By: Daniel Kraft <d@domob.eu> From-SVN: r155479
2009-12-27Daily bump.GCC Administrator1-1/+1
From-SVN: r155478
2009-12-26Daily bump.GCC Administrator1-1/+1
From-SVN: r155468
2009-12-25Daily bump.GCC Administrator1-1/+1
From-SVN: r155464
2009-12-24PR c++/41305, DR 384Jason Merrill7-104/+174
PR c++/41305, DR 384 * name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only and arg_assoc_bases. (friend_of_associated_class_p): Remove. (arg_assoc_namespace): Don't call it. (arg_assoc_template_arg): Use arg_assoc_class_only for member template context. (arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly. * name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly. From-SVN: r155461
2009-12-24re PR target/42457 (AVR fails to build with other than C family languages)Andy Hutchinson6-54/+111
2009-12-24 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> PR target/42457 * config/avr/avr.c (avr_extra_arch_macro): Remove static. (avr_cpu_cpp_builtins): Remove. * config/avr/avr.h (avr_extra_arch_macro): Add prototype. * config/avr/avr-c.c: New File. (avr_cpu_cpp_builtins) : Add. * config/avr/t-avr: Add make information for avr-c. * config.gcc (avr-*-*): Include avr-c.o as c and cpp object. From-SVN: r155460
2009-12-24PR target/35013, 27192Andy Hutchinson4-45/+153
2009-12-24 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> PR target/35013, 27192 * config/avr/avr.c (print_operand_address): Print correct program memory address. Add warning for large device offset addresses. (avr_assemble_integer): Ditto. (print_operand): Add warnings for incorrect addressing. (out_movqi_r_mr): Tag assembler with new address codes. (out_movhi_r_mr): Ditto. (out_movsi_r_mr): Ditto. (out_movqi_mr_r): Ditto. (out_movhi_mr_r): Ditto. (out_movsi_mr_r): Ditto. * config/avr/predicates.md (text_segment_operand): New predicate. * config/avr/avr.md (jump): Tag assembler with new address codes. (call_insn): Ditto. (call_value_insn): Ditto. (*tablejump_lib): Ditto. (*cbi): Ditto. (*sbi): Ditto. (indirect_jump): New define_expand. (jcindirect_jump): New pattern for constant expression jump. (njcindirect_jump): Renamed old indirect_jump. From-SVN: r155459
2009-12-24store-motion.c (build_store_vectors): Clear regs_set_in_block at the start ↵Steven Bosscher2-0/+7
of a loop over basic blocks. * store-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a loop over basic blocks. From-SVN: r155454
2009-12-24re PR target/40887 (GCC generates suboptimal code for indirect function ↵Julian Brown5-13/+41
calls on ARM) Fix PR target/40887 2009-12-24 Julian Brown <julian@codesourcery.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/40887 * config/arm/arm.c (output_call_mem): Remove armv5 support. * config/arm/arm.md (*call_mem): Disable for armv5. Add note. (*call_value_mem): Likewise. PR target/40887 * gcc.target/gcc.arm/pr40887.c: New test. Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> From-SVN: r155453
2009-12-24Daily bump.GCC Administrator1-1/+1
From-SVN: r155447
2009-12-23Fixed ChangeLog entry.Cary Coutant1-2/+3
From-SVN: r155434
2009-12-23re PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: ↵Jakub Jelinek4-4/+42
in simplify_subreg, at simplify-rtx.c:4954) PR rtl-optimization/42475 * combine.c (make_compound_operation) <case SUBREG>: Use mode of SUBREG_REG (x) instead of tem's mode. * gcc.dg/pr42475.c: New test. From-SVN: r155430
2009-12-23re PR debug/42454 (debug_ranges table contains empty range for unused .text ↵Jakub Jelinek4-19/+47
section with -ffunction-sections) PR debug/42454 * dwarf2out.c (add_ranges_by_labels_to_AT_range_list): New function. (dwarf2out_finish): Call add_ranges_by_labels_to_AT_range_list. * gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges. Co-Authored-By: Cary Coutant <ccoutant@google.com> From-SVN: r155429
2009-12-23re PR target/42093 (Compressed switch tables for Thumb2 have signed offsets)Ramana Radhakrishnan4-2/+66
Fix PR target/42093 2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/42093 * config/arm/arm.h (CASE_VECTOR_PC_RELATIVE): Fix macro usage to TARGET_THUMB1. (CASE_VECTOR_SHORTEN_MODE): Allow signed offsets only for TARGET_THUMB1. 2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/42093 * gcc.target/arm/pr42093.c: New test. From-SVN: r155428
2009-12-23Pass floating point constant moves to integer registersRamana Radhakrishnan4-1/+19
as mov immediates for Thumb1. 2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/40670 * config/arm/arm.md: Split for Thumb1 as well. * gcc.target/arm/pr40670.c: New test. From-SVN: r155427
2009-12-2320000715-1.c: Remove target selector.Uros Bizjak11-10/+23
* gcc.target/alpha/20000715-1.c: Remove target selector. * gcc.target/alpha/20011018-1.c: Ditto. * gcc.target/alpha/980217-1.c: Ditto. * gcc.target/alpha/asm-1.c: Ditto. * gcc.target/alpha/base-1.c: Ditto. * gcc.target/alpha/base-2.c: Ditto. * gcc.target/alpha/cix-1.c: Ditto. * gcc.target/alpha/cix-2.c: Ditto. * gcc.target/alpha/max-1.c: Ditto. * gcc.target/alpha/max-2.c: Ditto. From-SVN: r155426
2009-12-23Add missing testcases.Sebastian Pop16-0/+697
2009-12-23 Sebastian Pop <sebpop@gmail.com> * g++.dg/graphite/id-1.C: New. * g++.dg/graphite/pr41305.C: New. * gcc.dg/graphite/id-16.c: New. * gcc.dg/graphite/interchange-10.c: New. * gcc.dg/graphite/interchange-11.c: New. * gcc.dg/graphite/interchange-mvt.c: New. * gcc.dg/graphite/pr40281.c: New. * gcc.dg/graphite/run-id-2.c: New. * gcc.dg/graphite/scop-dsyr2k.c: New. * gcc.dg/graphite/scop-dsyrk.c: New. * gcc.dg/graphite/scop-mvt.c: New. * gcc.dg/graphite/scop-sor.c: New. * gfortran.dg/graphite/id-18.f90: New. * gfortran.dg/graphite/interchange-3.f90: New. * gfortran.dg/graphite/pr42050.f90: New. * testsuite/libgomp.graphite/pr4118.c: New. From-SVN: r155424
2009-12-23re PR middle-end/42180 (compiling induct.f90 with -ffast-math -O2 ↵Sebastian Pop3-1/+18
-fgraphite-identity ICEs gfortran) Fix PR42180. 2009-12-18 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42180 * graphite-sese-to-poly.c (follow_ssa_with_commutative_ops): Handle GIMPLE_CALL. * testsuite/gfortran.dg/graphite/pr42180.f90: Add compile flags. From-SVN: r155423
2009-12-23re PR middle-end/42180 (compiling induct.f90 with -ffast-math -O2 ↵Sebastian Pop3-0/+29
-fgraphite-identity ICEs gfortran) Fix PR42180. 2009-12-18 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42180 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split blocks that contain only one statement. From-SVN: r155422
2009-12-23re PR middle-end/42393 ([graphite] internal compiler error: in ↵Sebastian Pop2-0/+35
check_loop_closed_ssa_use) Fix PR42393. 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42393 * testsuite/gfortran.dg/graphite/pr42393.f90: New. From-SVN: r155421
2009-12-23re PR debug/42186 ([graphite] internal compiler error: verify_ssa failed)Sebastian Pop2-0/+19
Fix PR42186. 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42186 * testsuite/gfortran.dg/graphite/pr42186.f90: New. From-SVN: r155420
2009-12-23re PR tree-optimization/42205 ([graphite] internal compiler error: ↵Sebastian Pop4-2/+51
verify_ssa failed with -ffast-math -floop-interchange) Fix PR42205. 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42205 * graphite-sese-to-poly.c (translate_scalar_reduction_to_array_for_stmt): Insert the reduction copy in the same block as the phi node. (follow_ssa_with_commutative_ops): Handle GIMPLE_NOPs. * testsuite/gcc.dg/graphite/pr42205-1.c: New. * testsuite/gcc.dg/graphite/pr42205-2.c: New. From-SVN: r155419
2009-12-23Fix PR42334: correct the update of the LST on loop interchange and distribution.Sebastian Pop10-54/+174
2009-12-15 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42178 PR middle-end/42334 * graphite-interchange.c (lst_perfect_nestify): Reset to NULL the LSTs that are empty. (lst_do_interchange_1): Renamed lst_interchange_select_inner. (lst_try_interchange): Reimplemented. (lst_interchange_select_inner): Same. (lst_do_interchange): Renamed lst_interchange_select_outer. Reimplemented. (scop_do_interchange): Update use of lst_interchange_select_outer. * graphite-interchange.c (lst_try_interchange): Do not increment the the OUTER index when there is no AFTER kernel. Do not increment the OUTER index for after processing the AFTER kernel. (lst_interchange_select_inner): Call lst_try_interchange only on loops. (lst_interchange_select_outer): Do not pass in a pointer to the OUTER index. Do not pass to lst_interchange_select_inner the OUTER index. (scop_do_interchange): Update use of lst_interchange_select_outer. * graphite-interchange.c (lst_try_interchange): Do not modify OUTER index. Call lst_interchange_select_inner only once. (lst_interchange_select_inner): Update use of lst_try_interchange. (lst_interchange_select_outer): Update. * testsuite/g++.dg/graphite/pr42130.C: Add -fgraphite-identity. * testsuite/gcc.dg/graphite/block-0.c: Un-XFAILed. * testsuite/gcc.dg/graphite/pr42211.c: New. * testsuite/gfortran.dg/graphite/pr42334.f90: New. * testsuite/gfortran.dg/graphite/graphite.exp (DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all. * testsuite/gfortran.dg/graphite/interchange-1.f: Add comment. Clean the graphite dump file. * testsuite/gfortran.dg/graphite/interchange-2.f: Same. * testsuite/gfortran.dg/graphite/pr42334-1.f: New. From-SVN: r155418
2009-12-23re PR middle-end/42181 ([graphite] -fgraphite-identity miscompiles air.f90)Sebastian Pop3-6/+51
Fix PR42181. 2009-12-14 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42181 * graphite-scop-detection.c (graphite_can_represent_scev): Handle more carefully PLUS_EXPR, MINUS_EXPR, and MULT_EXPR. * testsuite/gfortran.dg/graphite/pr42181.f90: New. From-SVN: r155417
2009-12-23re PR c++/42260 (ICE looking up template conversion operator)Dodji Seketeli7-8/+46
Fix PR c++/42260 gcc/cp/ChangeLog: PR c++/42260 * cp-tree.h (lookup_conversions): Add new bool parameter to declaration. * search.c (lookup_conversion): Use new bool parameter in definition. * call.c (add_builtin_candidates): Don't lookup template conversion (convert_class_to_reference, build_user_type_conversion_1, build_op_call): Adjust. * cvt.c (build_expr_type_conversion): Likewise gcc/testsuite/ChangeLog: PR c++/42260 * conversion/cast2.C: New test. From-SVN: r155415
2009-12-23Daily bump.GCC Administrator1-1/+1
From-SVN: r155414
2009-12-22re PR c++/42466 (Multiple instantiations of template constructor fail)Jason Merrill4-1/+28
PR c++/42466 * pt.c (reduce_template_parm_level): Check the type before returning cached TEMPLATE_PARM_INDEX. From-SVN: r155411
2009-12-22re PR c++/42331 (ICE with invalid array initializer)Jason Merrill4-4/+28
PR c++/42331 * typeck.c (cp_build_modify_expr): Fix thinko. From-SVN: r155410
2009-12-22re PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause ↵Iain Sandoe2-0/+9
inconsistent symbol resolution.) 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> gcc/ PR target/41605 * lib/g++.exp: Provide -B options to allow for link spec %s substitutions for static libraries. libstdc++-v3/ PR target/41605 * testsuite/libstdc++-abi/abi.exp: Provide -B options to allow for link spec %s substitutions for static libraries. * testsuite/lib/libstdc++.exp: Ditto libgomp/ PR target/41605 * testsuite/lib/libgomp.exp: Provide -B options to allow for link spec %s substitutions for static libraries. From-SVN: r155408
2009-12-22re PR debug/42454 (debug_ranges table contains empty range for unused .text ↵Cary Coutant2-4/+11
section with -ffunction-sections) PR debug/42454 * dwarf2out.c (dwarf2out_finish): Don't output range for .text section unless .text section was used. Likewise for cold. From-SVN: r155402
2009-12-22plugins.texi: Rename pre-genericize event.Brian Hackett5-3/+12
2009-12-22 Brian Hackett <bhackett1024@gmail.com> * doc/plugins.texi: Rename pre-genericize event. 2009-12-22 Brian Hackett <bhackett1024@gmail.com> * g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event. * g++.dg/plugin/dumb_plugin.c: Same. From-SVN: r155401
2009-12-22re PR driver/42463 (A typo with "estimated" word in gcc-4.5-b20091203.pot file)Paolo Carlini3-2/+10
2009-12-22 Paolo Carlini <paolo.carlini@oracle.com> PR driver/42463 * params.def ([PARAM_PREDICTABLE_BRANCH_OUTCOME]): Fix typo in help string. * doc/invoke.texi: Fix typo. From-SVN: r155400
2009-12-22mangle.c (write_member_name): Move abi-version=1 code back to...Jason Merrill4-14/+23
* mangle.c (write_member_name): Move abi-version=1 code back to... (write_expression): ...here. From-SVN: r155399
2009-12-22tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.Paul Brook4-3/+12
2009-12-22 Paul Brook <paul@codesourcery.com> gcc/ * doc/tm.texi (ARG_POINTER_CFA_OFFSET): Document new default. * defaults.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size. * config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size. From-SVN: r155396
2009-12-22Daily bump.GCC Administrator1-1/+1
From-SVN: r155386
2009-12-22pr36901.h: AVR must support address zero.Andy Hutchinson2-0/+8
2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> * gcc.dg/pr36901.h: AVR must support address zero. From-SVN: r155383
2009-12-22re PR testsuite/36903 (Generic vectorizarion test failures)Andy Hutchinson11-18/+36
2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> PR testsuite/36903 * gcc.dg/tree-ssa/gen-vect-11.c : Disable for avr target. It will not vectorize. * gcc.dg/tree-ssa/gen-vect-11a.c: Ditto. * gcc.dg/tree-ssa/gen-vect-2.c: Ditto. * gcc.dg/tree-ssa/gen-vect-25.c: Ditto. * gcc.dg/tree-ssa/gen-vect-26.c: Ditto. * gcc.dg/tree-ssa/gen-vect-28.c: Ditto. * gcc.dg/tree-ssa/gen-vect-32.c: Ditto. * gcc.dg/tree-ssa/pr23455.c: Test for 4 eliminations on avr target. * gcc.dg/tree-ssa/ssa-fre-26.c: XFAIL test for avr. * gcc.dg/tree-ssa/vrp47.c: Skip test for avr target due to low branch cost. From-SVN: r155382