summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 2014-07-24 Richard Biener <rguenther@suse.de>rguenth2014-07-244-4/+16
| | | | | | | | | | | | PR ipa/61823 * tree-ssa-structalias.c (create_variable_info_for_1): Use varpool_get_constructor. (create_variable_info_for): Likewise. * gcc.dg/torture/pr43879_1.c: Add -fno-inline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212980 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-supports.exp (check_effective_target_arm_nothumb):schwab2014-07-242-4/+9
| | | | | | | Also check for __arm__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212978 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Optimize epilogue in the presence of an outgoing args area.mshawcroft2014-07-244-17/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212976 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rx/rx.md (stack_push): Adjust RTL to account for the factnickc2014-07-244-3/+8
| | | | | | | | that operations are taking place in parallel. * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212973 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/57653mpolacek2014-07-247-0/+31
| | | | | | | | | | | | * c-opts.c (c_finish_options): If -imacros is in effect, return. * c-c++-common/pr57653.c: New test. * c-c++-common/pr57653.h: New file. * c-c++-common/pr57653-2.c: New test. * c-c++-common/pr57653-2.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212972 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing break statement.tschwinge2014-07-242-0/+5
| | | | | | | gcc/ * omp-low.c (extract_omp_for_data): Add missing break statement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212971 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-24 Richard Biener <rguenther@suse.de>rguenth2014-07-246-14/+30
| | | | | | | | | | | | | | * tree-inline.h (estimate_move_cost): Add speed_p parameter. * tree-inline.c (estimate_move_cost): Add speed_p parameter and adjust MOVE_RATIO query accordingly. (estimate_num_insns): Adjust callers. * ipa-prop.c (ipa_populate_param_decls): Likewise. * ipa-cp.c (gather_context_independent_values, estimate_local_effects): Likewise. * ipa-split.c (consider_split): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212970 138bc75d-0d04-0410-961f-82ee72b054a4
* remove useless unused attributes in i386 codetbsaunde2014-07-246-85/+64
| | | | | | | | | | | | | gcc/ * config/i386/driver-i386.c: Remove names of unused arguments and unnecessary unused attributes. * config/i386/host-mingw32.c: Likewise. * config/i386/i386.c: Likewise. * config/i386/winnt-stubs.c: Likewise. * config/i386/winnt.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212968 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-07-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212967 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Prologue and epilogue test cases.mshawcroft2014-07-2317-0/+338
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212959 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Simplify epilogue expansion using new helper functions.mshawcroft2014-07-233-48/+74
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212958 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Simplify prologue expand using new helper functions.mshawcroft2014-07-233-35/+66
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212957 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Split save restore path.mshawcroft2014-07-232-35/+75
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212956 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Unify vector and core register save/restore code.mshawcroft2014-07-232-76/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212955 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Use helper functions to handle multiple modes.mshawcroft2014-07-232-4/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212954 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Refactor code out into aarch64_next_callee_savemshawcroft2014-07-232-99/+95
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212952 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Hoist calculation of register rtx.mshawcroft2014-07-232-36/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212951 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Remove useless variable 'increment'mshawcroft2014-07-232-5/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212950 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Use register offset in cfun->machine->frame.reg_offsetmshawcroft2014-07-232-27/+29
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212949 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert r212893:amker2014-07-2312-1197/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. PR target/55701 * 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. Revert r212892: * config/arm/arm.c (output_move_neon): Handle REG explicitly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212948 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Remove useless parameter base_rtx.mshawcroft2014-07-232-7/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212947 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Remove useless local variable.mshawcroft2014-07-232-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212946 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Consistent parameter types in prologue/epilogue generation.mshawcroft2014-07-232-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212945 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] GNU-Stylize some un-formatted code.mshawcroft2014-07-232-23/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212943 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>joel2014-07-232-2/+131
| | | | | | | | | | | | | * config/arm/t-rtems-eabi: Add mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard, mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard, mbig-endian/mthumb/march=armv7-r, and mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard multilibs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212936 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>joel2014-07-234-1/+180
| | | | | | | | | | | | | Chris Johns <chrisj@rtems.org> Joel Sherrill <joel.sherrill@oarcorp.com> * config.gcc: Add nios2-*-rtems*. * config/nios2/rtems.h: New file. * gcc/config/nios2/t-rtems: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212935 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-c++-common/ubsan/bounds-2.c (fn4): Adjust to check the array sizempolacek2014-07-232-2/+9
| | | | | | | in the structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212933 138bc75d-0d04-0410-961f-82ee72b054a4
* rs6000: fix for PR61396 (wide-int fallout)segher2014-07-232-2/+9
| | | | | | | | CONSTANT_P is true for more than just all kinds of constant number. This patch undoes that part of the wide-int patches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212932 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/nathan2014-07-232-2/+9
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212931 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-23 Host Schirmeier <horst@schirmeier.com>rguenth2014-07-232-0/+5
| | | | | | | * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212928 138bc75d-0d04-0410-961f-82ee72b054a4
* [ARM] Enable arm target in ira-shrinkwrap-prep* testcases.ktkachov2014-07-236-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212927 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-23 Richard Biener <rguenther@suse.de>rguenth2014-07-234-180/+229
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212923 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/romangareev2014-07-234-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212922 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/romangareev2014-07-232-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212921 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-07-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212919 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-22 Martin Jambor <mjambor@suse.cz>jamborm2014-07-222-1/+7
| | | | | | | | | PR ipa/61160 * g++.dg/ipa/pr61160-3.C (main): Return zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212915 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix vext[us]64_1.c test on ARM by unsharing test body.alalaw012014-07-227-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212914 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64][2/2] Add rtx cost function handling of clz, clrsb, rbit.ktkachov2014-07-222-0/+20
| | | | | | | | * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ. (case UNSPEC): Handle UNSPEC_RBIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212913 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64][1/2] Remove UNSPEC_CLS and use clrsb RTL code in its' place.ktkachov2014-07-222-2/+6
| | | | | | | | * config/aarch64/aarch64.md: Delete UNSPEC_CLS. (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212912 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuitekyukhin2014-07-222-0/+6
| | | | | | | | | PR tree-optimization/61822 * gcc.dg/vect/cond-reduc-1.c: Add missed dg directive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212911 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Implement vbsl_f64 arm_neon.h intrinsic.ktkachov2014-07-224-0/+47
| | | | | | | | | | | | [gcc/] * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic. [testsuite/] * gcc.target/aarch64/simd/vbsl_f64_1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212910 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.target/i386/fuse-caller-save-xmm.c (dg-options): Useuros2014-07-222-1/+6
| | | | | | | | -msse2 -mno-avx instead of -msse. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212909 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/ipa/imm-devirt-2.C (dg-final): Improve einline dump string.uros2014-07-224-5/+14
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212905 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/romangareev2014-07-225-1/+178
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212904 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-07-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212903 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/55701amker2014-07-2114-18/+1219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212893 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (output_move_neon): Handle REG explicitly.amker2014-07-212-8/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212892 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix fuse-caller-save-rec.cvries2014-07-212-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212891 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix fuse-caller-save test-casesvries2014-07-214-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212890 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix fuse-caller-save-xmm.c test-casevries2014-07-212-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212888 138bc75d-0d04-0410-961f-82ee72b054a4