1. 03 Aug, 2017 7 commits
  2. 02 Aug, 2017 21 commits
  3. 01 Aug, 2017 12 commits
    • * fr.po: Update. · ffbc85cb
      From-SVN: r250805
      Joseph Myers committed
    • [i386] Remove ix86_frame::outlined_save_offset and machine_function::call_ms2sysv_pad_out · 5d9d834d
      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. · 9f2cb25e
      	* 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
    • i386: Add more naked attribute tests · 73380438
      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
    • i386: Add some naked attribute tests · 760f74c2
      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. · f4bcd9eb
      	* 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
    • 386: Disallow naked attribute with interrupt attribute · a2e28a97
      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
    • re PR fortran/79312 (Empty array in assignment not correctly type-checked) · d8afd032
      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
    • re PR fortran/45435 (Automatically generate C interop interface blocks from C code) · e655a6cc
      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… · 5cada901
      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
    • Make mempcpy more optimal (PR middle-end/70140). · 671a00ee
      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
    • Revert r250771 · 7d3eecca
      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