aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2014-07-23gcov-tool.c (gcov_list): Declare here.Nathan Sidwell2-2/+9
gcc/ * gcov-tool.c (gcov_list): Declare here. (set_gcov_list): Remove. (gcov_output_files): Set gcov_list directly. libgcc/ * libgcov-driver.c (set_gcov_list): Remove. (gcov_list): Make non-static in GCOV_TOOL. * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define. From-SVN: r212931
2014-07-23invoke.texi: -O3 enables -ftree-loop-distribute-patterns.Host Schirmeier2-0/+5
2014-07-23 Host Schirmeier <horst@schirmeier.com> * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns. From-SVN: r212928
2014-07-23[ARM] Enable arm target in ira-shrinkwrap-prep* testcases.Jiong Wang6-17/+47
[gcc/] * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other callee-saved registers are available for padding purpose and r3 is not mandatory, then prefer use those callee-saved instead of r3. [gcc/testsuite] * gcc.dg/ira-shrinkwrap-prep-1.c (target): Add arm_nothumb. * gcc.dg/ira-shrinkwrap-prep-2.c (target): Likewise. * gcc.dg/pr10474.c (target): Likewise. From-SVN: r212927
2014-07-23params.def (PARAM_MAX_COMBINE_INSNS): New.Richard Biener4-180/+229
2014-07-23 Richard Biener <rguenther@suse.de> * params.def (PARAM_MAX_COMBINE_INSNS): New. * combine.c: Include statistics.h and params.h. (combine_instructions): Guard three and four insn combines with max-combine-insns value. Record statistics for combines performed. * doc/invoke.texi (max-combine-insns): Document new param. From-SVN: r212923
2014-07-23gcc/Roman Gareev4-1/+86
* graphite-isl-ast-to-gimple.c: (translate_isl_ast_node_block): New function. (translate_isl_ast): Add calling of translate_isl_ast_node_block. gcc/testsuite/gcc.dg/graphite/ * isl-ast-gen-blocks-1.c: New testcase. * isl-ast-gen-blocks-2.c: New testcase. From-SVN: r212922
2014-07-23gcc/Roman Gareev2-0/+54
* graphite-isl-ast-to-gimple.c: (get_max_schedule_dimensions): New function. (extend_schedule): Likewise. (generate_isl_schedule): Add calling of extend_schedule and get_max_schedule_dimensions. From-SVN: r212921
2014-07-23Daily bump.GCC Administrator1-1/+1
From-SVN: r212919
2014-07-22re PR ipa/61160 (wrong code with -O3 (or ICE: verify_cgraph_node failed: ↵Martin Jambor2-1/+7
edge points to wrong declaration)) 2014-07-22 Martin Jambor <mjambor@suse.cz> PR ipa/61160 * g++.dg/ipa/pr61160-3.C (main): Return zero. From-SVN: r212915
2014-07-22Fix vext[us]64_1.c test on ARM by unsharing test body.Alan Lawrence7-38/+73
* gcc.target/arm/simd/vexts64_1.c: Remove #include, inline test body. * gcc.target/arm/simd/vextu64_1.c: Likewise. * gcc.target/aarch64/simd/ext_s64_1.c: Likewise. * gcc.target/aarch64/simd/ext_u64_1.c: Likewise. * gcc.target/aarch64/simd/ext_s64.x: Remove. * gcc.target/aarch64/simd/ext_u64.x: Remove. From-SVN: r212914
2014-07-22[AArch64][2/2] Add rtx cost function handling of clz, clrsb, rbit.Kyrylo Tkachov2-0/+20
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ. (case UNSPEC): Handle UNSPEC_RBIT. From-SVN: r212913
2014-07-22[AArch64][1/2] Remove UNSPEC_CLS and use clrsb RTL code in its' place.Kyrylo Tkachov2-2/+6
* config/aarch64/aarch64.md: Delete UNSPEC_CLS. (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS. From-SVN: r212912
2014-07-22re PR tree-optimization/61822 (gcc.dg/vect/vect-cond-reduc-1.c FAILs)Yuri Rumyantsev2-0/+6
gcc/testsuite PR tree-optimization/61822 * gcc.dg/vect/cond-reduc-1.c: Add missed dg directive. From-SVN: r212911
2014-07-22[AArch64] Implement vbsl_f64 arm_neon.h intrinsic.Kyrylo Tkachov4-0/+47
[gcc/] * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic. [testsuite/] * gcc.target/aarch64/simd/vbsl_f64_1.c: New test. From-SVN: r212910
2014-07-22fuse-caller-save-xmm.c (dg-options): Use -msse2 -mno-avx instead of -msse.Uros Bizjak2-1/+6
* gcc.target/i386/fuse-caller-save-xmm.c (dg-options): Use -msse2 -mno-avx instead of -msse. From-SVN: r212909
2014-07-22imm-devirt-2.C (dg-final): Improve einline dump string.Uros Bizjak4-5/+14
* g++.dg/ipa/imm-devirt-2.C (dg-final): Improve einline dump string. * gcc.dg/pr44024.c (dg-options): Add -O1. (dg-final): Check for the condition. * gcc.dg/vect/pr61680.c (dg-final): Cleanup vect tree dump. From-SVN: r212905
2014-07-22graphite-isl-ast-to-gimple.c: Add inclusion of gimple-ssa.h, tree-into-ssa.h.Roman Gareev5-1/+178
gcc/ * graphite-isl-ast-to-gimple.c: Add inclusion of gimple-ssa.h, tree-into-ssa.h. (ivs_params_clear): (build_iv_mapping): New function. (translate_isl_ast_node_user): Likewise. (translate_isl_ast): Add calling of translate_isl_ast_node_user. gcc/testsuite/gcc.dg/graphite/ * isl-ast-gen-single-loop-1.c: New testcase. * isl-ast-gen-single-loop-2.c: New testcase. * isl-ast-gen-single-loop-3.c: New testcase. From-SVN: r212904
2014-07-22Daily bump.GCC Administrator1-1/+1
From-SVN: r212903
2014-07-21re PR target/55701 (Inline some instances of memset for ARM)Bin Cheng14-18/+1219
PR target/55701 * config/arm/arm.md (setmem): New pattern. * config/arm/arm-protos.h (struct tune_params): New fields. (arm_gen_setmem): New prototype. * config/arm/arm.c (arm_slowmul_tune): Initialize new fields. (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto. (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto. (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto. (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto. (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. (arm_const_inline_cost): New function. (arm_block_set_max_insns): New function. (arm_block_set_non_vect_profit_p): New function. (arm_block_set_vect_profit_p): New function. (arm_block_set_unaligned_vect): New function. (arm_block_set_aligned_vect): New function. (arm_block_set_unaligned_non_vect): New function. (arm_block_set_aligned_non_vect): New function. (arm_block_set_vect, arm_gen_setmem): New functions. * gcc.target/arm/memset-inline-1.c: New test. * gcc.target/arm/memset-inline-2.c: New test. * gcc.target/arm/memset-inline-3.c: New test. * gcc.target/arm/memset-inline-4.c: New test. * gcc.target/arm/memset-inline-5.c: New test. * gcc.target/arm/memset-inline-6.c: New test. * gcc.target/arm/memset-inline-7.c: New test. * gcc.target/arm/memset-inline-8.c: New test. * gcc.target/arm/memset-inline-9.c: New test. From-SVN: r212893
2014-07-21arm.c (output_move_neon): Handle REG explicitly.Bin Cheng2-8/+19
* config/arm/arm.c (output_move_neon): Handle REG explicitly. From-SVN: r212892
2014-07-21Fix fuse-caller-save-rec.cTom de Vries2-2/+7
2014-07-21 Tom de Vries <tom@codesourcery.com> PR target/61827 * gcc.target/i386/fuse-caller-save-rec.c: Allow underscore prefix to bar symbol in scan-assembler-times call check. From-SVN: r212891
2014-07-21Fix fuse-caller-save test-casesTom de Vries4-16/+23
2014-07-21 Tom de Vries <tom@codesourcery.com> PR target/61827 * gcc.target/i386/fuse-caller-save-xmm.c: Allow LC0 without dot prefix for darwin in scan-assembler-times check. * gcc.target/i386/fuse-caller-save.c: Remove cfi-related scan-assembler-not checks. Add checks for insns. (main): Remove. * gcc.target/i386/fuse-caller-save-rec.c: Remove cfi-related scan-assembler-not checks. Copy checks from i386/fuse-caller-save.c. (main): Remove. From-SVN: r212890
2014-07-21Fix fuse-caller-save-xmm.c test-caseTom de Vries2-20/+17
2014-07-21 Tom de Vries <tom@codesourcery.com> PR target/61827 * gcc.target/i386/fuse-caller-save-xmm.c: Add -fomit-frame-pointer to dg-options. Add checks for insns with xmm registers. Remove cfi_def_cfa_offset checks. Generalize checks containing %rsp. (main): Remove. From-SVN: r212888
2014-07-21ChangeLog: Correct PR number.Uros Bizjak2-3/+3
* ChangeLog: Correct PR number. * testsuite/ChangeLog: Ditto. From-SVN: r212887
2014-07-21re PR ipa/61885 (ICE: in types_same_for_odr, at ipa-devirt.c:383 with LTO)Uros Bizjak4-47/+59
PR target/61885 * config/i386/avx512fintrin.h: Move constants for mantissa extraction out of #ifdef __OPTIMIZE__. testsuite/ChangeLog: PR target/61885 * gcc.target/i386/pr61885.c: New test. From-SVN: r212886
2014-07-21Daily bump.GCC Administrator1-1/+1
From-SVN: r212882
2014-07-20cse.c (exp_equiv_p): For GCSE...Eric Botcazou2-0/+12
* cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with different trapping status if -fnon-call-exceptions is enabled. From-SVN: r212879
2014-07-20expr.c (store_field): Handle VOIDmode for calls that return values in ↵Eric Botcazou6-1/+42
multiple locations. * expr.c (store_field): Handle VOIDmode for calls that return values in multiple locations. From-SVN: r212877
2014-07-20compiler: If a variable that is only set, give not used error.Ian Lance Taylor3-8/+22
From-SVN: r212876
2014-07-20altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI.Bill Schmidt2-2/+8
2014-07-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI. (altivec_vsldoi_<mode>): Likewise. From-SVN: r212874
2014-07-20go-test.exp (go-gc-tests): Support multiple files in one package for ↵Ian Lance Taylor2-7/+16
compiledir tests. * go.test/go-test.exp (go-gc-tests): Support multiple files in one package for compiledir tests. From-SVN: r212872
2014-07-20compiler: Don't let dot-import names match names from previous files.Ian Lance Taylor4-11/+32
The test case for this will be bug488.go in the main repository: https://codereview.appspot.com/118000043 . From-SVN: r212871
2014-07-20graphite-isl-ast-to-gimple.c: Fixes a formatting issue related to the number ↵Roman Gareev2-1/+8
of characters in the line. gcc/ * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related to the number of characters in the line. From-SVN: r212868
2014-07-20re PR c/61852 (Incorrect column number for -Wimplicit-function-declaration)Marek Polacek4-6/+27
PR c/61852 * c-decl.c (implicit_decl_warning): Add location_t parameter. Use it. (implicitly_declare): Pass location to implicit_decl_warning. * gcc.dg/pr61852.c: New test. From-SVN: r212865
2014-07-20graphite-isl-ast-to-gimple.c: Add using of build_nonstandard_integer_type ↵Roman Gareev2-4/+15
instead of int128_integer_type_node. gcc/ * graphite-isl-ast-to-gimple.c: Add using of build_nonstandard_integer_type instead of int128_integer_type_node. From-SVN: r212863
2014-07-20Daily bump.GCC Administrator1-1/+1
From-SVN: r212858
2014-07-19* toplev.c (output_stack_usage): Adjust the location of the warning.Eric Botcazou4-14/+24
From-SVN: r212850
2014-07-19* gnat_rm.texi: Clean up for makeinfo 5.2.David Wohlferd2-30/+34
From-SVN: r212845
2014-07-19* gnat_rm.texi (Machine Code Insertions): Clean up.David Wohlferd2-14/+24
From-SVN: r212844
2014-07-19sync.md (*membar_storeload_leon3): New insn.Daniel Cederman2-1/+14
* config/sparc/sync.md (*membar_storeload_leon3): New insn. (*membar_storeload): Disable for LEON3. From-SVN: r212841
2014-07-19Daily bump.GCC Administrator1-1/+1
From-SVN: r212833
2014-07-18compiler: fix test for mismatch between function results and usesIan Lance Taylor4-3/+48
Test is http://codereview.appspot.com/111360045 . From-SVN: r212830
2014-07-18re PR rtl-optimization/61461 (-fdump-rtl-all-slim causes ICE with fold-const.c)Bernd Edlinger2-2/+16
2014-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de> PR rtl-optimization/61461 * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed. From-SVN: r212829
2014-07-18re PR target/61794 (internal error: unrecognizable insn, from avx512 extract ↵Uros Bizjak4-9/+35
instruction) PR target/61794 * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm): Fix instruction constraint. (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto. testsuite/ChangeLog: PR target/61794 * gcc.target/i386/pr61794.c: New test. From-SVN: r212824
2014-07-18* doc/extend.texi (Template Instantiation): Remove stray parenthesis.Jonathan Wakely2-1/+5
From-SVN: r212821
2014-07-18Update commentsArnaud Charlet1-0/+16
From-SVN: r212819
2014-07-18[multiple changes]Arnaud Charlet7-11/+127
2014-07-18 Robert Dewar <dewar@adacore.com> * exp_ch7.adb: Minor reformatting. 2014-07-18 Claire Dross <dross@adacore.com> * sem_aux.ads (Get_Binary_Nkind): New function that returns the Node_Kind value of an entity defining a binary operator. (Get_Unary_Nkind): New function that returns the Node_Kind value of an entity defining a unary operator. 2014-07-18 Pascal Obry <obry@adacore.com> * sysdep.c: comment update. * adaint.c (__gnat_fputwc): Use wchar_t on a limited set of platforms where it is known to be supported. 2014-07-18 Thomas Quinot <quinot@adacore.com> * sem_dist.adb (Process_Remote_AST_Declaration): Need to set Fat_Type's Ekind in order to be able to use its Corresponding_Remote_Type attribute. From-SVN: r212815
2014-07-18[multiple changes]Arnaud Charlet8-378/+642
2014-07-18 Hristian Kirtchev <kirtchev@adacore.com> * einfo.adb Last_Aggregate_Assignment is now Node 30. (Last_Aggregate_Assignment): Include constants in the assertion. Update the underlying node. (Set_Last_Aggregate_Assignment): Include constants in the assertion. Update the underlying node. (Write_Field11_Name): Remove the entry for Last_Aggregate_Assignment. (Write_Field30_Name): Add an entry for Last_Aggregate_Assignment. * einfo.ads Update the node designation and usage of attribute Last_Aggregate_Assignment. * exp_aggr.adb (Expand_Array_Aggregate): Store the last assignment statement used to initialize a controlled object. (Late_Expansion): Store the last assignment statement used to initialize a controlled record or an array of controlled objects. * exp_ch3.adb (Expand_N_Object_Declaration): Default initialization of objects is now performed in a separate routine. (Default_Initialize_Object): New routine. * exp_ch7.adb (Build_BIP_Cleanup_Stmts): Add formal parameter Obj_Id. Update the comment on usage. (Find_Last_Init): Remove formal parameter Typ. Update comment on usage. Reimplement the logic. (Find_Last_Init_In_Block): New routine. (Is_Init_Call): Add formal parameter Init_Typ. Update the comment on usage. Account for the type init proc when trying to determine whether a statement is an initialization call. (Make_Adjust_Call): Rename formal parameter For_Parent to Skip_Self. Update all occurrences of For_Parent. Account for non-tagged types. Update the call to Make_Call. (Make_Call): Rename formal parameter For_Parent to Skip_Self. Update comment on usage. Update all occurrences of For_Parent. (Make_Final_Call): Rename formal parameter For_Parent to Skip_Self. Update all occurrences of For_Parent. Account for non-tagged types. Update the call to Make_Call. (Process_Object_Declaration): Most variables and constants are now local to the routine. * exp_ch7.ads (Make_Adjust_Call): Rename formal parameter For_Parent to Skip_Self. Update the comment on usage. (Make_Final_Call): Rename formal parameter For_Parent to Skip_Self. Update the comment on usage. 2014-07-18 Ed Schonberg <schonberg@adacore.com> * sem_ch9.adb (Analyze_Requeue): The entry being referenced can be a procedure that is implemented by entry, and have a formal that is a synchronized interface. It does not have to be declared as a protected operation. From-SVN: r212814
2014-07-18[multiple changes]Arnaud Charlet5-44/+47
2014-07-18 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Remove mention of obsolete attributes Max[_Interrupt]_Priority, which have never been implemented (or at the very least were removed long ago if they ever were implemented. Add documentation of Max[_Interrupt]_Priority constants in package System. * ttypes.ads: Document actual handling of package System, rather than a historical fantasy version. Remove mention of non-existent attributes Max[_Interrupt]_Priority. 2014-07-18 Pascal Obry <obry@adacore.com> * a-witeio.adb (Put): No 16-bit character output when text translation is disabled. * i-cstrea.ads: Code clean up. From-SVN: r212813
2014-07-18[multiple changes]Arnaud Charlet6-11/+27
2014-07-18 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Document that Wchar_T_Size and Word_Size are static attributes. 2014-07-18 Arnaud Charlet <charlet@adacore.com> * a-witeio.adb, initialize.c: Update comments. Minor clean ups. 2014-07-18 Pascal Obry <obry@adacore.com> * adaint.c: Do not include wchar.h on VxWorks. * mingw32.h: Remove obsolete definition. From-SVN: r212812
2014-07-18a-textio.adb, [...]: Use C_Streams Default_Text.Pascal Obry7-47/+45
2014-07-18 Pascal Obry <obry@adacore.com> * a-textio.adb, a-witeio.adb, a-ztexio.adb: Use C_Streams Default_Text. * i-cstrea.ads (Content_Encoding): Moved here, add convention C. * s-ficobl.ads (Content_Encoding): Moved to C_Streams. * s-fileio.adb (Open): Adjust to use Content_Encoding from C_Streams. From-SVN: r212811