1. 22 Dec, 2016 9 commits
    • PR c++/78898 - ICE on constructor with TTP · dd809fde
      	PR c++/42329
      	* pt.c (unify): Don't look for a class template from a non-class.
      
      From-SVN: r243890
      Jason Merrill committed
    • re PR testsuite/52641 (Test cases fail for 16-bit int targets) · 745b4512
      gcc/testsuite/
      	PR testsuite/52641
      	* gcc.dg/fold-and-rshift-2.c [int <= 2]: Use 32-bit int as needed.
      
      From-SVN: r243889
      Georg-Johann Lay committed
    • varasm: Propagate litpool decl alignment to generated RTX. · 8db9d05e
      When pushing a value into the literal pool the resulting decl might
      get a higher alignment than the original expression depending on how a
      target defines CONSTANT_ALIGNMENT.  Generating an RTX for the constant
      pool access we currently use the alignment from the original
      expression.  Changed with the attached patch.
      
      This fixes a GCC 6 regression for S/390.  For arrays of string
      constants as in the attached testcase encode_section_info is not able
      to figure out that the constant pool slot is already properly aligned
      since the mem_align field in the rtx is not set properly.
      
      gcc/ChangeLog:
      
      2016-12-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* varasm.c (build_constant_desc): Use the alignment of the var
      	decl instead of the original expression.
      
      gcc/testsuite/ChangeLog:
      
      2016-12-22  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
      
      	* gcc.target/s390/litpool-str-1.c: New test.
      
      From-SVN: r243888
      Andreas Krebbel committed
    • Run tests only if the machine supports the instruction set. · cbbb9dab
      gcc/ChangeLog:
      
      2016-12-22  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Define
      	__S390_ARCH_LEVEL__.
      
      gcc/testsuite/ChangeLog:
      
      2016-12-22  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	* gcc.target/s390/md/setmem_long-1.c: Use "s390_useable_hw".
      	* gcc.target/s390/md/rXsbg_mode_sXl.c: Likewise.
      	* gcc.target/s390/md/andc-splitter-1.c: Likewise.
      	* gcc.target/s390/md/andc-splitter-2.c: Likewise.
      	* lib/gcc-dg.exp (gcc-dg-runtest): Export torture_current_flags.
      	* gcc.target/s390/s390.exp: Import torture_current_flags.
      	(check_effective_target_s390_useable_hw): New.
      	(check_effective_target_s390_z900_hw): New.
      	(check_effective_target_s390_z990_hw): New.
      	(check_effective_target_s390_z9_ec_hw): New.
      	(check_effective_target_s390_z10_hw): New.
      	(check_effective_target_s390_z196_hw): New.
      	(check_effective_target_s390_zEC12_hw): New.
      	(check_effective_target_s390_z13_hw): New.
      	(check_effective_target_z10_instructions): Removed.
      	(torture tests): Add optimization level without -march=.
      	Reorder torture tests for good cache usage.
      
      From-SVN: r243887
      Dominik Vogt committed
    • Fix tree-optimization/78886. · a71dcca8
      	PR tree-optimization/78886
      	* gcc.dg/tree-ssa/pr78886.c: New test.
      	PR tree-optimization/78886
      	* tree-ssa-strlen.c (handle_builtin_malloc): Return when LHS
      	is equal to NULL.
      
      From-SVN: r243886
      Martin Liska committed
    • re PR testsuite/52641 (Test cases fail for 16-bit int targets) · 7fbb9b18
      gcc/testsuite/
      	PR testsuite/52641
      	* gcc.dg/pr35258.c (main) <temp>: Use an integer value that has
      	at least a size of 4.
      	* gcc.dg/Walloca-1.c (foo1): Use alloca with 30000 (instead of 90000).
      	* gcc.dg/graphite/pr46185.c: Require int32plus, size32plus.
      	* gcc.dg/graphite/isl-ast-op-select.c: Same.
      	* gcc.dg/graphite/pr42205-1.c: Require int32plus.
      	* gcc.dg/graphite/pr42221.c: Same.
      	* gcc.dg/tree-ssa/pr65136.c: Same.
      	* gcc.dg/tree-ssa/sra-20.c: Same.
      	* gcc.dg/graphite/scop-0.c: Require size32plus.
      	* gcc.dg/graphite/scop-22.c: Same.
      	* gcc.dg/graphite/scop-3.c: Same.
      	* gcc.dg/graphite/scop-dsyr2k.c: Same.
      	* gcc.dg/graphite/scop-dsyrk.c: Same.
      	* gcc.dg/graphite/scop-mvt.c: Same.
      	* gcc.dg/graphite/scop-sor.c: Same.
      	* gcc.dg/tree-ssa/pr68529-3.c: Same.
      	* gcc.dg/tree-ssa/pr66449.c [long != pointer]: Use intptr_t if.
      	* gcc.dg/tree-ssa/pr70919.c [int <= 2]: Use 32-bit int as needed.
      	* gcc.dg/tree-ssa/pr71408.c: Same.
      	* gcc.dg/tree-ssa/ssa-dom-thread-8.c (f2) [long != pointer]: Use
      	uintptr_t instead of long for int representation of address.
      	* gcc.dg/tree-ssa/tailcall-7-run.c: Require trampolines.
      
      From-SVN: r243885
      Georg-Johann Lay committed
    • re PR middle-end/78858 (Bogus -Wnonnull warning involving strcmp with -fsanitize=undefined) · 35dddc53
      	PR middle-end/78858
      	* c-c++-common/ubsan/pr78858.c: New test.
      	* gcc.dg/nonnull-5.c: New test.
      
      From-SVN: r243884
      Jakub Jelinek committed
    • re PR bootstrap/78817 (stage2 bootstrap failure in vec.h:1613:5: error: argument… · 0b435c16
      re PR bootstrap/78817 (stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661)
      
      	PR bootstrap/78817
      	* vec.h (vec<T, va_heap, vl_ptr>::safe_grow_cleared): Revert
      	2016-12-15 change.
      
      From-SVN: r243883
      Jakub Jelinek committed
    • Daily bump. · 03c19813
      From-SVN: r243882
      GCC Administrator committed
  2. 21 Dec, 2016 31 commits
    • re PR c++/72707 (local anonymous union member hides names in the same scope) · b5f8e89e
      	PR c++/72707
      	* name-lookup.c (pushdecl_maybe_friend_1): Do check shadowing of
      	artificial x if it is an anonymous union variable.
      
      	* g++.dg/warn/Wshadow-12.C: New test.
      
      From-SVN: r243877
      Jakub Jelinek committed
    • dwarf2.def (DW_FORM_ref_sup): Renamed to ... · d8ee9c7e
      	* dwarf2.def (DW_FORM_ref_sup): Renamed to ...
      	(DW_FORM_ref_sup4): ... this.  New form.
      	(DW_FORM_ref_sup8): New form.
      
      From-SVN: r243876
      Jakub Jelinek committed
    • re PR rtl-optimization/78580 (Segfault in gcc with multilib (-m32) and -ffixed-*) · bc13623e
      2016-12-21  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/78580
      	* ira-costs.c (find_costs_and_classes): Make regno_aclass
      	translated into an allocno class.
      
      2016-12-21  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/78580
      	* gcc.target/i386/pr78580.c: New.
      
      From-SVN: r243875
      Vladimir Makarov committed
    • re PR bootstrap/78817 (stage2 bootstrap failure in vec.h:1613:5: error: argument… · 0dba7960
      re PR bootstrap/78817 (stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661)
      
      	PR bootstrap/78817
      	* tree-pass.h (make_pass_post_ipa_warn): Declare.
      	* builtins.c (validate_arglist): Adjust get_nonnull_args call.
      	Check for NULL pointer argument to nonnull arg here.
      	(validate_arg): Revert 2016-12-14 changes.
      	* calls.h (get_nonnull_args): Remove declaration.
      	* tree-ssa-ccp.c: Include diagnostic-core.h.
      	(pass_data_post_ipa_warn): New variable.
      	(pass_post_ipa_warn): New class.
      	(pass_post_ipa_warn::execute): New method.
      	(make_pass_post_ipa_warn): New function.
      	* tree.h (get_nonnull_args): Declare.
      	* tree.c (get_nonnull_args): New function.
      	* calls.c (maybe_warn_null_arg): Removed.
      	(maybe_warn_null_arg): Removed.
      	(initialize_argument_information): Revert 2016-12-14 changes.
      	* passes.def: Add pass_post_ipa_warn after first ccp after IPA.
      c-family/
      	* c-common.c (struct nonnull_arg_ctx): New type.
      	(check_function_nonnull): Return bool instead of void.  Use
      	nonnull_arg_ctx as context rather than just location_t.
      	(check_nonnull_arg): Adjust for the new context type, set
      	warned_p to true if a warning has been diagnosed.
      	(check_function_arguments): Return bool instead of void.
      	* c-common.h (check_function_arguments): Adjust prototype.
      c/
      	* c-typeck.c (build_function_call_vec): If check_function_arguments
      	returns true, set TREE_NO_WARNING on CALL_EXPR.
      cp/
      	* typeck.c (cp_build_function_call_vec): If check_function_arguments
      	returns true, set TREE_NO_WARNING on CALL_EXPR.
      	* call.c (build_over_call): Likewise.
      
      From-SVN: r243874
      Jakub Jelinek committed
    • re PR c++/77830 (internal compiler error: in output_constructor_regular_field,… · bc2a38df
      re PR c++/77830 (internal compiler error: in output_constructor_regular_field, at varasm.c:4968, when using constexpr (with testcase))
      
      	PR c++/77830
      	* constexpr.c (cxx_eval_array_reference): Perform out of bounds
      	verification even if lval is true, just allow one past the last
      	element in that case.
      	(cxx_eval_store_expression): Detect stores to out of bound
      	ARRAY_REF.
      
      	* g++.dg/cpp1y/pr77830.C: New test.
      	* g++.dg/cpp0x/pr65398.C: Adjust expected diagnostics.
      
      From-SVN: r243873
      Jakub Jelinek committed
    • Implement P0522R0, matching of template template arguments. · 31bfc9b9
      gcc/c-family/
      	* c.opt (-fnew-ttp-matching): New flag.
      	* c-opts.c (c_common_post_options): Default on if -std=c++1z.
      gcc/cp/
      	* pt.c (coerce_template_template_parms): Allow a template argument
      	that's less specialized than the parameter.
      	(unify_bound_ttp_args): Adjust parm's args to apply to arg's
      	template.
      	(coerce_template_args_for_ttp): Split out from
      	lookup_template_class_1.
      	(coerce_ttp_args_for_tta, store_defaulted_ttp)
      	(lookup_defaulted_ttp, add_defaults_to_ttp): New.
      	(process_partial_specialization): Set DECL_CONTEXT of
      	template template-parameters.
      	(coerce_template_parms): Only inform when complain.
      	(expand_template_argument_pack): Handle error_mark_node.
      	(convert_template_argument, template_args_equal, unify): Handle
      	any_targ_node.
      	* cp-tree.h (enum cp_tree_index): Add CPTI_ANY_TARG.
      	(any_targ_node): New.
      	* decl.c (cxx_init_decl_processing): Set it.
      	* name-lookup.c (consider_binding_level): Ignore names with embedded
      	spaces.
      
      From-SVN: r243871
      Jason Merrill committed
    • PR c++/42329 - deducing base template for template template arg · 3c75aaa3
      	* pt.c (unify_bound_ttp_args): Split out from unify.
      	(try_class_unification): Handle BOUND_TEMPLATE_TEMPLATE_PARM.
      	(unify): Check for type/non-type mismatch early.
      	[BOUND_TEMPLATE_TEMPLATE_PARM]: Try get_template_base.
      
      From-SVN: r243870
      Jason Merrill committed
    • Fix handling of explicit function template arguments with TTPs. · 57a6add2
      gcc/cp/
      	* pt.c (coerce_template_parms): Consider variadic_args_p before
      	complaining about too many template arguments.
      libstdc++-v3/
      	* testsuite/util/testsuite_tr1.h (test_property): Don't define both
      	variadic and non-variadic overloads.
      
      From-SVN: r243869
      Jason Merrill committed
    • Check that a partial specialization is more specialized. · a9410b4f
      	* pt.c (process_partial_specialization): Use
      	get_partial_spec_bindings to check that the partial specialization
      	is more specialized than the primary template.
      
      From-SVN: r243868
      Jason Merrill committed
    • Fixes for P0127R2 implementation. · a93634ba
      	* pt.c (convert_template_argument): Pass args to do_auto_deduction.
      	(mark_template_parm): Handle deducibility from type of non-type
      	argument here.
      	(for_each_template_parm_r): Not here.
      
      From-SVN: r243867
      Jason Merrill committed
    • re PR rtl-optimization/11488 (Pre-regalloc scheduling severely worsens performance) · 35f4cbd4
      	PR rtl-optimization/11488
      	* common/config/rs6000/rs6000-common.c
      	(rs6000_option_optimization_table): Enable -fsched-pressure.
      	* config/rs6000/rs6000.c (TARGET_COMPUTE_PRESSURE_CLASSES): Define
      	target hook.
      	(rs6000_option_override_internal): Set default -fsched-pressure algorithm.
      	(rs6000_compute_pressure_classes): Implement target hook.
      
      From-SVN: r243866
      Pat Haugen committed
    • Improve C++ debug_tree. · 0856b5d7
      	* ptree.c (cxx_print_type): Print args of
      	BOUND_TEMPLATE_TEMPLATE_PARM.
      	(cxx_print_decl): Print DECL_TEMPLATE_PARMS.
      
      From-SVN: r243865
      Jason Merrill committed
    • PR c++/78767 - ICE with inherited constructor default argument · 0bcd172d
      	* method.c (strip_inheriting_ctors): Strip template as appropriate.
      
      From-SVN: r243864
      Jason Merrill committed
    • [PATCH, v2, rs6000] pr65479 Add -fasynchronous-unwind-tables when the… · 3a8f9451
      [PATCH, v2, rs6000] pr65479 Add -fasynchronous-unwind-tables when the -fsanitize=address option is seen.
      
      All feedback from the earlier version has been taken into account now.
      
      This patch adds the -fasynchronous-unwind-tables option to compilations when
      the -fsanitize=address option is seen but not if any
      -fasynchronous-unwind-tables options were already specified.
      -fasynchronous-unwind-tables causes a full strack trace to be produced when
      the sanitizer detects an error.  Without the full trace several of the asan
      test cases fail on powerpc.
      
      See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65479 for more information.
      
      Bootstrapped and tested on powerpc64le-unknown-linux-gnu,
      powerpc64be-unknown-linux-gnu, and x86_64-pc-linux-gnu with no regressions.
      Is this ok for trunk?
      
      [gcc]
      
      2016-12-21  Bill Seurer  <seurer@linux.vnet.ibm.com>
      
      	PR sanitizer/65479
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Add
      	-fasynchronous-unwind-tables option when -fsanitize=address is
      	specified.
      
      From-SVN: r243863
      Bill Seurer committed
    • PR c++/78749 - friend in anonymous namespace · 8f0db566
      	* decl.c (wrapup_globals_for_namespace): Don't complain about friend
      	pseudo-template instantiations.
      
      From-SVN: r243862
      Jason Merrill committed
    • re PR target/71321 (x86: worse code for uint8_t % 10 and / 10) · d697acca
      
      	PR target/71321
      	* config/i386/i386.md (lea<mode>_general_2b, lea<mode>_general_3b): New
      	patterns.
      	* config/i386/predicates.md (const123_operand): New.
      
      	PR target/71321
      	* gcc.target/i386/pr71321.c: New test.
      
      From-SVN: r243861
      Bernd Schmidt committed
    • re PR fortran/78866 (ICE in gimplify_adjust_omp_clauses_1, at gimplify.c:8721) · 4e2044d6
      	PR fortran/78866
      	* openmp.c (resolve_omp_clauses): Diagnose assumed size arrays in
      	OpenMP map, to and from clauses.
      	* trans-openmp.c: Include diagnostic-core.h, temporarily redefining
      	GCC_DIAG_STYLE to __gcc_tdiag__.
      	(gfc_omp_finish_clause): Diagnose implicitly mapped assumed size
      	arrays.
      
      	* gfortran.dg/gomp/map-1.f90: Add expected error.
      	* gfortran.dg/gomp/pr78866-1.f90: New test.
      	* gfortran.dg/gomp/pr78866-2.f90: New test.
      
      From-SVN: r243860
      Jakub Jelinek committed
    • costmodel-bb-slp-9a-pr63175.c: XFAIL lwz on AIX. · 5878034e
              * gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c: XFAIL
              lwz on AIX.
      
      From-SVN: r243859
      David Edelsohn committed
    • [ARM] Updating testcase unsigned-extend-2.c · 2d44c551
      gcc/testsuite/ChangeLog:
      2016-12-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>
      
      	* gcc.target/arm/unsigned-extend-2.c: Update testcase.
      
      From-SVN: r243858
      Andre Vieira committed
    • Do not suggest -fsanitize=all (PR driver/78863). · b0a3329d
      	PR driver/78863
      	* gcc.c (driver::build_option_suggestions): Do not add
      	-fsanitize=all as a suggestion candidate.
      	PR driver/78863
      	* gcc.dg/spellcheck-options-13.c: New test.
      
      From-SVN: r243857
      Martin Liska committed
    • nvptx: adjust testcase for 'shared' attribute · 592e4d94
      	* gcc.target/nvptx/decl-shared.c (v_common): Add 'common' attribute to
      	explicitly request the desired storage class.
      
      From-SVN: r243856
      Alexander Monakov committed
    • nvptx: do not assume that crtl->is_leaf is unset · 40829cb8
      	PR target/78831
      	* config/nvptx/nvptx.c (init_softstack_frame): Remove assert.  Compute
      	crtl->is_leaf only if unset.  Adjust comment.
      
      From-SVN: r243855
      Alexander Monakov committed
    • re PR testsuite/52641 (Test cases fail for 16-bit int targets) · adc86fa5
      gcc/testsuite/
      	PR testsuite/52641
      	* gcc.dg/builtin-object-size-16.c (ia0, ia1, ia9): Handle case
      	where neither short nor int has a size of 4; use long.
      	* gcc.dg/builtin-object-size-17.c: Same.
      	* gcc.dg/builtin-stringop-chk-1.c (test2) <struct S>: Use int32_t
      	for components as 4 components are supposed to occupy 16 bytes.
      	* gcc.dg/pr78408-1.c: Require target size32plus.
      	* gcc.dg/pr78408-2.c: Same.
      	* gcc.dg/tree-ssa/pr78428.c. Require target int32plus.
      	* gcc.dg/tree-ssa/tailcall-7.c: Require target trampolines.
      
      From-SVN: r243854
      Georg-Johann Lay committed
    • PR 71444 define more error constants for mingw-w64 · e76d3098
      	PR libstdc++/71444
      	* config/os/mingw32-w64/error_constants.h
      	(address_family_not_supported, address_in_use, address_not_available)
      	(already_connected, connection_aborted, connection_already_in_progress)
      	connection_refused, connection_reset, cross_device_link)
      	(destination_address_required, host_unreachable, message_size)
      	(network_down, network_reset, network_unreachable, no_buffer_space)
      	(no_protocol_option, not_a_socket, not_connected, operation_canceled)
      	(operation_in_progress, operation_not_supported, protocol_error)
      	(protocol_not_supported, too_many_links, too_many_symbolic_link_levels)
      	(value_too_large, wrong_protocol_type): Define.
      	(bad_message, identifier_removed, no_link, no_message_available)
      	(no_message, no_stream_resources, not_a_stream, owner_dead)
      	(state_not_recoverable, stream_timeout, text_file_busy): Define
      	conditionally.
      	* testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
      	Guard test for no_message with _GLIBCXX_HAVE_ENOMSG.
      
      From-SVN: r243853
      Jonathan Wakely committed
    • configure.ac: Don't bootstrap libmpx unless --with-build-config includes bootstrap-mpx. · c21fdaa1
      	* configure.ac: Don't bootstrap libmpx unless --with-build-config
      	includes bootstrap-mpx.
      	* configure: Regenerated.
      
      From-SVN: r243849
      Jakub Jelinek committed
    • MIPS: Relax instruction order check in msa-builtins.c. · db313371
      gcc/testsuite
      
      	* gcc.target/mips/msa-builtins.c (msa_insert_d): Tweak expected output.
      
      From-SVN: r243848
      Toma Tabacu committed
    • random.c: Do not include <sys/types.h> header. · e034421f
      	* intrinsics/random.c: Do not include <sys/types.h> header.
      	* m4/maxloc0.m4: Do not include <limits.h> header.
      	* m4/maxloc1.m4: Do not include <limits.h> header.
      	* m4/minloc0.m4: Do not include <limits.h> header.
      	* m4/minloc1.m4: Do not include <limits.h> header.
      	* m4/norm2.m4: Do not include <math.h> header.
      	* m4/parity.m4: Do not include <math.h> header.
      	* runtime/minimal.c: Remove <limits.h> and <errno.h> headers.
      	* generated/maxloc0_16_i1.c: Regenerate.
      	* generated/maxloc0_16_i16.c: Regenerate.
      	* generated/maxloc0_16_i2.c: Regenerate.
      	* generated/maxloc0_16_i4.c: Regenerate.
      	* generated/maxloc0_16_i8.c: Regenerate.
      	* generated/maxloc0_16_r10.c: Regenerate.
      	* generated/maxloc0_16_r16.c: Regenerate.
      	* generated/maxloc0_16_r4.c: Regenerate.
      	* generated/maxloc0_16_r8.c: Regenerate.
      	* generated/maxloc0_4_i1.c: Regenerate.
      	* generated/maxloc0_4_i16.c: Regenerate.
      	* generated/maxloc0_4_i2.c: Regenerate.
      	* generated/maxloc0_4_i4.c: Regenerate.
      	* generated/maxloc0_4_i8.c: Regenerate.
      	* generated/maxloc0_4_r10.c: Regenerate.
      	* generated/maxloc0_4_r16.c: Regenerate.
      	* generated/maxloc0_4_r4.c: Regenerate.
      	* generated/maxloc0_4_r8.c: Regenerate.
      	* generated/maxloc0_8_i1.c: Regenerate.
      	* generated/maxloc0_8_i16.c: Regenerate.
      	* generated/maxloc0_8_i2.c: Regenerate.
      	* generated/maxloc0_8_i4.c: Regenerate.
      	* generated/maxloc0_8_i8.c: Regenerate.
      	* generated/maxloc0_8_r10.c: Regenerate.
      	* generated/maxloc0_8_r16.c: Regenerate.
      	* generated/maxloc0_8_r4.c: Regenerate.
      	* generated/maxloc0_8_r8.c: Regenerate.
      	* generated/maxloc1_16_i1.c: Regenerate.
      	* generated/maxloc1_16_i16.c: Regenerate.
      	* generated/maxloc1_16_i2.c: Regenerate.
      	* generated/maxloc1_16_i4.c: Regenerate.
      	* generated/maxloc1_16_i8.c: Regenerate.
      	* generated/maxloc1_16_r10.c: Regenerate.
      	* generated/maxloc1_16_r16.c: Regenerate.
      	* generated/maxloc1_16_r4.c: Regenerate.
      	* generated/maxloc1_16_r8.c: Regenerate.
      	* generated/maxloc1_4_i1.c: Regenerate.
      	* generated/maxloc1_4_i16.c: Regenerate.
      	* generated/maxloc1_4_i2.c: Regenerate.
      	* generated/maxloc1_4_i4.c: Regenerate.
      	* generated/maxloc1_4_i8.c: Regenerate.
      	* generated/maxloc1_4_r10.c: Regenerate.
      	* generated/maxloc1_4_r16.c: Regenerate.
      	* generated/maxloc1_4_r4.c: Regenerate.
      	* generated/maxloc1_4_r8.c: Regenerate.
      	* generated/maxloc1_8_i1.c: Regenerate.
      	* generated/maxloc1_8_i16.c: Regenerate.
      	* generated/maxloc1_8_i2.c: Regenerate.
      	* generated/maxloc1_8_i4.c: Regenerate.
      	* generated/maxloc1_8_i8.c: Regenerate.
      	* generated/maxloc1_8_r10.c: Regenerate.
      	* generated/maxloc1_8_r16.c: Regenerate.
      	* generated/maxloc1_8_r4.c: Regenerate.
      	* generated/maxloc1_8_r8.c: Regenerate.
      	* generated/minloc0_16_i1.c: Regenerate.
      	* generated/minloc0_16_i16.c: Regenerate.
      	* generated/minloc0_16_i2.c: Regenerate.
      	* generated/minloc0_16_i4.c: Regenerate.
      	* generated/minloc0_16_i8.c: Regenerate.
      	* generated/minloc0_16_r10.c: Regenerate.
      	* generated/minloc0_16_r16.c: Regenerate.
      	* generated/minloc0_16_r4.c: Regenerate.
      	* generated/minloc0_16_r8.c: Regenerate.
      	* generated/minloc0_4_i1.c: Regenerate.
      	* generated/minloc0_4_i16.c: Regenerate.
      	* generated/minloc0_4_i2.c: Regenerate.
      	* generated/minloc0_4_i4.c: Regenerate.
      	* generated/minloc0_4_i8.c: Regenerate.
      	* generated/minloc0_4_r10.c: Regenerate.
      	* generated/minloc0_4_r16.c: Regenerate.
      	* generated/minloc0_4_r4.c: Regenerate.
      	* generated/minloc0_4_r8.c: Regenerate.
      	* generated/minloc0_8_i1.c: Regenerate.
      	* generated/minloc0_8_i16.c: Regenerate.
      	* generated/minloc0_8_i2.c: Regenerate.
      	* generated/minloc0_8_i4.c: Regenerate.
      	* generated/minloc0_8_i8.c: Regenerate.
      	* generated/minloc0_8_r10.c: Regenerate.
      	* generated/minloc0_8_r16.c: Regenerate.
      	* generated/minloc0_8_r4.c: Regenerate.
      	* generated/minloc0_8_r8.c: Regenerate.
      	* generated/minloc1_16_i1.c: Regenerate.
      	* generated/minloc1_16_i16.c: Regenerate.
      	* generated/minloc1_16_i2.c: Regenerate.
      	* generated/minloc1_16_i4.c: Regenerate.
      	* generated/minloc1_16_i8.c: Regenerate.
      	* generated/minloc1_16_r10.c: Regenerate.
      	* generated/minloc1_16_r16.c: Regenerate.
      	* generated/minloc1_16_r4.c: Regenerate.
      	* generated/minloc1_16_r8.c: Regenerate.
      	* generated/minloc1_4_i1.c: Regenerate.
      	* generated/minloc1_4_i16.c: Regenerate.
      	* generated/minloc1_4_i2.c: Regenerate.
      	* generated/minloc1_4_i4.c: Regenerate.
      	* generated/minloc1_4_i8.c: Regenerate.
      	* generated/minloc1_4_r10.c: Regenerate.
      	* generated/minloc1_4_r16.c: Regenerate.
      	* generated/minloc1_4_r4.c: Regenerate.
      	* generated/minloc1_4_r8.c: Regenerate.
      	* generated/minloc1_8_i1.c: Regenerate.
      	* generated/minloc1_8_i16.c: Regenerate.
      	* generated/minloc1_8_i2.c: Regenerate.
      	* generated/minloc1_8_i4.c: Regenerate.
      	* generated/minloc1_8_i8.c: Regenerate.
      	* generated/minloc1_8_r10.c: Regenerate.
      	* generated/minloc1_8_r16.c: Regenerate.
      	* generated/minloc1_8_r4.c: Regenerate.
      	* generated/minloc1_8_r8.c: Regenerate.
      	* generated/norm2_r10.c: Regenerate.
      	* generated/norm2_r16.c: Regenerate.
      	* generated/norm2_r4.c: Regenerate.
      	* generated/norm2_r8.c: Regenerate.
      	* generated/parity_l1.c: Regenerate.
      	* generated/parity_l16.c: Regenerate.
      	* generated/parity_l2.c: Regenerate.
      	* generated/parity_l4.c: Regenerate.
      	* generated/parity_l8.c: Regenerate.
      
      From-SVN: r243847
      Francois-Xavier Coudert committed
    • libgfortran.h: Include <stdlib.h> header. · 887d9b8b
      	* libgfortran.h: Include <stdlib.h> header.
      	* intrinsics/access.c: Do not include <stdlib.h> header.
      	* intrinsics/chdir.c: Do not include <stdlib.h> header.
      	* intrinsics/chmod.c: Do not include <stdlib.h> header.
      	* intrinsics/date_and_time.c: Do not include <stdlib.h> header.
      	* intrinsics/env.c: Do not include <stdlib.h> header.
      	* intrinsics/execute_command_line.c: Do not include <stdlib.h> header.
      	* intrinsics/exit.c: Do not include <stdlib.h> header.
      	* intrinsics/getcwd.c: Do not include <stdlib.h> header.
      	* intrinsics/getlog.c: Do not include <stdlib.h> header.
      	* intrinsics/link.c: Do not include <stdlib.h> header.
      	* intrinsics/move_alloc.c: Do not include <stdlib.h> header.
      	* intrinsics/perror.c: Do not include <stdlib.h> header.
      	* intrinsics/random.c: Do not include <stdlib.h> header.
      	* intrinsics/rename.c: Do not include <stdlib.h> header.
      	* intrinsics/reshape_generic.c: Do not include <stdlib.h> header.
      	* intrinsics/stat.c: Do not include <stdlib.h> header.
      	* intrinsics/symlnk.c: Do not include <stdlib.h> header.
      	* intrinsics/system.c: Do not include <stdlib.h> header.
      	* intrinsics/unlink.c: Do not include <stdlib.h> header.
      	* io/fbuf.c: Do not include <stdlib.h> header.
      	* io/format.c: Do not include <stdlib.h> header.
      	* io/intrinsics.c: Do not include <stdlib.h> header.
      	* io/list_read.c: Do not include <stdlib.h> header.
      	* io/lock.c: Do not include <stdlib.h> header.
      	* io/open.c: Do not include <stdlib.h> header.
      	* io/read.c: Do not include <stdlib.h> header.
      	* io/transfer.c: Do not include <stdlib.h> header.
      	* io/unit.c: Do not include <stdlib.h> header.
      	* io/unix.c: Do not include <stdlib.h> header.
      	* io/write.c: Do not include <stdlib.h> header.
      	* m4/all.m4: Do not include <stdlib.h> header.
      	* m4/any.m4: Do not include <stdlib.h> header.
      	* m4/bessel.m4: Do not include <stdlib.h> header.
      	* m4/count.m4: Do not include <stdlib.h> header.
      	* m4/cshift0.m4: Do not include <stdlib.h> header.
      	* m4/cshift1.m4: Do not include <stdlib.h> header.
      	* m4/eoshift1.m4: Do not include <stdlib.h> header.
      	* m4/eoshift3.m4: Do not include <stdlib.h> header.
      	* m4/iall.m4: Do not include <stdlib.h> header.
      	* m4/iany.m4: Do not include <stdlib.h> header.
      	* m4/in_pack.m4: Do not include <stdlib.h> header.
      	* m4/in_unpack.m4: Do not include <stdlib.h> header.
      	* m4/iparity.m4: Do not include <stdlib.h> header.
      	* m4/matmul.m4: Do not include <stdlib.h> header.
      	* m4/matmull.m4: Do not include <stdlib.h> header.
      	* m4/maxloc0.m4: Do not include <stdlib.h> header.
      	* m4/maxloc1.m4: Do not include <stdlib.h> header.
      	* m4/maxval.m4: Do not include <stdlib.h> header.
      	* m4/minloc0.m4: Do not include <stdlib.h> header.
      	* m4/minloc1.m4: Do not include <stdlib.h> header.
      	* m4/minval.m4: Do not include <stdlib.h> header.
      	* m4/norm2.m4: Do not include <stdlib.h> header.
      	* m4/pack.m4: Do not include <stdlib.h> header.
      	* m4/parity.m4: Do not include <stdlib.h> header.
      	* m4/product.m4: Do not include <stdlib.h> header.
      	* m4/reshape.m4: Do not include <stdlib.h> header.
      	* m4/shape.m4: Do not include <stdlib.h> header.
      	* m4/spread.m4: Do not include <stdlib.h> header.
      	* m4/sum.m4: Do not include <stdlib.h> header.
      	* m4/unpack.m4: Do not include <stdlib.h> header.
      	* runtime/environ.c: Do not include <stdlib.h> header.
      	* runtime/error.c: Do not include <stdlib.h> header.
      	* runtime/memory.c: Do not include <stdlib.h> header.
      	* runtime/minimal.c: Do not include <stdlib.h> header.
      	* runtime/string.c: Do not include <stdlib.h> header.
      	* generated/all_l1.c: Regenerate.
      	* generated/all_l16.c: Regenerate.
      	* generated/all_l2.c: Regenerate.
      	* generated/all_l4.c: Regenerate.
      	* generated/all_l8.c: Regenerate.
      	* generated/any_l1.c: Regenerate.
      	* generated/any_l16.c: Regenerate.
      	* generated/any_l2.c: Regenerate.
      	* generated/any_l4.c: Regenerate.
      	* generated/any_l8.c: Regenerate.
      	* generated/bessel_r10.c: Regenerate.
      	* generated/bessel_r16.c: Regenerate.
      	* generated/bessel_r4.c: Regenerate.
      	* generated/bessel_r8.c: Regenerate.
      	* generated/count_16_l.c: Regenerate.
      	* generated/count_1_l.c: Regenerate.
      	* generated/count_2_l.c: Regenerate.
      	* generated/count_4_l.c: Regenerate.
      	* generated/count_8_l.c: Regenerate.
      	* generated/cshift0_c10.c: Regenerate.
      	* generated/cshift0_c16.c: Regenerate.
      	* generated/cshift0_c4.c: Regenerate.
      	* generated/cshift0_c8.c: Regenerate.
      	* generated/cshift0_i1.c: Regenerate.
      	* generated/cshift0_i16.c: Regenerate.
      	* generated/cshift0_i2.c: Regenerate.
      	* generated/cshift0_i4.c: Regenerate.
      	* generated/cshift0_i8.c: Regenerate.
      	* generated/cshift0_r10.c: Regenerate.
      	* generated/cshift0_r16.c: Regenerate.
      	* generated/cshift0_r4.c: Regenerate.
      	* generated/cshift0_r8.c: Regenerate.
      	* generated/cshift1_16.c: Regenerate.
      	* generated/cshift1_4.c: Regenerate.
      	* generated/cshift1_8.c: Regenerate.
      	* generated/eoshift1_16.c: Regenerate.
      	* generated/eoshift1_4.c: Regenerate.
      	* generated/eoshift1_8.c: Regenerate.
      	* generated/eoshift3_16.c: Regenerate.
      	* generated/eoshift3_4.c: Regenerate.
      	* generated/eoshift3_8.c: Regenerate.
      	* generated/iall_i1.c: Regenerate.
      	* generated/iall_i16.c: Regenerate.
      	* generated/iall_i2.c: Regenerate.
      	* generated/iall_i4.c: Regenerate.
      	* generated/iall_i8.c: Regenerate.
      	* generated/iany_i1.c: Regenerate.
      	* generated/iany_i16.c: Regenerate.
      	* generated/iany_i2.c: Regenerate.
      	* generated/iany_i4.c: Regenerate.
      	* generated/iany_i8.c: Regenerate.
      	* generated/in_pack_c10.c: Regenerate.
      	* generated/in_pack_c16.c: Regenerate.
      	* generated/in_pack_c4.c: Regenerate.
      	* generated/in_pack_c8.c: Regenerate.
      	* generated/in_pack_i1.c: Regenerate.
      	* generated/in_pack_i16.c: Regenerate.
      	* generated/in_pack_i2.c: Regenerate.
      	* generated/in_pack_i4.c: Regenerate.
      	* generated/in_pack_i8.c: Regenerate.
      	* generated/in_pack_r10.c: Regenerate.
      	* generated/in_pack_r16.c: Regenerate.
      	* generated/in_pack_r4.c: Regenerate.
      	* generated/in_pack_r8.c: Regenerate.
      	* generated/in_unpack_c10.c: Regenerate.
      	* generated/in_unpack_c16.c: Regenerate.
      	* generated/in_unpack_c4.c: Regenerate.
      	* generated/in_unpack_c8.c: Regenerate.
      	* generated/in_unpack_i1.c: Regenerate.
      	* generated/in_unpack_i16.c: Regenerate.
      	* generated/in_unpack_i2.c: Regenerate.
      	* generated/in_unpack_i4.c: Regenerate.
      	* generated/in_unpack_i8.c: Regenerate.
      	* generated/in_unpack_r10.c: Regenerate.
      	* generated/in_unpack_r16.c: Regenerate.
      	* generated/in_unpack_r4.c: Regenerate.
      	* generated/in_unpack_r8.c: Regenerate.
      	* generated/iparity_i1.c: Regenerate.
      	* generated/iparity_i16.c: Regenerate.
      	* generated/iparity_i2.c: Regenerate.
      	* generated/iparity_i4.c: Regenerate.
      	* generated/iparity_i8.c: Regenerate.
      	* generated/matmul_c10.c: Regenerate.
      	* generated/matmul_c16.c: Regenerate.
      	* generated/matmul_c4.c: Regenerate.
      	* generated/matmul_c8.c: Regenerate.
      	* generated/matmul_i1.c: Regenerate.
      	* generated/matmul_i16.c: Regenerate.
      	* generated/matmul_i2.c: Regenerate.
      	* generated/matmul_i4.c: Regenerate.
      	* generated/matmul_i8.c: Regenerate.
      	* generated/matmul_l16.c: Regenerate.
      	* generated/matmul_l4.c: Regenerate.
      	* generated/matmul_l8.c: Regenerate.
      	* generated/matmul_r10.c: Regenerate.
      	* generated/matmul_r16.c: Regenerate.
      	* generated/matmul_r4.c: Regenerate.
      	* generated/matmul_r8.c: Regenerate.
      	* generated/maxloc0_16_i1.c: Regenerate.
      	* generated/maxloc0_16_i16.c: Regenerate.
      	* generated/maxloc0_16_i2.c: Regenerate.
      	* generated/maxloc0_16_i4.c: Regenerate.
      	* generated/maxloc0_16_i8.c: Regenerate.
      	* generated/maxloc0_16_r10.c: Regenerate.
      	* generated/maxloc0_16_r16.c: Regenerate.
      	* generated/maxloc0_16_r4.c: Regenerate.
      	* generated/maxloc0_16_r8.c: Regenerate.
      	* generated/maxloc0_4_i1.c: Regenerate.
      	* generated/maxloc0_4_i16.c: Regenerate.
      	* generated/maxloc0_4_i2.c: Regenerate.
      	* generated/maxloc0_4_i4.c: Regenerate.
      	* generated/maxloc0_4_i8.c: Regenerate.
      	* generated/maxloc0_4_r10.c: Regenerate.
      	* generated/maxloc0_4_r16.c: Regenerate.
      	* generated/maxloc0_4_r4.c: Regenerate.
      	* generated/maxloc0_4_r8.c: Regenerate.
      	* generated/maxloc0_8_i1.c: Regenerate.
      	* generated/maxloc0_8_i16.c: Regenerate.
      	* generated/maxloc0_8_i2.c: Regenerate.
      	* generated/maxloc0_8_i4.c: Regenerate.
      	* generated/maxloc0_8_i8.c: Regenerate.
      	* generated/maxloc0_8_r10.c: Regenerate.
      	* generated/maxloc0_8_r16.c: Regenerate.
      	* generated/maxloc0_8_r4.c: Regenerate.
      	* generated/maxloc0_8_r8.c: Regenerate.
      	* generated/maxloc1_16_i1.c: Regenerate.
      	* generated/maxloc1_16_i16.c: Regenerate.
      	* generated/maxloc1_16_i2.c: Regenerate.
      	* generated/maxloc1_16_i4.c: Regenerate.
      	* generated/maxloc1_16_i8.c: Regenerate.
      	* generated/maxloc1_16_r10.c: Regenerate.
      	* generated/maxloc1_16_r16.c: Regenerate.
      	* generated/maxloc1_16_r4.c: Regenerate.
      	* generated/maxloc1_16_r8.c: Regenerate.
      	* generated/maxloc1_4_i1.c: Regenerate.
      	* generated/maxloc1_4_i16.c: Regenerate.
      	* generated/maxloc1_4_i2.c: Regenerate.
      	* generated/maxloc1_4_i4.c: Regenerate.
      	* generated/maxloc1_4_i8.c: Regenerate.
      	* generated/maxloc1_4_r10.c: Regenerate.
      	* generated/maxloc1_4_r16.c: Regenerate.
      	* generated/maxloc1_4_r4.c: Regenerate.
      	* generated/maxloc1_4_r8.c: Regenerate.
      	* generated/maxloc1_8_i1.c: Regenerate.
      	* generated/maxloc1_8_i16.c: Regenerate.
      	* generated/maxloc1_8_i2.c: Regenerate.
      	* generated/maxloc1_8_i4.c: Regenerate.
      	* generated/maxloc1_8_i8.c: Regenerate.
      	* generated/maxloc1_8_r10.c: Regenerate.
      	* generated/maxloc1_8_r16.c: Regenerate.
      	* generated/maxloc1_8_r4.c: Regenerate.
      	* generated/maxloc1_8_r8.c: Regenerate.
      	* generated/maxval_i1.c: Regenerate.
      	* generated/maxval_i16.c: Regenerate.
      	* generated/maxval_i2.c: Regenerate.
      	* generated/maxval_i4.c: Regenerate.
      	* generated/maxval_i8.c: Regenerate.
      	* generated/maxval_r10.c: Regenerate.
      	* generated/maxval_r16.c: Regenerate.
      	* generated/maxval_r4.c: Regenerate.
      	* generated/maxval_r8.c: Regenerate.
      	* generated/minloc0_16_i1.c: Regenerate.
      	* generated/minloc0_16_i16.c: Regenerate.
      	* generated/minloc0_16_i2.c: Regenerate.
      	* generated/minloc0_16_i4.c: Regenerate.
      	* generated/minloc0_16_i8.c: Regenerate.
      	* generated/minloc0_16_r10.c: Regenerate.
      	* generated/minloc0_16_r16.c: Regenerate.
      	* generated/minloc0_16_r4.c: Regenerate.
      	* generated/minloc0_16_r8.c: Regenerate.
      	* generated/minloc0_4_i1.c: Regenerate.
      	* generated/minloc0_4_i16.c: Regenerate.
      	* generated/minloc0_4_i2.c: Regenerate.
      	* generated/minloc0_4_i4.c: Regenerate.
      	* generated/minloc0_4_i8.c: Regenerate.
      	* generated/minloc0_4_r10.c: Regenerate.
      	* generated/minloc0_4_r16.c: Regenerate.
      	* generated/minloc0_4_r4.c: Regenerate.
      	* generated/minloc0_4_r8.c: Regenerate.
      	* generated/minloc0_8_i1.c: Regenerate.
      	* generated/minloc0_8_i16.c: Regenerate.
      	* generated/minloc0_8_i2.c: Regenerate.
      	* generated/minloc0_8_i4.c: Regenerate.
      	* generated/minloc0_8_i8.c: Regenerate.
      	* generated/minloc0_8_r10.c: Regenerate.
      	* generated/minloc0_8_r16.c: Regenerate.
      	* generated/minloc0_8_r4.c: Regenerate.
      	* generated/minloc0_8_r8.c: Regenerate.
      	* generated/minloc1_16_i1.c: Regenerate.
      	* generated/minloc1_16_i16.c: Regenerate.
      	* generated/minloc1_16_i2.c: Regenerate.
      	* generated/minloc1_16_i4.c: Regenerate.
      	* generated/minloc1_16_i8.c: Regenerate.
      	* generated/minloc1_16_r10.c: Regenerate.
      	* generated/minloc1_16_r16.c: Regenerate.
      	* generated/minloc1_16_r4.c: Regenerate.
      	* generated/minloc1_16_r8.c: Regenerate.
      	* generated/minloc1_4_i1.c: Regenerate.
      	* generated/minloc1_4_i16.c: Regenerate.
      	* generated/minloc1_4_i2.c: Regenerate.
      	* generated/minloc1_4_i4.c: Regenerate.
      	* generated/minloc1_4_i8.c: Regenerate.
      	* generated/minloc1_4_r10.c: Regenerate.
      	* generated/minloc1_4_r16.c: Regenerate.
      	* generated/minloc1_4_r4.c: Regenerate.
      	* generated/minloc1_4_r8.c: Regenerate.
      	* generated/minloc1_8_i1.c: Regenerate.
      	* generated/minloc1_8_i16.c: Regenerate.
      	* generated/minloc1_8_i2.c: Regenerate.
      	* generated/minloc1_8_i4.c: Regenerate.
      	* generated/minloc1_8_i8.c: Regenerate.
      	* generated/minloc1_8_r10.c: Regenerate.
      	* generated/minloc1_8_r16.c: Regenerate.
      	* generated/minloc1_8_r4.c: Regenerate.
      	* generated/minloc1_8_r8.c: Regenerate.
      	* generated/minval_i1.c: Regenerate.
      	* generated/minval_i16.c: Regenerate.
      	* generated/minval_i2.c: Regenerate.
      	* generated/minval_i4.c: Regenerate.
      	* generated/minval_i8.c: Regenerate.
      	* generated/minval_r10.c: Regenerate.
      	* generated/minval_r16.c: Regenerate.
      	* generated/minval_r4.c: Regenerate.
      	* generated/minval_r8.c: Regenerate.
      	* generated/norm2_r10.c: Regenerate.
      	* generated/norm2_r16.c: Regenerate.
      	* generated/norm2_r4.c: Regenerate.
      	* generated/norm2_r8.c: Regenerate.
      	* generated/pack_c10.c: Regenerate.
      	* generated/pack_c16.c: Regenerate.
      	* generated/pack_c4.c: Regenerate.
      	* generated/pack_c8.c: Regenerate.
      	* generated/pack_i1.c: Regenerate.
      	* generated/pack_i16.c: Regenerate.
      	* generated/pack_i2.c: Regenerate.
      	* generated/pack_i4.c: Regenerate.
      	* generated/pack_i8.c: Regenerate.
      	* generated/pack_r10.c: Regenerate.
      	* generated/pack_r16.c: Regenerate.
      	* generated/pack_r4.c: Regenerate.
      	* generated/pack_r8.c: Regenerate.
      	* generated/parity_l1.c: Regenerate.
      	* generated/parity_l16.c: Regenerate.
      	* generated/parity_l2.c: Regenerate.
      	* generated/parity_l4.c: Regenerate.
      	* generated/parity_l8.c: Regenerate.
      	* generated/product_c10.c: Regenerate.
      	* generated/product_c16.c: Regenerate.
      	* generated/product_c4.c: Regenerate.
      	* generated/product_c8.c: Regenerate.
      	* generated/product_i1.c: Regenerate.
      	* generated/product_i16.c: Regenerate.
      	* generated/product_i2.c: Regenerate.
      	* generated/product_i4.c: Regenerate.
      	* generated/product_i8.c: Regenerate.
      	* generated/product_r10.c: Regenerate.
      	* generated/product_r16.c: Regenerate.
      	* generated/product_r4.c: Regenerate.
      	* generated/product_r8.c: Regenerate.
      	* generated/reshape_c10.c: Regenerate.
      	* generated/reshape_c16.c: Regenerate.
      	* generated/reshape_c4.c: Regenerate.
      	* generated/reshape_c8.c: Regenerate.
      	* generated/reshape_i16.c: Regenerate.
      	* generated/reshape_i4.c: Regenerate.
      	* generated/reshape_i8.c: Regenerate.
      	* generated/reshape_r10.c: Regenerate.
      	* generated/reshape_r16.c: Regenerate.
      	* generated/reshape_r4.c: Regenerate.
      	* generated/reshape_r8.c: Regenerate.
      	* generated/shape_i1.c: Regenerate.
      	* generated/shape_i16.c: Regenerate.
      	* generated/shape_i2.c: Regenerate.
      	* generated/shape_i4.c: Regenerate.
      	* generated/shape_i8.c: Regenerate.
      	* generated/spread_c10.c: Regenerate.
      	* generated/spread_c16.c: Regenerate.
      	* generated/spread_c4.c: Regenerate.
      	* generated/spread_c8.c: Regenerate.
      	* generated/spread_i1.c: Regenerate.
      	* generated/spread_i16.c: Regenerate.
      	* generated/spread_i2.c: Regenerate.
      	* generated/spread_i4.c: Regenerate.
      	* generated/spread_i8.c: Regenerate.
      	* generated/spread_r10.c: Regenerate.
      	* generated/spread_r16.c: Regenerate.
      	* generated/spread_r4.c: Regenerate.
      	* generated/spread_r8.c: Regenerate.
      	* generated/sum_c10.c: Regenerate.
      	* generated/sum_c16.c: Regenerate.
      	* generated/sum_c4.c: Regenerate.
      	* generated/sum_c8.c: Regenerate.
      	* generated/sum_i1.c: Regenerate.
      	* generated/sum_i16.c: Regenerate.
      	* generated/sum_i2.c: Regenerate.
      	* generated/sum_i4.c: Regenerate.
      	* generated/sum_i8.c: Regenerate.
      	* generated/sum_r10.c: Regenerate.
      	* generated/sum_r16.c: Regenerate.
      	* generated/sum_r4.c: Regenerate.
      	* generated/sum_r8.c: Regenerate.
      	* generated/unpack_c10.c: Regenerate.
      	* generated/unpack_c16.c: Regenerate.
      	* generated/unpack_c4.c: Regenerate.
      	* generated/unpack_c8.c: Regenerate.
      	* generated/unpack_i1.c: Regenerate.
      	* generated/unpack_i16.c: Regenerate.
      	* generated/unpack_i2.c: Regenerate.
      	* generated/unpack_i4.c: Regenerate.
      	* generated/unpack_i8.c: Regenerate.
      	* generated/unpack_r10.c: Regenerate.
      	* generated/unpack_r16.c: Regenerate.
      	* generated/unpack_r4.c: Regenerate.
      	* generated/unpack_r8.c: Regenerate.
      
      From-SVN: r243846
      Francois-Xavier Coudert committed
    • abort.c: Remove unused headers. · 981c0cd1
      	* intrinsics/abort.c: Remove unused headers.
      	* intrinsics/access.c: Remove unused headers.
      	* intrinsics/chdir.c: Remove unused headers.
      	* intrinsics/chmod.c: Remove unused headers.
      	* intrinsics/cshift0.c: Remove unused headers.
      	* intrinsics/ctime.c: Remove unused headers.
      	* intrinsics/eoshift0.c: Remove unused headers.
      	* intrinsics/eoshift2.c: Remove unused headers.
      	* intrinsics/extends_type_of.c: Remove unused headers.
      	* intrinsics/link.c: Remove unused headers.
      	* intrinsics/pack_generic.c: Remove unused headers.
      	* intrinsics/perror.c: Remove unused headers.
      	* intrinsics/rename.c: Remove unused headers.
      	* intrinsics/reshape_generic.c: Remove unused headers.
      	* intrinsics/sleep.c: Remove unused headers.
      	* intrinsics/spread_generic.c: Remove unused headers.
      	* intrinsics/stat.c: Remove unused headers.
      	* intrinsics/string_intrinsics.c: Remove unused headers.
      	* intrinsics/symlnk.c: Remove unused headers.
      	* intrinsics/system.c: Remove unused headers.
      	* intrinsics/umask.c: Remove unused headers.
      	* intrinsics/unlink.c: Remove unused headers.
      	* intrinsics/unpack_generic.c: Remove unused headers.
      	* io/read.c: Remove unused headers.
      	* io/transfer.c: Remove unused headers.
      	* io/unix.c: Remove unused headers.
      	* io/write.c: Remove unused headers.
      	* m4/all.m4: Remove unused headers.
      	* m4/any.m4: Remove unused headers.
      	* m4/bessel.m4: Remove unused headers.
      	* m4/count.m4: Remove unused headers.
      	* m4/cshift0.m4: Remove unused headers.
      	* m4/cshift1.m4: Remove unused headers.
      	* m4/eoshift1.m4: Remove unused headers.
      	* m4/eoshift3.m4: Remove unused headers.
      	* m4/iall.m4: Remove unused headers.
      	* m4/iany.m4: Remove unused headers.
      	* m4/in_pack.m4: Remove unused headers.
      	* m4/in_unpack.m4: Remove unused headers.
      	* m4/iparity.m4: Remove unused headers.
      	* m4/maxloc0.m4: Remove unused headers.
      	* m4/maxloc1.m4: Remove unused headers.
      	* m4/maxval.m4: Remove unused headers.
      	* m4/minloc0.m4: Remove unused headers.
      	* m4/minloc1.m4: Remove unused headers.
      	* m4/minval.m4: Remove unused headers.
      	* m4/norm2.m4: Remove unused headers.
      	* m4/pack.m4: Remove unused headers.
      	* m4/parity.m4: Remove unused headers.
      	* m4/product.m4: Remove unused headers.
      	* m4/reshape.m4: Remove unused headers.
      	* m4/shape.m4: Remove unused headers.
      	* m4/spread.m4: Remove unused headers.
      	* m4/sum.m4: Remove unused headers.
      	* m4/unpack.m4: Remove unused headers.
      	* runtime/backtrace.c: Remove unused headers.
      	* runtime/convert_char.c: Remove unused headers.
      	* runtime/in_pack_generic.c: Remove unused headers.
      	* runtime/in_unpack_generic.c: Remove unused headers.
      	* runtime/main.c: Remove unused headers.
      	* runtime/stop.c: Remove unused headers.
      	* generated/all_l1.c: Regenerate.
      	* generated/all_l16.c: Regenerate.
      	* generated/all_l2.c: Regenerate.
      	* generated/all_l4.c: Regenerate.
      	* generated/all_l8.c: Regenerate.
      	* generated/any_l1.c: Regenerate.
      	* generated/any_l16.c: Regenerate.
      	* generated/any_l2.c: Regenerate.
      	* generated/any_l4.c: Regenerate.
      	* generated/any_l8.c: Regenerate.
      	* generated/bessel_r10.c: Regenerate.
      	* generated/bessel_r16.c: Regenerate.
      	* generated/bessel_r4.c: Regenerate.
      	* generated/bessel_r8.c: Regenerate.
      	* generated/count_16_l.c: Regenerate.
      	* generated/count_1_l.c: Regenerate.
      	* generated/count_2_l.c: Regenerate.
      	* generated/count_4_l.c: Regenerate.
      	* generated/count_8_l.c: Regenerate.
      	* generated/cshift0_c10.c: Regenerate.
      	* generated/cshift0_c16.c: Regenerate.
      	* generated/cshift0_c4.c: Regenerate.
      	* generated/cshift0_c8.c: Regenerate.
      	* generated/cshift0_i1.c: Regenerate.
      	* generated/cshift0_i16.c: Regenerate.
      	* generated/cshift0_i2.c: Regenerate.
      	* generated/cshift0_i4.c: Regenerate.
      	* generated/cshift0_i8.c: Regenerate.
      	* generated/cshift0_r10.c: Regenerate.
      	* generated/cshift0_r16.c: Regenerate.
      	* generated/cshift0_r4.c: Regenerate.
      	* generated/cshift0_r8.c: Regenerate.
      	* generated/cshift1_16.c: Regenerate.
      	* generated/cshift1_4.c: Regenerate.
      	* generated/cshift1_8.c: Regenerate.
      	* generated/eoshift1_16.c: Regenerate.
      	* generated/eoshift1_4.c: Regenerate.
      	* generated/eoshift1_8.c: Regenerate.
      	* generated/eoshift3_16.c: Regenerate.
      	* generated/eoshift3_4.c: Regenerate.
      	* generated/eoshift3_8.c: Regenerate.
      	* generated/iall_i1.c: Regenerate.
      	* generated/iall_i16.c: Regenerate.
      	* generated/iall_i2.c: Regenerate.
      	* generated/iall_i4.c: Regenerate.
      	* generated/iall_i8.c: Regenerate.
      	* generated/iany_i1.c: Regenerate.
      	* generated/iany_i16.c: Regenerate.
      	* generated/iany_i2.c: Regenerate.
      	* generated/iany_i4.c: Regenerate.
      	* generated/iany_i8.c: Regenerate.
      	* generated/in_pack_c10.c: Regenerate.
      	* generated/in_pack_c16.c: Regenerate.
      	* generated/in_pack_c4.c: Regenerate.
      	* generated/in_pack_c8.c: Regenerate.
      	* generated/in_pack_i1.c: Regenerate.
      	* generated/in_pack_i16.c: Regenerate.
      	* generated/in_pack_i2.c: Regenerate.
      	* generated/in_pack_i4.c: Regenerate.
      	* generated/in_pack_i8.c: Regenerate.
      	* generated/in_pack_r10.c: Regenerate.
      	* generated/in_pack_r16.c: Regenerate.
      	* generated/in_pack_r4.c: Regenerate.
      	* generated/in_pack_r8.c: Regenerate.
      	* generated/in_unpack_c10.c: Regenerate.
      	* generated/in_unpack_c16.c: Regenerate.
      	* generated/in_unpack_c4.c: Regenerate.
      	* generated/in_unpack_c8.c: Regenerate.
      	* generated/in_unpack_i1.c: Regenerate.
      	* generated/in_unpack_i16.c: Regenerate.
      	* generated/in_unpack_i2.c: Regenerate.
      	* generated/in_unpack_i4.c: Regenerate.
      	* generated/in_unpack_i8.c: Regenerate.
      	* generated/in_unpack_r10.c: Regenerate.
      	* generated/in_unpack_r16.c: Regenerate.
      	* generated/in_unpack_r4.c: Regenerate.
      	* generated/in_unpack_r8.c: Regenerate.
      	* generated/iparity_i1.c: Regenerate.
      	* generated/iparity_i16.c: Regenerate.
      	* generated/iparity_i2.c: Regenerate.
      	* generated/iparity_i4.c: Regenerate.
      	* generated/iparity_i8.c: Regenerate.
      	* generated/maxloc0_16_i1.c: Regenerate.
      	* generated/maxloc0_16_i16.c: Regenerate.
      	* generated/maxloc0_16_i2.c: Regenerate.
      	* generated/maxloc0_16_i4.c: Regenerate.
      	* generated/maxloc0_16_i8.c: Regenerate.
      	* generated/maxloc0_16_r10.c: Regenerate.
      	* generated/maxloc0_16_r16.c: Regenerate.
      	* generated/maxloc0_16_r4.c: Regenerate.
      	* generated/maxloc0_16_r8.c: Regenerate.
      	* generated/maxloc0_4_i1.c: Regenerate.
      	* generated/maxloc0_4_i16.c: Regenerate.
      	* generated/maxloc0_4_i2.c: Regenerate.
      	* generated/maxloc0_4_i4.c: Regenerate.
      	* generated/maxloc0_4_i8.c: Regenerate.
      	* generated/maxloc0_4_r10.c: Regenerate.
      	* generated/maxloc0_4_r16.c: Regenerate.
      	* generated/maxloc0_4_r4.c: Regenerate.
      	* generated/maxloc0_4_r8.c: Regenerate.
      	* generated/maxloc0_8_i1.c: Regenerate.
      	* generated/maxloc0_8_i16.c: Regenerate.
      	* generated/maxloc0_8_i2.c: Regenerate.
      	* generated/maxloc0_8_i4.c: Regenerate.
      	* generated/maxloc0_8_i8.c: Regenerate.
      	* generated/maxloc0_8_r10.c: Regenerate.
      	* generated/maxloc0_8_r16.c: Regenerate.
      	* generated/maxloc0_8_r4.c: Regenerate.
      	* generated/maxloc0_8_r8.c: Regenerate.
      	* generated/maxloc1_16_i1.c: Regenerate.
      	* generated/maxloc1_16_i16.c: Regenerate.
      	* generated/maxloc1_16_i2.c: Regenerate.
      	* generated/maxloc1_16_i4.c: Regenerate.
      	* generated/maxloc1_16_i8.c: Regenerate.
      	* generated/maxloc1_16_r10.c: Regenerate.
      	* generated/maxloc1_16_r16.c: Regenerate.
      	* generated/maxloc1_16_r4.c: Regenerate.
      	* generated/maxloc1_16_r8.c: Regenerate.
      	* generated/maxloc1_4_i1.c: Regenerate.
      	* generated/maxloc1_4_i16.c: Regenerate.
      	* generated/maxloc1_4_i2.c: Regenerate.
      	* generated/maxloc1_4_i4.c: Regenerate.
      	* generated/maxloc1_4_i8.c: Regenerate.
      	* generated/maxloc1_4_r10.c: Regenerate.
      	* generated/maxloc1_4_r16.c: Regenerate.
      	* generated/maxloc1_4_r4.c: Regenerate.
      	* generated/maxloc1_4_r8.c: Regenerate.
      	* generated/maxloc1_8_i1.c: Regenerate.
      	* generated/maxloc1_8_i16.c: Regenerate.
      	* generated/maxloc1_8_i2.c: Regenerate.
      	* generated/maxloc1_8_i4.c: Regenerate.
      	* generated/maxloc1_8_i8.c: Regenerate.
      	* generated/maxloc1_8_r10.c: Regenerate.
      	* generated/maxloc1_8_r16.c: Regenerate.
      	* generated/maxloc1_8_r4.c: Regenerate.
      	* generated/maxloc1_8_r8.c: Regenerate.
      	* generated/maxval_i1.c: Regenerate.
      	* generated/maxval_i16.c: Regenerate.
      	* generated/maxval_i2.c: Regenerate.
      	* generated/maxval_i4.c: Regenerate.
      	* generated/maxval_i8.c: Regenerate.
      	* generated/maxval_r10.c: Regenerate.
      	* generated/maxval_r16.c: Regenerate.
      	* generated/maxval_r4.c: Regenerate.
      	* generated/maxval_r8.c: Regenerate.
      	* generated/minloc0_16_i1.c: Regenerate.
      	* generated/minloc0_16_i16.c: Regenerate.
      	* generated/minloc0_16_i2.c: Regenerate.
      	* generated/minloc0_16_i4.c: Regenerate.
      	* generated/minloc0_16_i8.c: Regenerate.
      	* generated/minloc0_16_r10.c: Regenerate.
      	* generated/minloc0_16_r16.c: Regenerate.
      	* generated/minloc0_16_r4.c: Regenerate.
      	* generated/minloc0_16_r8.c: Regenerate.
      	* generated/minloc0_4_i1.c: Regenerate.
      	* generated/minloc0_4_i16.c: Regenerate.
      	* generated/minloc0_4_i2.c: Regenerate.
      	* generated/minloc0_4_i4.c: Regenerate.
      	* generated/minloc0_4_i8.c: Regenerate.
      	* generated/minloc0_4_r10.c: Regenerate.
      	* generated/minloc0_4_r16.c: Regenerate.
      	* generated/minloc0_4_r4.c: Regenerate.
      	* generated/minloc0_4_r8.c: Regenerate.
      	* generated/minloc0_8_i1.c: Regenerate.
      	* generated/minloc0_8_i16.c: Regenerate.
      	* generated/minloc0_8_i2.c: Regenerate.
      	* generated/minloc0_8_i4.c: Regenerate.
      	* generated/minloc0_8_i8.c: Regenerate.
      	* generated/minloc0_8_r10.c: Regenerate.
      	* generated/minloc0_8_r16.c: Regenerate.
      	* generated/minloc0_8_r4.c: Regenerate.
      	* generated/minloc0_8_r8.c: Regenerate.
      	* generated/minloc1_16_i1.c: Regenerate.
      	* generated/minloc1_16_i16.c: Regenerate.
      	* generated/minloc1_16_i2.c: Regenerate.
      	* generated/minloc1_16_i4.c: Regenerate.
      	* generated/minloc1_16_i8.c: Regenerate.
      	* generated/minloc1_16_r10.c: Regenerate.
      	* generated/minloc1_16_r16.c: Regenerate.
      	* generated/minloc1_16_r4.c: Regenerate.
      	* generated/minloc1_16_r8.c: Regenerate.
      	* generated/minloc1_4_i1.c: Regenerate.
      	* generated/minloc1_4_i16.c: Regenerate.
      	* generated/minloc1_4_i2.c: Regenerate.
      	* generated/minloc1_4_i4.c: Regenerate.
      	* generated/minloc1_4_i8.c: Regenerate.
      	* generated/minloc1_4_r10.c: Regenerate.
      	* generated/minloc1_4_r16.c: Regenerate.
      	* generated/minloc1_4_r4.c: Regenerate.
      	* generated/minloc1_4_r8.c: Regenerate.
      	* generated/minloc1_8_i1.c: Regenerate.
      	* generated/minloc1_8_i16.c: Regenerate.
      	* generated/minloc1_8_i2.c: Regenerate.
      	* generated/minloc1_8_i4.c: Regenerate.
      	* generated/minloc1_8_i8.c: Regenerate.
      	* generated/minloc1_8_r10.c: Regenerate.
      	* generated/minloc1_8_r16.c: Regenerate.
      	* generated/minloc1_8_r4.c: Regenerate.
      	* generated/minloc1_8_r8.c: Regenerate.
      	* generated/minval_i1.c: Regenerate.
      	* generated/minval_i16.c: Regenerate.
      	* generated/minval_i2.c: Regenerate.
      	* generated/minval_i4.c: Regenerate.
      	* generated/minval_i8.c: Regenerate.
      	* generated/minval_r10.c: Regenerate.
      	* generated/minval_r16.c: Regenerate.
      	* generated/minval_r4.c: Regenerate.
      	* generated/minval_r8.c: Regenerate.
      	* generated/norm2_r10.c: Regenerate.
      	* generated/norm2_r16.c: Regenerate.
      	* generated/norm2_r4.c: Regenerate.
      	* generated/norm2_r8.c: Regenerate.
      	* generated/pack_c10.c: Regenerate.
      	* generated/pack_c16.c: Regenerate.
      	* generated/pack_c4.c: Regenerate.
      	* generated/pack_c8.c: Regenerate.
      	* generated/pack_i1.c: Regenerate.
      	* generated/pack_i16.c: Regenerate.
      	* generated/pack_i2.c: Regenerate.
      	* generated/pack_i4.c: Regenerate.
      	* generated/pack_i8.c: Regenerate.
      	* generated/pack_r10.c: Regenerate.
      	* generated/pack_r16.c: Regenerate.
      	* generated/pack_r4.c: Regenerate.
      	* generated/pack_r8.c: Regenerate.
      	* generated/parity_l1.c: Regenerate.
      	* generated/parity_l16.c: Regenerate.
      	* generated/parity_l2.c: Regenerate.
      	* generated/parity_l4.c: Regenerate.
      	* generated/parity_l8.c: Regenerate.
      	* generated/product_c10.c: Regenerate.
      	* generated/product_c16.c: Regenerate.
      	* generated/product_c4.c: Regenerate.
      	* generated/product_c8.c: Regenerate.
      	* generated/product_i1.c: Regenerate.
      	* generated/product_i16.c: Regenerate.
      	* generated/product_i2.c: Regenerate.
      	* generated/product_i4.c: Regenerate.
      	* generated/product_i8.c: Regenerate.
      	* generated/product_r10.c: Regenerate.
      	* generated/product_r16.c: Regenerate.
      	* generated/product_r4.c: Regenerate.
      	* generated/product_r8.c: Regenerate.
      	* generated/reshape_c10.c: Regenerate.
      	* generated/reshape_c16.c: Regenerate.
      	* generated/reshape_c4.c: Regenerate.
      	* generated/reshape_c8.c: Regenerate.
      	* generated/reshape_i16.c: Regenerate.
      	* generated/reshape_i4.c: Regenerate.
      	* generated/reshape_i8.c: Regenerate.
      	* generated/reshape_r10.c: Regenerate.
      	* generated/reshape_r16.c: Regenerate.
      	* generated/reshape_r4.c: Regenerate.
      	* generated/reshape_r8.c: Regenerate.
      	* generated/shape_i1.c: Regenerate.
      	* generated/shape_i16.c: Regenerate.
      	* generated/shape_i2.c: Regenerate.
      	* generated/shape_i4.c: Regenerate.
      	* generated/shape_i8.c: Regenerate.
      	* generated/spread_c10.c: Regenerate.
      	* generated/spread_c16.c: Regenerate.
      	* generated/spread_c4.c: Regenerate.
      	* generated/spread_c8.c: Regenerate.
      	* generated/spread_i1.c: Regenerate.
      	* generated/spread_i16.c: Regenerate.
      	* generated/spread_i2.c: Regenerate.
      	* generated/spread_i4.c: Regenerate.
      	* generated/spread_i8.c: Regenerate.
      	* generated/spread_r10.c: Regenerate.
      	* generated/spread_r16.c: Regenerate.
      	* generated/spread_r4.c: Regenerate.
      	* generated/spread_r8.c: Regenerate.
      	* generated/sum_c10.c: Regenerate.
      	* generated/sum_c16.c: Regenerate.
      	* generated/sum_c4.c: Regenerate.
      	* generated/sum_c8.c: Regenerate.
      	* generated/sum_i1.c: Regenerate.
      	* generated/sum_i16.c: Regenerate.
      	* generated/sum_i2.c: Regenerate.
      	* generated/sum_i4.c: Regenerate.
      	* generated/sum_i8.c: Regenerate.
      	* generated/sum_r10.c: Regenerate.
      	* generated/sum_r16.c: Regenerate.
      	* generated/sum_r4.c: Regenerate.
      	* generated/sum_r8.c: Regenerate.
      	* generated/unpack_c10.c: Regenerate.
      	* generated/unpack_c16.c: Regenerate.
      	* generated/unpack_c4.c: Regenerate.
      	* generated/unpack_c8.c: Regenerate.
      	* generated/unpack_i1.c: Regenerate.
      	* generated/unpack_i16.c: Regenerate.
      	* generated/unpack_i2.c: Regenerate.
      	* generated/unpack_i4.c: Regenerate.
      	* generated/unpack_i8.c: Regenerate.
      	* generated/unpack_r10.c: Regenerate.
      	* generated/unpack_r16.c: Regenerate.
      	* generated/unpack_r4.c: Regenerate.
      	* generated/unpack_r8.c: Regenerate.
      
      From-SVN: r243844
      Francois-Xavier Coudert committed
    • re PR libfortran/70311 (libgfortran build dies on "implicit declaration of function strncasecmp") · 71d9113f
      	PR libfortran/70311
      	* intrinsics/selected_char_kind.c: Include <strings.h> header.
      	* runtime/environ.c: Include <strings.h> header.
      	* runtime/string.c: Include <strings.h> header.
      
      From-SVN: r243843
      Francois-Xavier Coudert committed
    • PR 78867 Function returning string ICE with -flto · b528e427
      The fix for PR 78757 was slightly too cautious, and covered only the
      case of functions returning pointers to characters. By moving the
      block above the if statement the DECL_EXPR is created also for
      functions returning non-pointer characters.
      
      Regtested on x86_64-pc-linux-gnu.
      
      fortran ChangeLog:
      
      2016-12-21  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR fortran/78867
      	* trans-expr.c (gfc_conv_procedure_call): Emit DECL_EXPR also for
      	non-pointer character results.
      
      testsuite ChangeLog:
      
      2016-12-21  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR fortran/78867
      	* gfortran.dg/string_length_4.f90: New test.
      
      From-SVN: r243842
      Janne Blomqvist committed