- 24 Mar, 2016 15 commits
-
-
PR c++/70323 * constexpr.c (cxx_eval_call_expression): Don't cache result if *overflow_p. From-SVN: r234463
Jason Merrill committed -
2016-03-24 Richard Henderson <rth@redhat.com> PR middle-end/69845 * fold-const.c (extract_muldiv_1): Correct test for multiplication overflow. PR middle-end/69845 * gcc.dg/tree-ssa/pr69845-1.c: New test. * gcc.dg/tree-ssa/pr69845-2.c: New test. From-SVN: r234462
Richard Henderson committed -
2016-03-24 Tom de Vries <tom@codesourcery.com> * gfortran.dg/goacc/host_data-tree.f95: Add missing initialization. From-SVN: r234460
Tom de Vries committed -
2016-03-24 Tom de Vries <tom@codesourcery.com> * c-c++-common/goacc/uninit-use-device-clause.c: New test. * gfortran.dg/goacc/uninit-use-device-clause.f95: New test. From-SVN: r234459
Tom de Vries committed -
2016-03-24 Tom de Vries <tom@codesourcery.com> * c-c++-common/goacc/uninit-dim-clause.c: New test. * gfortran.dg/goacc/uninit-dim-clause.f95: New test. From-SVN: r234458
Tom de Vries committed -
gcc/cp/ChangeLog: PR c++/62212 * tree.c (build_cplus_array_type): Determine type-dependentess with uses_template_parms instead of with dependent_type_p. gcc/testsuite/ChangeLog: PR c++/62212 * g++.dg/template/mangle2.C: New test. From-SVN: r234457
Patrick Palka committed -
i386.md (*anddi3_doubleword): Generate AND insn using ix86_expand_binary_operator instead of gen_andsi3. * config/i386/i386.md (*anddi3_doubleword): Generate AND insn using ix86_expand_binary_operator instead of gen_andsi3. From-SVN: r234456
Uros Bizjak committed -
re PR tree-optimization/70396 (ICE on valid code at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (in immed_wide_int_const, at emit-rtl.c:606)) 2016-03-24 Richard Biener <rguenther@suse.de> PR tree-optimization/70396 * tree-vect-stmts.c (vectorizable_comparison): Use get_vectype_for_scalar_type. * gcc.dg/torture/pr70396.c: New testcase. From-SVN: r234455
Richard Biener committed -
* plugin/plugin-hsa.c (packet_store_release): New function that is taken from the HSA runtime manual. (GOMP_OFFLOAD_run): Use the function. From-SVN: r234454
Martin Liska committed -
re PR middle-end/70370 (ICE in execute_todo, at passes.c:2003 when using __real__ or __imag__ as lvalue in asm) 2016-03-24 Richard Biener <rguenther@suse.de> PR middle-end/70370 * gimplify.c (gimplify_asm_expr): Handle !allows_mem outputs with register bases. * gcc.dg/torture/pr70370.c: New testcase. From-SVN: r234453
Richard Biener committed -
2016-03-24 Tom de Vries <tom@codesourcery.com> * gfortran.dg/goacc/data-tree.f95: Add missing initialization. * gfortran.dg/goacc/kernels-tree.f95: Same. * gfortran.dg/goacc/parallel-tree.f95: Same. From-SVN: r234452
Tom de Vries committed -
2016-03-24 Tom de Vries <tom@codesourcery.com> * c-c++-common/goacc/uninit-if-clause.c: New test. * gfortran.dg/goacc/uninit-if-clause.f95: New test. From-SVN: r234451
Tom de Vries committed -
PR target/70290 * g++.dg/ext/pr70290.C: Add -Wno-psabi -w to dg-options. Formatting. From-SVN: r234450
Jakub Jelinek committed -
re PR tree-optimization/70372 (ICE: in wide_int_to_tree, at tree.c:1488 with -fno-tree-fre and v2ti vectors) 2016-03-24 Richard Biener <rguenther@suse.de> PR tree-optimization/70372 * tree-ssa-reassoc.c (eliminate_plus_minus_pair): Use build_all_ones_cst to also handle vector types correctly. * gcc.dg/tree-ssa/pr70372.c: New testcase. From-SVN: r234449
Richard Biener committed -
From-SVN: r234447
GCC Administrator committed
-
- 23 Mar, 2016 24 commits
-
-
gcc/cp/ChangeLog: PR c++/70347 * typeck.c (process_init_constructor_union): If the initializer is empty, use the union's NSDMI if it has one. gcc/testsuite/ChangeLog: PR c++/70347 * g++.dg/cpp1y/nsdmi-union1.C: New test. From-SVN: r234443
Patrick Palka committed -
gcc/cp/ChangeLog: PR c++/70332 * pt.c (tsubst_copy) [PARM_DECL]: Handle the use of 'this' in an NSDMI that's part of an aggregrate initialization. gcc/testsuite/ChangeLog: PR c++/70332 * g++.dg/cpp1y/nsdmi-aggr5.C: New test. From-SVN: r234442
Patrick Palka committed -
2016-03-23 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/70381 * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Do not set -mfloat128 here. From-SVN: r234441
Michael Meissner committed -
PR c++/70001 * constexpr.c (cxx_eval_vec_init_1): Reuse CONSTRUCTOR initializers for 1..max even for multi-dimensional arrays. Call unshare_expr on it. * g++.dg/cpp0x/constexpr-70001-4.C: New test. * g++.dg/cpp1y/pr70001.C: New test. From-SVN: r234439
Jakub Jelinek committed -
PR c++/70323 * constexpr.c (cxx_eval_constant_expression): Diagnose overflow on TREE_OVERFLOW constants. * g++.dg/cpp0x/constexpr-70323.C: New test. From-SVN: r234438
Jakub Jelinek committed -
re PR c++/70376 (OpenMP taskloop construct fails to instantiate copy constructor(same as Bug 48869)) PR c++/70376 * cp-gimplify.c (genericize_omp_for_stmt): Don't walk OMP_FOR_CLAUSES for OMP_TASKLOOP here. (cp_genericize_r): Handle OMP_TASKLOOP like OMP_TASK, except do call genericize_omp_for_stmt instead of cp_walk_tree on OMP_BODY. * testsuite/libgomp.c++/pr70376.C: New test. From-SVN: r234437
Jakub Jelinek committed -
PR c++/69315 * cp-tree.h (defer_mark_used_calls, deferred_mark_used_calls): Remove. * decl.c (defer_mark_used_calls, deferred_mark_used_calls): Remove. (finish_function): Don't set or test them. * decl2.c (mark_used): Don't handle defer_mark_used_calls. * g++.dg/cpp0x/constexpr-69315.C: New test. * g++.dg/cpp0x/variadic122.C: Change one dg-warning into dg-bogus. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r234436
Alexandre Oliva committed -
re PR c++/70344 (ICE on invalid code at -O1 and above on x86_64-linux-gnu in record_reference, at cgraphbuild.c:64) PR c++/70344 * constexpr.c (cxx_eval_call_expression): Catch invalid recursion. From-SVN: r234434
Jason Merrill committed -
PR c++/69884 * c.opt (Wignored-attributes): New option. * pt.c (canonicalize_type_argument): Use OPT_Wignored_attributes. * doc/invoke.texi: Document -Wignored-attributes. * g++.dg/warn/Wignored-attributes-1.C: New test. * g++.dg/warn/Wignored-attributes-2.C: New test. From-SVN: r234433
Marek Polacek committed -
2016-03-23 Tom de Vries <tom@codesourcery.com> * c-c++-common/goacc/kernels-default.c (foo): Add missing initialization. * gfortran.dg/goacc/private-3.f95 (test): Same. * gfortran.dg/goacc/routine-5.f90 (gang, worker, vector, seq): Add missing use param. * testsuite/libgomp.oacc-fortran/reduction-2.f90: Add missing initialization of lresult and lvresult. * testsuite/libgomp.oacc-fortran/reduction-3.f90: Same. From-SVN: r234432
Tom de Vries committed -
PR tree-optimization/69042 * params.def (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND): Increase the parameter from 30 to 40. From-SVN: r234430
Bin Cheng committed -
PR tree-optimization/69042 * tree-ssa-loop-ivopts.c (add_iv_candidate_for_use): Add IV cand for use with constant offset stripped in base. From-SVN: r234429
Bin Cheng committed -
PR libgomp/69414 * oacc-mem.c (delete_copyout, update_dev_host): Fix device address. * testsuite/libgomp.oacc-c-c++-common/update-1.c: Additional tests. * testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise. * testsuite/libgomp.oacc-fortran/update-1.f90: New file. Co-Authored-By: Daichi Fukuoka <dc-fukuoka@sgi.com> From-SVN: r234428
James Norris committed -
2016-03-23 Richard Biener <rguenther@suse.de> PR middle-end/70251 * match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Adjust mode compatibility check. (A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise. From-SVN: r234427
Richard Biener committed -
PR tree-optimization/64058 * tree-ssa-coalesce.c (struct coalesce_pair): Add new field CONFLICT_COUNT. (struct ssa_conflicts): Move up earlier in the file. (conflicts_, var_map_): New static variables. (initialize_conflict_count): New function to initialize the CONFLICT_COUNT field for each conflict pair. (compare_pairs): Lazily initialize the conflict count and use it as the first tie-breaker. (sort_coalesce_list): Add new arguments conflicts, map. Initialize and wipe conflicts_ and map_ around the call to qsort. Remove special case for 2 coalesce pairs. * bitmap.c (bitmap_count_unique_bits): New function. (bitmap_count_bits_in_word): New function, extracted from bitmap_count_bits. (bitmap_count_bits): Use bitmap_count_bits_in_word. * bitmap.h (bitmap_count_unique_bits): Declare it. From-SVN: r234425
Jeff Law committed -
gcc/ PR target/69917 * config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Follow transparent alias chain for decl assembler name. * config/sol2.c (solaris_assemble_visibility): Likewise. From-SVN: r234423
Ilya Enkovich committed -
* config/arm/arm1020e.md (1020call_op): Reduce reservation duration. (v10_fdivs): Likewise. (v10_fdivd): Likewise. From-SVN: r234422
Kyrylo Tkachov committed -
* lib/target-supports.exp: Remove v7ve entry from loop creating effective target checks. (check_effective_target_arm_arch_v7ve_ok): New procedure. (add_options_for_arm_arch_v7ve): Likewise. From-SVN: r234420
Kyrylo Tkachov committed -
PR driver/70132 * config/arm/driver-arm.c (host_detect_local_cpu): Reorder exit logic to not call fclose twice on file. From-SVN: r234419
Kyrylo Tkachov committed -
PR hsa/70337 * plugin/plugin-hsa.c (GOMP_OFFLOAD_run): Copy shadow argument just in case a dispatched kernel uses that argument. From-SVN: r234418
Martin Liska committed -
PR tree-optimization/70354 * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If oprnd0 is wider than oprnd1 and there is a cast from the wider type to oprnd1, mask it with the mask of the narrower type. * gcc.dg/vect/pr70354-1.c: New test. * gcc.dg/vect/pr70354-2.c: New test. * gcc.target/i386/avx2-pr70354-1.c: New test. * gcc.target/i386/avx2-pr70354-2.c: New test. From-SVN: r234417
Jakub Jelinek committed -
PR target/70321 * config/i386/i386.md (*anddi3_doubleword, *<code>di3_doubleword): Optimize TARGET_STV splitters, if high or low word of last argument is 0 or -1. From-SVN: r234416
Jakub Jelinek committed -
Makefile.am (install-freestanding-headers): Add concept_check.h and move.h to the installed headers. 2016-03-23 Bernd Edlinger <bernd.edlinger@hotmail.de> * include/Makefile.am (install-freestanding-headers): Add concept_check.h and move.h to the installed headers. * include/Makefile.in: Regenerated. * include/bits/concept_check.h: Ignore _GLIBCXX_CONCEPT_CHECKS for freestanding implementations. * doc/xml/manual/using.xml (_GLIBCXX_CONCEPT_CHECKS): Mention that this macro has no effect for freestanding implementations. * doc/html/manual/using_macros.html: Likewise. From-SVN: r234414
Bernd Edlinger committed -
From-SVN: r234413
GCC Administrator committed
-
- 22 Mar, 2016 1 commit
-
-
PR target/70232 tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths): Correctly distinguish between old style jump threads vs FSM jump threads. PR target/70232 * gcc.dg/tree-ssa/pr70232.c: New test. From-SVN: r234409
Jeff Law committed
-