aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-13re PR c++/70594 (-fcompare-debug failure)Jakub Jelinek
PR c++/70594 * decl.c (pop_labels_1): Removed. (note_label, sort_labels): New functions. (pop_labels): During named_labels traversal, just push the slot pointers into a vector, then qsort it by DECL_UID and only then call pop_label and chain it into BLOCK_VARS. From-SVN: r234942
2016-04-13re PR c++/70615 (ICE on valid code at -O1 and above on x86_64-linux-gnu in ↵Jason Merrill
add_expr, at tree.c:7870) PR c++/70615 * cp-gimplify.c (cp_genericize_r): Expand PTRMEM_CST here. (cp_gimplify_expr): Not here. From-SVN: r234940
2016-04-13i386.md (kunpckhi): Swap operands.Ilya Enkovich
gcc/ * config/i386/i386.md (kunpckhi): Swap operands. (kunpcksi): Likewise. (kunpckdi): Likewise. * config/i386/sse.md (vec_pack_trunc_qi): Likewise. (vec_pack_trunc_<mode>): Likewise. gcc/testsuite/ * gcc.target/i386/avx512bw-kunpckdq-2.c: New test. * gcc.target/i386/avx512bw-kunpckwd-2.c: New test. * gcc.target/i386/avx512f-kunpckbw-2.c: New test. From-SVN: r234938
2016-04-13re PR debug/70628 (ICE in get_reg_rtx, at emit-rtl.c:1025)Jakub Jelinek
PR debug/70628 * explow.c (convert_memory_address_addr_space_1): Formatting fix. From-SVN: r234937
2016-04-13re PR fortran/58000 (Accept OPEN( ... NAME=) with -std=legacy)Dominique d'Humieres
2016-04-13 Dominique d'Humieres <dominiq@lps.ens.fr> PR fortran/58000 * gfortran.texi: Document OPEN( ... NAME=) as not implemented in GNU Fortran From-SVN: r234936
2016-04-13re PR target/70633 (ICE on valid code at -Os (in 32-bit mode) on ↵Jakub Jelinek
x86_64-linux-gnu: output_operand: invalid expression as operand) PR middle-end/70633 * gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if gimplification turns some element into non-constant. * gcc.c-torture/compile/pr70633.c: New test. From-SVN: r234934
2016-04-13re PR debug/70628 (ICE in get_reg_rtx, at emit-rtl.c:1025)Jakub Jelinek
PR debug/70628 * rtl.h (convert_memory_address_addr_space_1): New prototype. * explow.c (convert_memory_address_addr_space_1): No longer static, add NO_EMIT argument and don't call convert_modes if true, pass it down recursively, remove break after return. (convert_memory_address_addr_space): Adjust caller. * simplify-rtx.c (simplify_unary_operation_1): Call convert_memory_address_addr_space_1 instead of convert_memory_address, if it returns NULL, don't simplify. * gcc.dg/torture/pr70628.c: New test. From-SVN: r234933
2016-04-13re PR preprocessor/69650 (ICE in linemap_line_start, at libcpp/line-map.c:803)Bernd Schmidt
Patch from Roger Orr <rogero@howzatt.demon.co.uk> PR preprocessor/69650 * directives.c (do_linemarker): Reread map after calling cpp_get_token. From-SVN: r234932
2016-04-13Daily bump.GCC Administrator
From-SVN: r234929
2016-04-13Fix PR c++/70610 (wrong overload resolution during template processing)Patrick Palka
gcc/cp/ChangeLog: PR c++/70610 * tree.c (lvalue_kind) [NON_DEPENDENT_EXPR]: Unconditionally recurse into it. * typeck.c (build_x_conditional_expr): Unconditionally remember that the result is an lvalue or xvalue. gcc/testsuite/ChangeLog: PR c++/70610 * g++.dg/template/pr70610.C: New test. * g++.dg/template/pr70610-2.C: New test. * g++.dg/template/pr70610-3.C: New test. * g++.dg/template/pr70610-4.C: New test. From-SVN: r234926
2016-04-12reflect: change Value.Call results to not be addressableIan Lance Taylor
Leaving them incorrectly marked as addressable broke a use of the text/template package, because state.evalField checks CanAddr and takes the address if it is addressable. Reviewed-on: https://go-review.googlesource.com/21908 From-SVN: r234923
2016-04-12Fix ChangeLog bug id to be 70640, not 70680Michael Meissner
From-SVN: r234922
2016-04-12re PR target/70630 (sparc bootstrap failure: sparc.c:4919:6: error: suggest ↵Eric Botcazou
explicit braces to avoid ambiguous 'else') 2016-04-12 Eric Botcazou <ebotcazou@adacore.com> PR target/70630 * config/sparc/sparc.c (sparc_compute_frame_size): Add parentheses. From-SVN: r234918
2016-04-12class.c (is_really_empty_class): A zero-length array is empty.Jason Merrill
* class.c (is_really_empty_class): A zero-length array is empty. An unnamed bit-field doesn't make a class non-empty. From-SVN: r234916
2016-04-12i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Bump the upper SIMDLEN ↵Jakub Jelinek
limits... * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Bump the upper SIMDLEN limits, so that if the return type or characteristic type if the return type is void can be passed in all available SSE2/AVX/AVX2/AVX512-F registers, the SIMDLEN is allowed. * c-c++-common/cilk-plus/SE/ef_error2.c (func2): Use vectorlength 128 instead of 32. From-SVN: r234913
2016-04-12re PR c++/70571 (ICE on valid code on x86_64-linux-gnu in ↵Jakub Jelinek
verify_ctor_sanity, at cp/constexpr.c:2259) PR c++/70571 * g++.dg/ext/pr70571.C: New test. From-SVN: r234911
2016-04-12re PR middle-end/70680 (OpenMP SIMD linear variable privatized too eagerly)Michael Meissner
[gcc] 2016-04-12 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/70680 * config/rs6000/rs6000.md (ieee_128bit_vsx_neg<mode>2_internal): Do not use "=" constraint on an input constraint. (ieee_128bit_vsx_abs<mode>2_internal): Likewise. (ieee_128bit_vsx_nabs<mode>2_internal): Likewise. (ieee_128bit_vsx_nabs<mode>2): Correct splitter so that it generates (neg (abs ...)) instead of (abs ...). [gcc/testsuite] 2016-04-12 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/70680 * gcc.target/powerpc/pr70640.c: New test. From-SVN: r234910
2016-04-12re PR c++/68722 (internal compiler error: in merge_exception_specifiers, at ↵Paolo Carlini
cp/typeck2.c:2108) /cp 2016-04-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68722 * parser.c (cp_parser_cache_defarg): When file ends in default argument simply return error_mark_node. /testsuite 2016-04-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68722 * g++.dg/parse/pr68722.C: New. From-SVN: r234909
2016-04-12re PR rtl-optimization/70596 (-fcompare-debug failure with one extra ↵Jakub Jelinek
NOTE_INSN_DELETED) PR rtl-optimization/70596 * lra-spills.c (spill_pseudos): Don't delete debug insns, instead just invalidate LRA data and reset them. Adjust dump wording. * gcc.target/i386/pr70596.c: New test. From-SVN: r234906
2016-04-12Document C++17/TR29124 C++ Special Math Functions.Edward Smith-Rowland
2016-04-12 Edward Smith-Rowland <3dw4rd@verizon.net> Document C++17/TR29124 C++ Special Math Functions. * include/bits/specfun.h: Add Doxygen markup. From-SVN: r234905
2016-04-12re PR c++/70501 (internal compiler error: in verify_ctor_sanity, at ↵Nathan Sidwell
cp/constexpr.c:2249) PR c++/70501 cp/ * constexpr.c (cxx_eval_bare_aggregate): Handle VECTOR_TYPE similarly to PMF. testsuite/ * g++.dg/init/pr70501.C: New. From-SVN: r234904
2016-04-12MAINTAINERS (Write After Approval): Add myself.Andre Vieira
2016-04-12 Andre Vieira <andre.simoesdiasvieira@arm.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r234903
2016-04-12Revert r234572 (aka PR testsuite/70577)Martin Liska
Revert 2016-03-30 Jan Hubicka <hubicka@ucw.cz> * tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic estimates here. * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also max_loop_iterations_int. (tree_unswitch_outer_loop): Likewise. * tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise. * tree-vect-loop.c (vect_analyze_loop_2): Likewise. From-SVN: r234902
2016-04-12libgomp external ABI prototypes maintenanceThomas Schwinge
libgomp/ * libgomp_g.h: Rename GOACC_parallel_keyd prototype to GOACC_parallel_keyed, restore GOACC_parallel prototype, new GOACC_declare prototype. From-SVN: r234901
2016-04-12Executable test case for asm flags, by David Wohlferd.David Wohlferd
* gcc.target/i386/asm-flag-6.c: New test. From-SVN: r234900
2016-04-12Merge libgomp.oacc-c-c++-common/loop-reduction-*.c into ↵Thomas Schwinge
libgomp.oacc-c-c++-common/reduction-7.c libgomp/ * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: Merge this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gv-np-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: ... this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: ... this file into... * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: ... this file. From-SVN: r234899
2016-04-12Improve libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.cThomas Schwinge
libgomp/ * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: Make failure observable. From-SVN: r234897
2016-04-12Fix typo in copy_cond_phi_argsTom de Vries
2016-04-12 Tom de Vries <tom@codesourcery.com> PR tree-optimization/68756 * graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr instead of new_name. * gcc.dg/graphite/pr68756.c: New test. From-SVN: r234896
2016-04-12re PR tree-optimization/70602 (wrong code at -O1 and above on ↵Jakub Jelinek
x86_64-linux-gnu in 32-bit mode (and at -Os only in 64-bit mode)) PR tree-optimization/70602 * tree-sra.c (generate_subtree_copies): Don't write anything into constant pool decls. * gcc.c-torture/execute/pr70602.c: New test. From-SVN: r234895
2016-04-12omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless ↵Jakub Jelinek
whether there are depend clauses or not. * omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not. * libgomp.h (struct gomp_target_task): Remove firstprivate_copies field. * target.c (gomp_target_fallback_firstprivate, gomp_target_unshare_firstprivate): Removed. (GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory before waiting for dependencies. (gomp_target_task_fn): Don't copy firstprivate vars here. * task.c (GOMP_PLUGIN_target_task_completion): Don't free firstprivate_copies here. (gomp_create_target_task): Don't initialize firstprivate_copies field. * testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of explicit/implicit firstprivate. From-SVN: r234894
2016-04-12Daily bump.GCC Administrator
From-SVN: r234892
2016-04-11re PR target/70381 (On powerpc, -mfloat128 is on by default for all VSX systems)Michael Meissner
[gcc] 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/70381 * config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the target attribute and pragma from changing the -mfloat128 and -mfloat128-hardware options. * doc/extend.texi (Additional Floating Types): Document PowerPC __float128 restrictions. [libgcc] 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/70381 * configure.ac (powerpc*-*-linux*): Rework tests to build __float128 emulation routines to not depend on using #pragma GCC target to enable -mfloat128. * configure: Regnerate. [gcc/testsuite] 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/70381 * gcc.target/powerpc/float128-1.c: New tests to make sure the __float128 emulator is built and runs. * gcc.target/powerpc/float128-1.c: Likewise. * lib/target-supports.exp (check_ppc_float128_sw_available): Rework tests for __float128 software and hardware availability. Fix exit condition to return 0 on success. From-SVN: r234884
2016-04-11mangle.c (decl_is_template_id): The template itself counts as a template-id.Jason Merrill
* mangle.c (decl_is_template_id): The template itself counts as a template-id. From-SVN: r234879
2016-04-11[Patch AArch64 3/3] Fix up for pr70133James Greenhalgh
gcc/ PR target/70133 * config/aarch64/driver-aarch64.c (aarch64_get_extension_string_for_isa_flags): New. (arch_extension): Rename to... (aarch64_arch_extension): ...This. (ext_to_feat_string): Rename to... (aarch64_extensions): ...This. (aarch64_core_data): Keep track of architecture extension flags. (cpu_data): Rename to... (aarch64_cpu_data): ...This. (aarch64_arch_driver_info): Keep track of architecture extension flags. (get_arch_name_from_id): Rename to... (get_arch_from_id): ...This, change return type. (host_detect_local_cpu): Update and reformat for renames, handle extensions through common infrastructure. From-SVN: r234877
2016-04-11[Patch AArch64 2/3] Rework the code to print extension strings (pr70133)James Greenhalgh
gcc/ PR target/70133 * config/aarch64/aarch64-common.c (aarch64_option_extension): Keep track of a canonical flag name. (all_extensions): Likewise. (arch_to_arch_name): Also track extension flags enabled by the arch. (all_architectures): Likewise. (aarch64_parse_extension): Move to here. (aarch64_get_extension_string_for_isa_flags): Take a new argument, rework. (aarch64_rewrite_selected_cpu): Update for above change. * config/aarch64/aarch64-option-extensions.def: Rework the way flags are handled, such that the single explicit value enabled by an extension is kept seperate from the implicit values it also enables. * config/aarch64/aarch64-protos.h (aarch64_parse_opt_result): Move to here. (aarch64_parse_extension): New. * config/aarch64/aarch64.c (aarch64_parse_opt_result): Move from here to config/aarch64/aarch64-protos.h. (aarch64_parse_extension): Move from here to common/config/aarch64/aarch64-common.c. (aarch64_option_print): Update. (aarch64_declare_function_name): Likewise. (aarch64_start_file): Likewise. * config/aarch64/driver-aarch64.c (arch_extension): Keep track of the canonical flag for extensions. * config.gcc (aarch64*-*-*): Extend regex for capturing extension flags. gcc/testsuite/ PR target/70133 * gcc.target/aarch64/mgeneral-regs_4.c: Fix expected output. * gcc.target/aarch64/target_attr_15.c: Likewise. From-SVN: r234876
2016-04-11[Patch AArch64 1/3] Enable CRC by default for armv8.1-aJames Greenhalgh
gcc/ * config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH8_1): Also add AARCH64_FL_CRC. From-SVN: r234875
2016-04-11libcc1: Clean compiler-name.h (PR70173)Segher Boessenkool
Since the file is generated from a Makefile fragment, it needs to be added to MOSTLYCLEANFILES. The directory itself is still not deleted (just like the gnattools and gotools directories). 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org> libcc1/ PR bootstrap/70173 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h . (compiler-name.h): Shorten recipe so that it fits the line. * Makefile.in: Regenerate. From-SVN: r234874
2016-04-11Daily bump.GCC Administrator
From-SVN: r234872
2016-04-10re PR c++/69066 (SFINAE compilation error on lambda with trailing return type)Paolo Carlini
2016-04-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/69066 * g++.dg/cpp1y/pr69066.C: New. From-SVN: r234869
2016-04-10MAINTAINERS (Fortran maintainer): Remove myself.Steven G. Kargl
2016-04-09 Steven G. Kargl <kargl@gcc.gnu.org> * MAINTAINERS (Fortran maintainer): Remove myself. From-SVN: r234868
2016-04-10Daily bump.GCC Administrator
From-SVN: r234867
2016-04-09re PR fortran/68566 (ICE on using unusable array in reshape (double free or ↵Jerry DeLisle
corruption)) 2016-04-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/68566 * array.c (match_array_element_spec): Add check for non-integer. * simplify.c (gfc_simplify_reshape): If source shape is NULL return. PR fortran/68566 * gfortran.dg/pr36192.f90: Update test. * gfortran.dg/pr36192_1.f90: Update test. * gfortran.dg/real_dimension_1.f: Update test. * gfortran.dg/parameter_array_init_7.f90: New test. From-SVN: r234864
2016-04-09re PR testsuite/64039 (FAIL: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump ↵John David Anglin
optimized "return 28;") PR testsuite/64039 * gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan-tree-dump on hppa*64*-*-*. From-SVN: r234863
2016-04-09pr70317.c: Add -fno-common on hppa*-*-hpux*.John David Anglin
* gcc.dg/pr70317.c: Add -fno-common on hppa*-*-hpux*. From-SVN: r234862
2016-04-09re PR rtl-optimization/66669 (FAIL: gcc.dg/loop-8.c)John David Anglin
PR rtl-optimization/66669 * gcc.dg/loop-8.c: Skip on hppa*-*-*. From-SVN: r234861
2016-04-09prod-options.c: Adjust scan for hppa*64*-*-*.John David Anglin
* gcc.dg/debug/dwarf2/prod-options.c: Adjust scan for hppa*64*-*-*. From-SVN: r234860
2016-04-09pic-1.c: Skip on hppa*-*-*.John David Anglin
* gcc.dg/pic-1.c: Skip on hppa*-*-*. * gcc.dg/pie-1.c: Likewise. * gcc.dg/pic-3.c: Skip on hppa*64*-*-*. * gcc.dg/pic-4.c: Likewise. * gcc.dg/pie-3.c: Likewise. * gcc.dg/pie-4.c: Likewise. From-SVN: r234859
2016-04-09uninit-19.c: Fix warning line for hppa*64*-*-*.John David Anglin
* gcc.dg/uninit-19.c: Fix warning line for hppa*64*-*-*. From-SVN: r234856
2016-04-09re PR tree-optimization/68644 (FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c ↵John David Anglin
scan-tree-dump-times ivopts "PHI <p_" 1) PR tree-optimization/68644 * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip on hppa*-*-*. From-SVN: r234854
2016-04-09re PR testsuite/64886 (FAIL: gcc.dg/pr64434.c scan-rtl-dump-times expand ↵John David Anglin
"Swap operands" 1) PR rtl-optimization/64886 * gcc.dg/pr64434.c: Skip on hppa*-*-hpux*. From-SVN: r234852