- 03 Aug, 2017 7 commits
-
-
PR middle-end/81052 * omp-low.c (diagnose_sb_0): Handle flag_openmp_simd like flag_openmp. (pass_diagnose_omp_blocks::gate): Enable also for flag_openmp_simd. * c-c++-common/pr81052.c: New test. From-SVN: r250847
Jakub Jelinek committed -
2017-08-03 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> * tree-vrp.h: Add include guard. From-SVN: r250846
Prathamesh Kulkarni committed -
2017-08-03 Tom de Vries <tom@codesourcery.com> * gcc.dg/pr56727-2.c: Require alias. From-SVN: r250845
Tom de Vries committed -
2017-08-03 Tom de Vries <tom@codesourcery.com> * gcc.dg/attr-noipa.c: Require alloca. From-SVN: r250844
Tom de Vries committed -
2017-08-03 Tom de Vries <tom@codesourcery.com> * gcc.dg/torture/pr80163.c: Require label_values. From-SVN: r250843
Tom de Vries committed -
2017-08-03 Tom de Vries <tom@codesourcery.com> PR target/81662 * c-c++-common/patchable_function_entry-decl.c: Skip for nvptx. * c-c++-common/patchable_function_entry-default.c: Same. * c-c++-common/patchable_function_entry-definition.c: Same. From-SVN: r250842
Tom de Vries committed -
From-SVN: r250841
GCC Administrator committed
-
- 02 Aug, 2017 21 commits
-
-
From-SVN: r250836
Yury Gribov committed -
From-SVN: r250835
Yury Gribov committed -
When finalizing the methods of a named struct type, we used to finalize all the field types first. That can fail if the field types refer indirectly to the named type. Change it to just finalize the embedded field types first, and the rest of the fields later. Fixes golang/go#21253 Reviewed-on: https://go-review.googlesource.com/52570 From-SVN: r250832
Ian Lance Taylor committed -
From-SVN: r250831
Uros Bizjak committed -
re PR target/81644 (ICE in rtl_verify_bb_insn, BBRO pass duplicates BB that ends with flow control insn) PR target/81644 * config/i386/i386.md (unspecv): Add UNSPECV_UD2. (ud2): New insn pattern. * config/i386/i386.c (ix86_expand_epilogue): Generate ud2 instead of trap insn. testsuite/ChangeLog: PR target/81644 * gcc.target/i386/pr81644.c: New test. From-SVN: r250830
Uros Bizjak committed -
PR other/81667 * alloc-pool.h (base_pool_allocator): Initialize m_elt_size. From-SVN: r250829
Marek Polacek committed -
2017-08-02 Tom de Vries <tom@codesourcery.com> * gcc.dg/Walloca-14.c: Use relative line number. From-SVN: r250828
Tom de Vries committed -
* gcc.target/i386/funcspec-56.inc (no_3dnowa): Properly test "no-3dnowa" target attribute. From-SVN: r250826
Uros Bizjak committed -
From-SVN: r250825
David Edelsohn committed -
From-SVN: r250824
David Edelsohn committed -
2017-08-02 Tom de Vries <tom@codesourcery.com> Cesar Philippidis <cesar@codesourcery.com> * config/nvptx/nvptx.c (nvptx_lockless_update, nvptx_lockfull_update): Add missing edge probabilities. Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com> From-SVN: r250823
Tom de Vries committed -
PR c/81448 PR c/81306 * c-warn.c (warn_for_multistatement_macros): Prevent bogus warnings. Avoid walking MACRO_MAP_LOCATIONS. * c-c++-common/Wmultistatement-macros-13.c: New test. From-SVN: r250822
Marek Polacek committed -
PR c/81289 * c-parser.c (c_parser_unary_expression): Use set_error. * gcc.dg/noncompile/pr81289.c: New test. From-SVN: r250821
Marek Polacek committed -
* gcc.dg/guality/pr25967-1.c: Delete * gcc.dg/guality/pr25967-2.c: Delete * gcc.dg/guality/pr25967-3.c: Rename to pr25967-1.c. * gcc.dg/guality/pr25967-4.c: Rename to pr25967-2.c. * gcc.dg/torture/pr25967-1.c: Delete * gcc.dg/torture/pr25967-2.c: Delete * gcc.dg/torture/pr25967-3.c: Rename to pr25967-1.c. * gcc.dg/torture/pr25967-4.c: Rename to pr25967-2.c. From-SVN: r250820
Uros Bizjak committed -
2017-08-02 Tamar Christina <tamar.christina@arm.com> * config/aarch64/aarch64.c (aarch64_reinterpret_float_as_int): Correct endianness. From-SVN: r250818
Tamar Christina committed -
PR c++/81640 * call.c (build_user_type_conversion_1): Only call lookup_fnfields_slot if totype is CLASS_TYPE_P. * g++.dg/warn/Wshadow-compatible-local-2.C: New test. From-SVN: r250816
Jakub Jelinek committed -
PR middle-end/79499 * function.c (thread_prologue_and_epilogue_insns): Determine blocks for find_many_sub_basic_blocks bitmap by looking up BLOCK_FOR_INSN of first NONDEBUG_INSN_P in each of the split_prologue_seq and prologue_seq sequences - if any. * gcc.dg/pr79499.c: New test. From-SVN: r250814
Jakub Jelinek committed -
2017-08-02 Richard Biener <rguenther@suse.de> * tree-vect-stmts.c (vectorizable_store): Perform vector extracts via vectors if supported, integer extracts via punning if supported or otherwise vector extracts. From-SVN: r250813
Richard Biener committed -
2017-08-02 Richard Biener <rguenther@suse.de> * tree-ssa-pre.c (bitmap_insert_into_set_1): Remove and inline into ... (bitmap_insert_into_set): ... this. From-SVN: r250812
Richard Biener committed -
2017-08-02 Richard Biener <rguenther@suse.de> PR tree-optimization/81633 Revert 2015-08-17 Alan Hayward <alan.hayward@arm.com> PR tree-optimization/71752 * tree-vect-slp.c (vect_get_slp_defs): Handle null operands. * gcc.dg/vect/pr81633.c: New testcase. From-SVN: r250811
Richard Biener committed -
From-SVN: r250810
GCC Administrator committed
-
- 01 Aug, 2017 12 commits
-
-
From-SVN: r250805
Joseph Myers committed -
ix86_frame::outlined_save_offset isn't used and machine_function::call_ms2sysv_pad_out is an ineffective strategy. 2017-08-01 Daniel Santos <daniel.santos@pobox.com> * config/i386/i386.h (ix86_frame::outlined_save_offset): Remove field. (machine_function::call_ms2sysv_pad_out): Remove field. * config/i386/i386.c (xlogue_layout::get_stack_space_used): Modify. (ix86_compute_frame_layout): Likewise. From-SVN: r250803
Daniel Santos committed -
* c-ada-spec.c (has_static_fields): Look only into fields. (dump_generic_ada_node): Small tweak. (dump_nested_types): Look only into fields. (print_ada_declaration): Look only into methods. Small tweak. (print_ada_struct_decl): Look only into fields. Use DECL_VIRTUAL_P. From-SVN: r250802
Eric Botcazou committed -
Add some tests for implementing interrupt handlers with naked attribute and without asm statements. * gcc.dg/guality/pr25967-3.c: New test. * gcc.dg/guality/pr25967-4.c: Likewise. * gcc.dg/torture/pr25967-3.c: Likewise. * gcc.dg/torture/pr25967-4.c: Likewise. From-SVN: r250800
H.J. Lu committed -
Add some tests for implementing interrupt handlers with naked attribute. * gcc.dg/guality/pr25967-1.c: New test. * gcc.dg/guality/pr25967-2.c: Likewise. * gcc.dg/torture/pr25967-1.c: Likewise. * gcc.dg/torture/pr25967-2.c: Likewise. From-SVN: r250799
H.J. Lu committed -
* c-ada-spec.c (print_generic_ada_decl): Pass correctly-typed constant. (dump_ada_function_declaration): Likewise. (dump_generic_ada_node): Likewise. (print_ada_declaration): Add support for const-qualified variables. From-SVN: r250797
Eric Botcazou committed -
gcc/ PR target/81654 * config/i386/i386.c (ix86_set_func_type): Disallow naked attribute with interrupt attribute. gcc/testsuite/ PR target/81654 * gcc.target/i386/pr81654.c: New test. From-SVN: r250793
H.J. Lu committed -
2017-08-01 Thomas König <tkoenig@gcc.gnu.org> PR fortran/79312 * intrisic.c (gfc_convert_type_warn): Only set typespec for empty array constructors which don't have it already. 2017-08-01 Thomas König <tkoenig@gcc.gnu.org> PR fortran/79312 * gfortran.dg/logical_assignment_1.f90: New test. From-SVN: r250792
Thomas Koenig committed -
2017-08-01 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/45435 * lang.opt (fc-prototypes): Add option. * gfortran.h (gfc_typespec): Add interop_kind to struct. (gfc_dump_c_prototypes): Add prototype. * decl.c (gfc_match_kind_spec): Copy symbol used for kind to typespec. * parse.c (gfc_parse_file): Call gfc_dump_prototypes. * dump-parse-tree.c (gfc_dump_c_prototypes): New function. (type_return): New enum. (get_c_type_name): New function. (write_decl): New function. (write_type): New function. (write_variable): New function. (write_proc): New function. (write_interop_decl): New function. * invoke.texi: Document -fc-prototypes. From-SVN: r250791
Thomas Koenig committed -
tree-ssa-scopedtables.c (hashable_expr_equal_p): Check BIT_INSERT_EXPR's operand 1 to see if the types precision matches. 2017-08-01 Andrew Pinski <apinski@cavium.com> * tree-ssa-scopedtables.c (hashable_expr_equal_p): Check BIT_INSERT_EXPR's operand 1 to see if the types precision matches. From-SVN: r250790
Andrew Pinski committed -
2017-08-01 Martin Liska <mliska@suse.cz> PR middle-end/70140 * gcc.dg/string-opt-1.c: Adjust test-case to scan for memcpy. 2017-08-01 Martin Liska <mliska@suse.cz> PR middle-end/70140 * builtins.c (expand_builtin_memcpy_args): Remove. (expand_builtin_memcpy): Call newly added function expand_builtin_memory_copy_args. (expand_builtin_memcpy_with_bounds): Likewise. (expand_builtin_mempcpy): Remove last argument. (expand_builtin_mempcpy_with_bounds): Likewise. (expand_builtin_memory_copy_args): New function created from expand_builtin_mempcpy_args with small modifications. (expand_builtin_mempcpy_args): Remove. (expand_builtin_stpcpy): Remove unused argument. (expand_builtin): Likewise. (expand_builtin_with_bounds): Likewise. From-SVN: r250789
Martin Liska committed -
2017-08-01 Martin Liska <mliska@suse.cz> Revert r250771 Make mempcpy more optimal (PR middle-end/70140). 2017-08-01 Martin Liska <mliska@suse.cz> Revert r250771 Make mempcpy more optimal (PR middle-end/70140). From-SVN: r250788
Martin Liska committed
-