summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite
Commit message (Collapse)AuthorAgeFilesLines
...
* Update gcc.dg/pr61053.c for x32hjl2014-09-182-4/+11
| | | | | | | | Backport from mainline * gcc.dg/pr61053.c: Updated for x32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215370 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/62017jakub2014-09-182-0/+20
| | | | | | | | | * asan.c (transform_statements): Don't instrument clobber statements. * g++.dg/asan/pr62017.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215355 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/63292jakub2014-09-182-1/+6
| | | | | | | * gcc.dg/vect/pr59594.c (b): Increase size to N + 2 elements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215353 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix i386 FP_TRAPPING_EXCEPTIONS.jsm282014-09-182-0/+45
| | | | | | | | | | | | | | | | | | | | The i386 sfp-machine.h defines FP_TRAPPING_EXCEPTIONS in a way that is always wrong: it treats a set bit as indicating the exception is trapping, when actually a set bit (both for 387 and SSE floating point) indicates it is masked, and a clear bit indicates it is trapping. This patch fixes this bug. Bootstrapped with no regressions on x86_64-unknown-linux-gnu. libgcc: * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear bits not set bits as indicating trapping exceptions. gcc/testsuite: * gcc.dg/torture/float128-exact-underflow.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215348 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/63284jakub2014-09-172-0/+47
| | | | | | | | | | | * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block if there are only debug stmts after the noreturn call, instead remove the debug stmts. * gcc.dg/pr63284.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215332 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-17 Paolo Carlini <paolo.carlini@oracle.com>paolo2014-09-172-0/+18
| | | | | | | | PR c++/63241 * g++.dg/cpp0x/constexpr-63241.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215327 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-12 Martin Jambor <mjambor@suse.cz>jamborm2014-09-122-0/+45
| | | | | | | | | | | | | | | | PR ipa/61654 * cgraph.h (cgraph_analyze_function): Declare. * cgraphunit.c: (analyze_function): Remove forward declaration, rename to cgraph_analyze_function, made external. * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the new decl properly. Analyze the new thunk if it is expanded. gcc/testsuite/ * g++.dg/ipa/pr61654.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215228 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct ChangeLog inc. files missedalalaw012014-09-111-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215174 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r214953 from mainlinealalaw012014-09-118-192/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-09-05 Alan Lawrence <alan.lawrence@arm.com> gcc/: * config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t, uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs. (vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32, vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16, vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32, vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32, vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32, vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32, vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8, vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16, vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16, vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16, vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64, vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32, vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32, vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16, vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32, vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8, vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t with int{32,16,8}_t. gcc/testsuite/: * gcc.target/aarch64/scalar_intrinsics.c (*): Replace all int{32,16,8}x1_t with int{32,16,8}_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215173 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/63139jason2014-09-111-0/+51
| | | | | | * pt.c (tsubst_pack_expansion): Simplify substitution into T.... git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215172 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/58678jason2014-09-111-0/+15
| | | | | | * ipa-devirt.c (ipa_devirt): Don't check DECL_COMDAT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215167 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r215136 from trunkdavidxl2014-09-102-0/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215137 138bc75d-0d04-0410-961f-82ee72b054a4
* PR lto/53808jason2014-09-106-4/+58
| | | | | | | | | | | | | PR c++/61659 * decl2.c (note_comdat_fn): New. (set_comdat): New. (cp_write_global_declarations): Call set_comdat. * method.c (implicitly_declare_fn): Call note_comdat_fn. * pt.c (tsubst_decl) [FUNCTION_DECL]: Likewise. * decl2.c (mark_needed): Mark clones. (import_export_decl): Not here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215131 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-09 Bill Schmidt <wschmidt@us.ibm.com>wschmidt2014-09-092-7/+9
| | | | | | | | | | | | | | | | | | | | Backported from mainline 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match selection of 0th memory doubleword, regardless of endianness. 2014-09-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Backported from mainline 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/vsx-extract-1.c: Test 0th doubleword regardless of endianness. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215096 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/61214jason2014-09-092-3/+23
| | | | | | | | | | | PR c++/62224 gcc/ * gimple-fold.c (can_refer_decl_in_current_unit_p): Don't allow reference to a DECL_EXTERNAL COMDAT. gcc/cp/ * decl2.c (decl_needed_p): Revert virtual functions change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215061 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-09 Richard Biener <rguenther@suse.de>rguenth2014-09-094-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport from mainline 2014-08-05 Richard Biener <rguenther@suse.de> PR rtl-optimization/61672 * emit-rtl.h (mem_attrs_eq_p): Declare. * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs. * cse.c (exp_equiv_p): Use mem_attrs_eq_p. * cfgcleanup.c (merge_memattrs): Likewise. Include emit-rtl.h. 2014-08-11 Richard Biener <rguenther@suse.de> PR tree-optimization/62075 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly handle uses in patterns. * gcc.dg/vect/pr62075.c: New testcase. 2014-08-14 Richard Biener <rguenther@suse.de> PR rtl-optimization/62079 * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg run cleanup_cfg. * g++.dg/pr62079.C: New testcase. 2014-08-26 Richard Biener <rguenther@suse.de> PR tree-optimization/62175 * tree-ssa-loop-niter.c (expand_simple_operations): Do not expand possibly trapping operations. * g++.dg/torture/pr62175.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215059 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60196jakub2014-09-084-0/+101
| | | | | | | | | | PR tree-optimization/63189 * gcc.dg/vect/pr63189.c: New test. * gcc.dg/vect/pr60196-1.c: New test. * gcc.dg/vect/pr60196-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215026 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/56194danglin2014-09-062-1/+6
| | | | | | | | * g++.dg/init/const9.C: Skip scan-assembler-not "rodata" on hppa*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214997 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-05 Easwaran Raman <eraman@google.com>eraman2014-09-062-0/+57
| | | | | | | | | | | | | Backport from mainline PR rtl-optimization/62146 * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of hoisted instruction unconditional. testsuite: * testsuite/g++.dg/opt/pr62146.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214981 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/62659jason2014-09-051-0/+10
| | | | | | | * semantics.c (potential_constant_expression_1): Handle un-folded pointer to member constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214975 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/62040carrot2014-09-042-0/+26
| | | | | | | | | | | | | * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators. * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split it into two patterns. (move_lo_quad_internal_be_<mode>): Likewise. * gcc.target/aarch64/pr62040.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214913 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-03 Martin Jambor <mjambor@suse.cz>jamborm2014-09-032-0/+60
| | | | | | | | | | | | | PR ipa/62015 * ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible pass-trough jump functions correctly. testsuite/ * g++.dg/ipa/pr62015.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214883 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-03 Martin Jambor <mjambor@suse.cz>jamborm2014-09-032-0/+53
| | | | | | | | | | | | | | PR ipa/61986 * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain created replacements in ascending order of offsets. (known_aggs_to_agg_replacement_list): Likewise. gcc/testsuite/ * gcc.dg/ipa/pr61986.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214882 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/62270mpolacek2014-09-032-1/+9
| | | | | | | | | | * interface.c (compare_parameter): Fix condition. * trans-expr.c (gfc_conv_procedure_call): Likewise. * gfortran.dg/pointer_intent_7.f90: Adjust dg-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214881 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/62294mpolacek2014-09-035-0/+85
| | | | | | | | | | | | | | | | * c-typeck.c (convert_arguments): Get location of a parameter. Change error and warning calls to error_at and warning_at. Pass location of a parameter to it. (convert_for_assignment): Add parameter to WARN_FOR_ASSIGNMENT and WARN_FOR_QUALIFIERS. Pass expr_loc to those. * gcc.dg/pr56724-1.c: New test. * gcc.dg/pr56724-2.c: New test. * gcc.dg/pr62294.c: New test. * gcc.dg/pr62294.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214874 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/olegendo2014-09-012-0/+31
| | | | | | | | | | | | | | | | | | Backport from mainline 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org> PR target/62312 * config/sh/sh.md (*cmp_div0s_0): Add missing constraints. gcc/testsuite/ Backport from mainline 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org> PR target/62312 * gcc.c-torture/compile/pr62312.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214805 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlinemacro2014-09-012-1/+8
| | | | | | | | | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> * gcc.dg/tree-ssa/loop-19.c: Exclude classic FPU Power targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214799 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/62262carrot2014-08-272-0/+25
| | | | | | | | | | | * config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift amount before using it. * gcc.target/aarch64/pr62262.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214610 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/58624jason2014-08-261-0/+23
| | | | | | | | * pt.c (tsubst_copy_and_build) [VAR_DECL]: Use TLS wrapper. * semantics.c (finish_id_expression): Don't call TLS wrapper in a template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214546 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-26 Dominik Vogt <vogt@linux.vnet.ibm.com>uweigand2014-08-262-1/+6
| | | | | | | | * gfortran.dg/bessel_7.f90: Bump allowed precision to avoid failure on s390*-*-linux-gnu. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214521 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/62129jason2014-08-251-0/+16
| | | | | | | | | | * class.c (outermost_open_class): New. * cp-tree.h: Declare it. * decl.c (maybe_register_incomplete_var): Use it. (complete_vars): Handle any constant variable. * expr.c (cplus_expand_constant): Handle CONSTRUCTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214424 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/olegendo2014-08-242-0/+20
| | | | | | | | | | | | | | | | | | | | | | Backport from mainline 2014-08-24 Oleg Endo <olegendo@gcc.gnu.org> PR target/61996 * config/sh/sh.opt (musermode): Allow negative form. * config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for targets that don't support it. * doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*. Document -mno-usermode option. gcc/testsuite Backport from mainline 2014-08-24 Oleg Endo <olegendo@gcc.gnu.org> PR target/61996 * gcc.target/sh/pr61996.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214407 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/62008kyukhin2014-08-222-0/+15
| | | | | | | | | | | | | | | | gcc/c/ * c-parser.c (c_parser_array_notation): Check for correct type of an array added. gcc/cp/ * cp-array-notation.c (build_array_notation_ref): Added correct handling of case with incorrect array. gcc/testsuite/ * c-c++-common/cilk-plus/AN/pr62008.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214306 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-21 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2014-08-212-1/+23
| | | | | | | | | | | | | | | | | | Backport from trunk PR fortran/62214 * frontend-passes.c (optimize_binop_array_assignment): Do not try to optimize the array assignment for string concatenation. 2014-08-21 Thomas Koenig <tkoenig@gcc.gnu.org> Backport from trunk PR fortran/62214 * gfortran.dg/array_assignment_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214282 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/cpp0x/lambda/lambda-template13.C: Specify -fabi-version=0.jason2014-08-201-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214244 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-20 Martin Jambor <mjambor@suse.cz>wmi2014-08-204-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wei Mi <wmi@google.com> PR ipa/60449 PR middle-end/61776 * tree-ssa-operands.c (update_stmt_operands): Remove MODIFIED_NORETURN_CALLS. * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func. (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag. (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls. (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls. * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS. * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING. (gimple_call_set_ctrl_altering): New func. (gimple_call_ctrl_altering_p): Ditto. * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto. (make_blocks): Use gimple_call_initialize_ctrl_altering. (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p. (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and remove MODIFIED_NORETURN_CALLS. 2014-08-20 Martin Jambor <mjambor@suse.cz> Wei Mi <wmi@google.com> PR ipa/60449 PR middle-end/61776 * testsuite/gcc.dg/lto/pr60449_1.c: New test. * testsuite/gcc.dg/lto/pr60449_0.c: New test. * testsuite/gcc.dg/pr61776.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214237 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/61214jason2014-08-201-0/+28
| | | | | | | | PR tree-optimization/62091 * decl2.c (decl_needed_p): Return true for virtual functions when devirtualizing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214208 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/61566jason2014-08-201-1/+5
| | | | | | | | | | * pt.c (instantiate_class_template_1): Ignore lambda on CLASSTYPE_DECL_LIST. (push_template_decl_real): A lambda is not primary. * lambda.c (maybe_add_lambda_conv_op): Distinguish between being currently in a function and the lambda living in a function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214206 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60417jason2014-08-201-0/+8
| | | | | | | | * init.c (build_vec_init): Set CONSTRUCTOR_IS_DIRECT_INIT on init-list for trailing elements. * typeck2.c (process_init_constructor_array): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214205 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-supports.exp janis2014-08-192-1/+10
| | | | | | | | (check_effective_target_arm_v8_neon_ok_nocache): Add "-march-armv8-a" to compile flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214199 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-16 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2014-08-162-0/+16
| | | | | | | | | | | | | | | | Backport from trunk PR fortran/62142 * trans-expr.c (is_runtime_conformable): Add NULL pointer checks. 2014-08-15 Thomas Koenig <tkoenig@gcc.gnu.org> Backport from trunk PR fortran/62142 * gfortran.dg/realloc_on_assign_24.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214061 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix if-conversion pass for dead type-unsafe codevries2014-08-154-0/+158
| | | | | | | | | | | | | | | | | | | | | | | 2014-08-15 Tom de Vries <tom@codesourcery.com> Backport from mainline: 2014-08-14 Tom de Vries <tom@codesourcery.com> PR rtl-optimization/62004 PR rtl-optimization/62030 * ifcvt.c (rtx_interchangeable_p): New function. (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p. * gcc.dg/pr62004.c: New test. * gcc.dg/pr62030.c: Same. * gcc.target/mips/pr62030-octeon.c: Same. 2014-08-05 Richard Biener <rguenther@suse.de> * emit-rtl.h (mem_attrs_eq_p): Declare. * emit-rtl.c (mem_attrs_eq_p): Export. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214044 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-15 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2014-08-152-0/+19
| | | | | | | | | | | | | | | | | | | | | Backport from trunk PR fortran/62106 * gfortran.h (symbol_attribute): Add fe_temp flag. * frontend-passes.c (is_fe_temp): New function. (create_var): Don't add a temporary for an already created variable or for a constant. (combine_ARRAY_constructor): Remove special handling for constants. 2014-08-15 Thomas Koenig <tkoenig@gcc.gnu.org> Backport from trunk PR fortran/62106 * gfortran.dg/array_constructor_49.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214038 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/62131jakub2014-08-152-0/+25
| | | | | | | | | | * openmp.c (resolve_omp_atomic): Only complain if code->expr1's attr is allocatable, rather than whenever var->attr.allocatable. * gfortran.dg/gomp/pr62131.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214011 138bc75d-0d04-0410-961f-82ee72b054a4
* [optabs.c] Fix ICE when expanding single-threaded version of atomic_test_and_setktkachov2014-08-142-0/+22
| | | | | | | | | | | | Backport from mainline 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR target/61713 * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit move to subtarget in serial version if result is ignored. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213954 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-14 Thomas Preud'homme <thomas.preudhomme@arm.com>thopre012014-08-142-0/+31
| | | | | | | | | | | | | | | | | Backport from mainline 2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR middle-end/62103 * gimple-fold.c (fold_ctor_reference): Don't fold in presence of bitfields, that is when size doesn't match the size of type or the size of the constructor. gcc/testsuite/ PR middle-end/62103 * gcc.c-torture/execute/bitfld-6.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213941 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-12 Felix Yang <fei.yang0953@gmail.com>rguenth2014-08-132-0/+45
| | | | | | | | | | | PR tree-optimization/62073 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has a basic block. * gcc.dg/vect/pr62073.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213901 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlinejanis2014-08-126-1/+24
| | | | | | | | | | | | | | | | | | | 2014-08-12 Janis Johnson <janisjo@codesourcery.com> * lib/target/supports.exp (check_effective_target_arm_v8_neon_ok_nocache): Check for armv8 or later. * gcc.dg/pr59418.c: Don't add ARM options for a Thumb1 multilib. * gcc.target/arm/neon-vext-execute.c: Skip if the test won't run on Neon hardware. * gcc.target/arm/pr48784.c: Skip for thumb1 multilib. * gcc.target/arm/pr59985.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213867 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/61962kyukhin2014-08-122-0/+19
| | | | | | | | | | | | | | gcc/c-family/ * array-notation-common.c (find_rank): Added handling for other types of references. gcc/testsuite/ * c-c++-common/cilk-plus/AN/pr61962.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213859 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainline 64-bit multiplication handling without vpmacsdql ↵gganesh2014-08-122-1/+9
| | | | | | instruction git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213850 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud