1. 12 Oct, 2016 24 commits
    • exp_ch5.adb, [...]: Minor reformatting. · f31dcd99
      2016-10-12  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_ch5.adb, sem_ch3.adb, exp_ch9.adb, a-tags.adb, sem_prag.adb,
      	sem_ch12.adb, xref_lib.adb, a-strunb-shared.adb, rtsfind.adb,
      	freeze.adb, sem_attr.adb, sem_case.adb, exp_ch4.adb, ghost.adb,
      	exp_ch6.adb, sem_ch4.adb, restrict.adb, s-os_lib.adb: Minor
      	reformatting.
      
      From-SVN: r241041
      Hristian Kirtchev committed
    • [multiple changes] · 0026dd0a
      2016-10-12  Justin Squirek  <squirek@adacore.com>
      
      	* sem_ch10.adb (Remove_Limited_With_Clause): Add a check to
      	detect accidental visibility.
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch4.adb (Expand_Allocator): If the expression is a qualified
      	expression, add a predicate check after the constraint check.
      	* sem_res.adb (Resolve_Qualified_Expression): If context is an
      	allocator, do not apply predicate check, as it will be done when
      	allocator is expanded.
      
      From-SVN: r241040
      Arnaud Charlet committed
    • [multiple changes] · 84a62ce8
      2016-10-12  Bob Duff  <duff@adacore.com>
      
      	* xref_lib.adb: Use renamings-of-slices to ensure
      	that all references to Tables are properly bounds checked (when
      	checks are turned on).
      	* g-dyntab.ads, g-dyntab.adb: Default-initialize the array
      	components, so we don't get uninitialized pointers in case
      	of Tables containing access types.  Misc cleanup of the code
      	and comments.
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute, case 'Type_Key): Implement
      	functionality of attribute, to provide a reasonably unique key
      	for a given type and detect any changes in the semantics of the
      	type or any of its subcomponents from version to version.
      
      2016-10-12  Bob Duff  <duff@adacore.com>
      
      	* sem_case.adb (Check_Choice_Set): Separate
      	checking for duplicates out into a separate pass from checking
      	full coverage, because the check for duplicates does not depend
      	on predicates. Therefore, we shouldn't do it separately for the
      	predicate vs. no-predicate case; we should share code. The code
      	for the predicate case was wrong.
      
      From-SVN: r241039
      Arnaud Charlet committed
    • rtl.h (struct rtx_def): Comment how RTX_FLAGS will be dumped in RTL dumps. · 6e832327
      	* rtl.h (struct rtx_def): Comment how RTX_FLAGS will be
      	dumped in RTL dumps.
      
      From-SVN: r241037
      Georg-Johann Lay committed
    • [multiple changes] · fc3a3580
      2016-10-12  Jerome Lambourg  <lambourg@adacore.com>
      
      	* init.c: Make sure to call finit on x86_64-vx7 to reinitialize
      	the FPU unit.
      
      2016-10-12  Arnaud Charlet  <charlet@adacore.com>
      
      	* lib-load.adb (Load_Unit): Generate an error message even when
      	Error_Node is null.
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* lib-writ.adb (Write_ALI): Disable optimization related to transitive
      	limited_with clauses for now.
      
      2016-10-12  Javier Miranda  <miranda@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute_Old_Result): Generating C
      	code handle 'old located in inlined _postconditions procedures.
      	(Analyze_Attribute [Attribute_Result]): Handle 'result when
      	rewriting the attribute as a reference to the formal parameter
      	_Result of inlined _postconditions procedures.
      
      2016-10-12  Tristan Gingold  <gingold@adacore.com>
      
      	* s-rident.ads (Profile_Info): Remove
      	Max_Protected_Entries restriction from GNAT_Extended_Ravenscar
      	* sem_ch9.adb (Analyze_Protected_Type_Declaration):
      	Not a controlled type on restricted runtimes.
      
      2016-10-12  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_ch3.adb (Derive_Subprogram): Add test
      	for Is_Controlled of Parent_Type when determining whether an
      	inherited subprogram with one of the special names Initialize,
      	Adjust, or Finalize should be derived with its normal name even
      	when inherited as a private operation (which would normally
      	result in the inherited operation having a special "hidden" name).
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_res.adb (Resolve_Call): If a function call returns a
      	limited view of a type replace it with the non-limited view,
      	which must be available when compiling call.  This was already
      	done elsewhere for non-overloaded calls, but needs to be done
      	after resolution if function name is overloaded.
      
      2016-10-12  Javier Miranda  <miranda@adacore.com>
      
      	* a-tags.adb (IW_Membership [private]): new overloaded
      	subprogram that factorizes the code needed to check if a
      	given type implements an interface type.
      	(IW_Membership
      	[public]): invoke the new internal IW_Membership function.
      	(Is_Descendant_At_Same_Level): Fix this routine to implement RM
      	3.9 (12.3/3)
      
      From-SVN: r241036
      Arnaud Charlet committed
    • [multiple changes] · 7504523e
      2016-10-12  Tristan Gingold  <gingold@adacore.com>
      
      	* exp_ch9.adb (Expand_N_Delay_Relative_Statement): Add support
      	for a secondary procedure in case of missing Ada.Calendar.Delays
      	* rtsfind.ads (RTU_Id): Add System_Relative_Delays.
      	(RE_Id): Add RO_RD_Delay_For.
      	* rtsfind.adb (Output_Entity_Name): Handle correctly units RO_XX.
      	* s-rident.ads: Remove No_Relative_Delays
      	restriction for GNAT_Extended_Ravenscar.
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_elab.adb (Within_Initial_Condition):  When deternining
      	the context of the expression, use the original node if it is
      	a pragma, because Check pragmas are rewritten as conditionals
      	when assertions are not enabled.
      
      2016-10-12  Bob Duff  <duff@adacore.com>
      
      	* spitbol_table.ads, spitbol_table.adb (Adjust, Finalize): Add
      	"overriding".
      
      2016-10-12  Bob Duff  <duff@adacore.com>
      
      	* a-strunb-shared.ads, a-strunb-shared.adb (Finalize):
      	Make sure Finalize is idempotent.
      	(Unreference): Check for
      	Empty_Shared_String, in case the reference count of the empty
      	string wraps around.
      	Also add "not null" in various places that can't be null.
      
      2016-10-12  Jerome Lambourg  <lambourg@adacore.com>
      
      	* init.c: Fix sigtramp with the x86_64-vx7-vxsim target on
      	Windows host.
      
      2016-10-12  Vadim Godunko  <godunko@adacore.com>
      
      	* s-os_lib.ads (Is_Owner_Readable_File): Renamed from
      	Is_Readable_File.
      	(Is_Owner_Writable_File): Renamed from Is_Writable_File.
      	(Is_Readable_File): Renames Is_Read_Accessible_File.
      	(Is_Writable_File): Renames Is_Write_Accessible_File.
      
      From-SVN: r241035
      Arnaud Charlet committed
    • Simplify std::call_once implementation · cfbdc34f
      	* include/std/mutex [_GLIBCXX_HAVE_TLS] (_Once_call): Remove.
      	(call_once) [_GLIBCXX_HAVE_TLS]: Simplify by removing _Once_call.
      
      From-SVN: r241034
      Jonathan Wakely committed
    • Add missing return to uninitialized_default_construct_n · 08a53a2e
      	* include/bits/stl_uninitialized.h
      	(__uninitialized_default_novalue_n_1<true>): Add missing return.
      	* testsuite/20_util/specialized_algorithms/memory_management_tools/
      	1.cc: Check return values of uninitialized_xxx_n algorithms.
      
      From-SVN: r241033
      Jonathan Wakely committed
    • Remove 'return' from noreturn function · 40571365
      	* libsupc++/nested_exception.h (throw_with_nested): Remove return.
      
      From-SVN: r241032
      Jonathan Wakely committed
    • Do not copy std:call_once arguments (LWG 2442) · 164b41eb
      	* doc/xml/manual/intro.xml: Document LWG 2442 status.
      	* include/std/mutex [_GLIBCXX_HAVE_TLS] (__once_call_impl): Remove.
      	[_GLIBCXX_HAVE_TLS] (_Once_call): Declare primary template and define
      	partial specialization to unpack args and forward to std::invoke.
      	(call_once) [_GLIBCXX_HAVE_TLS]: Use forward_as_tuple and _Once_call
      	instead of __bind_simple and __once_call_impl.
      	(call_once) [!_GLIBCXX_HAVE_TLS]: Use __invoke instead of
      	__bind_simple.
      	* testsuite/30_threads/call_once/dr2442.cc: New test.
      
      From-SVN: r241031
      Jonathan Wakely committed
    • Add a helper function: create_tmp_reg_or_ssa_name · a15ebbcd
      	* gimple-fold.c (create_tmp_reg_or_ssa_name): New function.
      	(gimple_fold_builtin_memory_op): Use the function.
      	(gimple_fold_builtin_strchr): Likewise.
      	(gimple_fold_builtin_strcat): Likewise.
      	(gimple_build): Likewise.
      
      From-SVN: r241030
      Martin Liska committed
    • sem_ch12.adb (Check_Formal_Package_Instance): Skip an internal formal entity… · 5b4c1029
      sem_ch12.adb (Check_Formal_Package_Instance): Skip an internal formal entity without a parent only if...
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Check_Formal_Package_Instance): Skip an internal
      	formal entity without a parent only if the corresponding actual
      	entity has a different kind.
      	* exp_ch9.adb (Build_Class_Wide_Master): If the master is
      	declared locally, insert the renaming declaration after the
      	master declaration, to prevent access before elaboration in gigi.
      
      From-SVN: r241029
      Ed Schonberg committed
    • contracts.adb (Analyze_Contracts): For a type declaration, analyze an iterable aspect when present. · 05662a06
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>                    
      
      	* contracts.adb (Analyze_Contracts): For a type declaration, analyze
      	an iterable aspect when present.
      
      From-SVN: r241028
      Ed Schonberg committed
    • [multiple changes] · 393525af
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Check_Formal_Package_Instance): Handle properly
      	an instance of a formal package with defaults, when defaulted
      	parameters include tagged private types and array types.
      
      2016-10-12  Tristan Gingold  <gingold@adacore.com>
      
      	* restrict.ads, restrict.adb (Restricted_Profile): Adjust
      	comment, use Restricted_Tasking to compare restrictions.
      	* s-rident.ads (Profile_Name): Add Restricted_Tasking and
      	reorder literals.
      	(Profile_Info): Set restrictions for Restricted_Tasking.
      
      2016-10-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Analyze_Full_Type_Declaration): Set Ghost status
      	of type before elaborating inherited operations, so that the
      	Ghost status is set properly for them.
      	* ghost.adb (Check_Ghost_Overriding): A ghost subprogram can
      	override an abstract subprogram coming from an interface
      	operation.
      
      From-SVN: r241026
      Arnaud Charlet committed
    • re PR ada/64057 (possible issue in the shared implementation of Ada.Strings.Unbounded) · f40dbd80
      2016-10-12  Eric Botcazou  <ebotcazou@adacore.com>
      
      	PR ada/64057
      	* exp_ch5.adb (Is_Non_Local_Array): Return true for every array
      	that is not a component or slice of an entity in the current
      	scope.
      
      From-SVN: r241025
      Eric Botcazou committed
    • DWARF: space-optimize loc. descr. for integer literals on 32-bit targets · b4a9ef2f
      This enhances location description generation so that the generated
      opcodes for integer literals are as space-efficient when HOST_WIDE_INT
      is 64-bits large than when it's 32-bits large. In particular, this
      reduces the size of the opcodes generated to produce big unsigned
      literals using small literal integers instead.
      
      gcc/
      
      	* dwarf2out.c (int_loc_descriptor): Generate opcodes for another
      	equivalent 32-bit constant (modulo 2**32) when that yields
      	smaller instructions.
      	(size_of_int_loc_descriptor): Update accordingly.
      
      gcc/testsuite/
      
      	* gnat.dg/debug8.adb: New testcase.
      
      From-SVN: r241024
      Pierre-Marie de Rodat committed
    • DWARF: fix scoping for descriptions of local types · c0dbd22d
      In Ada, it is possible to have nested subprograms in the following
      configuration:
      
          procedure Parent is
             type T;
             [...]
             procedure Child (Value : T) is
             begin
                [...]
             end Child;
          begin
             [...]
          end Parent;
      
      As we currently generate debugging information for Child first before
      Parent, the debug info for T appears in global scope since the DIE for
      Parent does not exist yet.
      
      This patch makes sure that when we generate early debug info for a
      nested function, we trigger generation for the parent function first.
      
      gcc/
      
      	* dwarf2out.c (dwarf2out_early_global_decl): For nested
      	functions, call dwarf2out_decl on the parent function first.
      
      gcc/testsuite/
      
      	* gnat.dg/debug9.adb: New testcase.
      
      From-SVN: r241023
      Pierre-Marie de Rodat committed
    • match.pd ((X /[ex] A) * A -> X): Remove unnecessary constraint on the conversion. · 7d7f9288
      2016-10-12  Richard Biener  <rguenther@suse.de>
      
      	* match.pd ((X /[ex] A) * A -> X): Remove unnecessary constraint
      	on the conversion.
      
      From-SVN: r241022
      Richard Biener committed
    • 2016-10-12 Richard Biener <rguenther@suse.de> · 8a7c91cd
      	* tree-ssa-propagate.c
      	(substitute_and_fold_dom_walker::before_dom_children): Do not
      	ignore ASSERT_EXPRs but only preserve them.
      	* tree-vrp.c (remove_range_assertions): Deal with ASSERT_EXPRs
      	that have been propagated into.
      	(vrp_finalize): Enable DCE for substitute_and_fold.
      
      	* gcc.dg/tree-ssa/vrp35.c: Adjust.
      	* gcc.dg/tree-ssa/vrp36.c: Likewise.
      	* gcc.dg/tree-ssa/vrp46.c: Likewise.
      
      From-SVN: r241021
      Richard Biener committed
    • re PR middle-end/77920 (186.crafty doesn't compile) · 7dc2f5f1
      2016-10-12  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/77920
      	* tree-vrp.c (simplify_div_or_mod_using_ranges): Simplify.
      	(simplify_min_or_max_using_ranges): Pass in gsi and use it.
      	(simplify_abs_using_ranges): Likewise.
      	(simplify_conversion_using_ranges): Likewise.
      	(simplify_stmt_using_ranges): Adjust.
      
      	* gcc.dg/torture/pr77920.c: New testcase.
      
      From-SVN: r241020
      Richard Biener committed
    • re PR tree-optimization/77929 (ICE: verify_gimple failed (error: non-trivial… · 4a8b97cb
      re PR tree-optimization/77929 (ICE: verify_gimple failed (error: non-trivial conversion at assignment))
      
      	PR tree-optimization/77929
      	* tree-ssa-reassoc.c (optimize_range_tests_var_bound): Handle
      	(*ops)[ranges[i].idx]->op != ranges[i].exp case.
      
      	* gcc.c-torture/compile/pr77929.c: New test.
      
      From-SVN: r241019
      Jakub Jelinek committed
    • re PR target/77934 (pattern for mtvsrdd needs to use b constraint not r) · 83d3ca28
      2016-10-12  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
      
      	PR target/77934
      	* config/rs6000/vmx.md (vsx_concat_<mode>): The mtvsrdd instruction
      	needs a base register for arg 1.
      
      From-SVN: r241017
      Aaron Sawdey committed
    • Daily bump. · 9833e931
      From-SVN: r241016
      GCC Administrator committed
  2. 11 Oct, 2016 16 commits
    • gcc/ · 70f6d5e1
      	* common.opt (Wimplicit-fallthrough) Turn into alias to
      	-Wimplicit-fallthrough=3.  Remove EnabledBy.
      	(Wimplicit-fallthrough=): New option.
      	* gimplify.c (warn_implicit_fallthrough_r): Use
      	OPT_Wimplicit_fallthrough_ instead of OPT_Wimplicit_fallthrough.
      	* doc/invoke.texi (-Wimplicit-fallthrough): Document as alias
      	to -Wimplicit-fallthrough=3.
      	(-Wimplicit-fallthrough=): Document.
      gcc/c-family/
      	* c.opt (Wextra): Add as C/C++/ObjC/ObjC++ option.
      	(Wimplicit-fallthrough=): Enable for these languages by -Wextra.
      	* c-opts.c (sanitize_cpp_opts): Initialize
      	cpp_opts->cpp_warn_implicit_fallthrough.
      gcc/testsuite/
      	* c-c++-common/Wimplicit-fallthrough-25.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-26.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-27.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-28.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-29.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-30.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-31.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-32.c: New test.
      	* c-c++-common/Wimplicit-fallthrough-33.c: New test.
      libcpp/
      	* include/cpplib.h (struct cpp_options): Add
      	cpp_warn_implicit_fallthrough.
      	* init.c (cpp_create_reader): Initialize it to 0.
      	* lex.c (fallthrough_comment_p): Handle different
      	cpp_warn_implicit_fallthrough levels.  Whitespace fixes.
      
      From-SVN: r241013
      Jakub Jelinek committed
    • sparc.c (emit_scc_insn): Remove direct support for EQ and GEU in DImode if TARGET_SUBXC. · 4803de58
      	* config/sparc/sparc.c (emit_scc_insn): Remove direct support for EQ
      	and GEU in DImode if TARGET_SUBXC.
      	* config/sparc/sparc.md (seqdi<W:mode>_zero): Remove TARGET_SUBXC.
      	(seqdi<W:mode>_zero_subxc): Delete.
      	(neg_seqdi<W:mode>_zero): Remove TARGET_VIS3.
      	(neg_seqdi<W:mode>_zero_vis3): Delete.
      	(plus_seqdi<W:mode>_zero): Likewise.
      	(minus_seqdi<W:mode>_zero): Likewise.
      	(plus_plus_sltu<W:mode>): Accept only register.
      	(addx<W:mode>): Likewise.
      	(plus_sltu<W:mode>_vis3): Likewise.
      	(plus_plus_sltu<W:mode>_vis3): Likewise.
      	(neg_sgeu<W:mode>_vis3): Delete.
      	(minus_sgeu<W:mode>_vis3): Likewise.
      	(addxc<W:mode>): Accept only registers.
      	(neg_sltu<W:mode>_subxc): Write %%g0 instead of 0.
      	(minus_neg_sltu<W:mode>_subxc): Accept only register.
      	(neg_plus_sltu<W:mode>_subxc): Likewise.
      	(minus_sltu<W:mode>_subxc): Write %%g0 instead of 0.
      	(minus_minus_sltu<W:mode>_subxc): Accept only register.
      	(sgeu<W:mode>_insn_subxc): Delete.
      	(plus_sgeu<W:mode>_subxc): Likewise.
      	(subxc<W:mode>): Accept only register.
      	(scc splitter): Split always GEU again.
      
      From-SVN: r241012
      Eric Botcazou committed
    • iresolve.c (is_trig_resolved, [...]): Formatting fixes. · 0a4613f0
      	* iresolve.c (is_trig_resolved, resolve_trig_call): Formatting fixes.
      	* simplify.c (simplify_trig_call, degrees_f, radians_f,
      	gfc_simplify_atrigd, gfc_simplify_cotan): Likewise.
      
      From-SVN: r241010
      Jakub Jelinek committed
    • re PR tree-optimization/77424 (Identical statements in if-else branches) · 1fdf74c7
      	PR tree-optimization/77424
      	* tree-ssa-threadupdate.c (thread_through_all_blocks): Remove
      	dead conditionals.  Assert that all e->aux fields are NULL.
      
      From-SVN: r241009
      Jeff Law committed
    • re PR fortran/77942 (ICE: Floating point exception, in gfc_simplify_cshift, at… · f6cf4810
      re PR fortran/77942 (ICE: Floating point exception, in gfc_simplify_cshift, at fortran/simplify.c:1845)
      
      2016-10-11  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/77942
      	* simplify.c (gfc_simplify_cshift): Check for zero.
      
      2016-10-11  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/77942
      	* gfortran.dg/pr77942.f90
      
      From-SVN: r241008
      Steven G. Kargl committed
    • system-linux-armeb.ads (Backend_Overflow_Checks): Change to True. · 25607230
      	* system-linux-armeb.ads (Backend_Overflow_Checks): Change to True.
      	* system-linux-mips.ads (Backend_Overflow_Checks): Likewise.
      	* system-linux-mips64el.ads (Backend_Overflow_Checks): Likewise.
      	* system-linux-mipsel.ads (Backend_Overflow_Checks): Likewise.
      	* system-linux-sparcv9.ads (Backend_Overflow_Checks): Likewise.
      	* system-rtems.ads: Likewise.
      
      From-SVN: r241003
      Eric Botcazou committed
    • Split print_rtx into subroutines · acda0629
      gcc/ChangeLog:
      	* print-rtl.c (print_rtx): Rename "i" to "idx".  Split out the
      	operand-printing "switch" statement into...
      	(print_rtx_operand_code_0): ...this new function, ...
      	(print_rtx_operand_code_e): ...this new function, ...
      	(print_rtx_operand_codes_E_and_V): ...this new function, ...
      	(print_rtx_operand_code_i): ...this new function, ...
      	(print_rtx_operand_code_r): ...this new function, ...
      	(print_rtx_operand_code_u): ...this new function, ...
      	(print_rtx_operand): ...and this new function.
      
      From-SVN: r241002
      David Malcolm committed
    • Fix bad commit for -fdec-math. · ec08df86
      2016-10-11  Fritz Reese  <fritzoreese@gmail.com>
      
      Fix bad commit for -fdec-math.
      
      	* iresolve.c (get_radians, get_degrees): Fix sloppy commit.
      	* simplify.c (degrees_f, radians_f): Ditto.
      
      From-SVN: r241001
      Fritz Reese committed
    • simplify.c (radians_f): Fix mpdr_mod. · e8e5329d
      2016-10-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* simplify.c (radians_f): Fix mpdr_mod.
      	* ireolce.c (get_degrees): Declare tmp.
      
      From-SVN: r241000
      Jerry DeLisle committed
    • adaint.c: Include process.h, signal.h, dir.h and utime.h for DJGPP. · 91f2eb13
      2016-10-11  Andris Pavenis  <andris.pavenis@iki.fi>
      
      	* adaint.c: Include process.h, signal.h, dir.h and utime.h for DJGPP.
      	ISALPHA: include <ctype.h> and define to isalpha for DJGPP when IN_RTS is defined.
      	(DIR_SEPARATOR) define to '\\' for DJGPP.
      	(__gnat_get_file_names_case_sensitive): return 0 for DJGPP unless
      	overriden in environment
      	(__gnat_is_absolute_path): Support MS-DOS style absolute paths for DJGPP.
      	(__gnat_portable_spawn): Use spewnvp for DJGPP.
      	(__gnat_portable_no_block_spawn): Use spawnvp for DJGPP.
      	(__gnat_portable_wait): Return 0 for DJGPP.
      
      From-SVN: r240999
      Andris Pavenis committed
    • Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target · a5297b04
      2016-10-11  Andris Pavenis  <andris.pavenis@iki.fi>
      
      	* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target
      	(EH_MECHANISM): Define to -gcc for DJGPP
      	* system-djgpp.ads: New file
      
      From-SVN: r240998
      Andris Pavenis committed
    • ctrl_c.c: Do not use macro SA_RESTART for DJGPP. · 4f100fd7
      2016-10-11  Andris Pavenis  <andris.pavenis@iki.fi>
      
      	* ctrl_c.c: Do not use macro SA_RESTART for DJGPP.
      	* gsocket.h: Do not support sockets for DJGPP.
      	* init.c (__gnat_install_handler): Implememt for DJGPP
      	* sysdep.c: Include <io.h> for DJGPP
      	(_setmode): Define to setmode for DJGPP
      	(__gnat_set_mode): Add implementation for DJGPP
      	(__gnat_localtime_tzoff): Use localtime_r for DJGPP
      	* terminals.c: Add DJGPP to list of unsupported platforms.
      	* env.c (__gnat_clearenv): use _gnat_unsetenv on all entries for DJGPP
      
      From-SVN: r240997
      Andris Pavenis committed
    • alpha-passes.def: New file. · a32fc216
      	* config/alpha/alpha-passes.def: New file.
      	* config/alpha/t-alpha: New file.
      	* config/alpha/alpha-protos.h (gcc::context, rtl_opt_pass): Declare.
      	(make_pass_handle_trap_shadows): New prototype.
      	(make_pass_align_insns): Ditto.
      	* config/alpha/alpha.c (alpha_option_override): Don't register
      	passes here.
      	* config.gcc (alpha*-*-*) Add alpha/t-alpha to tmake_file.
      
      From-SVN: r240996
      Uros Bizjak committed
    • re PR target/77924 (-mfloat128-type change broke AIX) · 66d76fc9
      2016-10-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/77924
      	* config/rs6000/rs6000.c (rs6000_init_builtins): Only create the
      	distinct __ibm128 IBM extended double type if long doubles are
      	128-bits and the default format for long double is IEEE 128-bit.
      
      From-SVN: r240994
      Michael Meissner committed
    • configure: redirect -fsplit-stack compilation to dev/null · 207f844e
          
          Avoid an error message in the middle of the configure output.
          
          Patch by Eric Botcazou.
          
          Reviewed-on: https://go-review.googlesource.com/30813
      
      From-SVN: r240993
      Ian Lance Taylor committed
    • dwarf2out.c (DEBUG_STR_OFFSETS_SECTION): Remove conditional. · a26ff5b5
      2016-10-11  Richard Biener  <rguenther@suse.de>
      
      	* dwarf2out.c (DEBUG_STR_OFFSETS_SECTION): Remove conditional.
      	(init_sections_and_labels): Use DEBUG_DWO_STR_OFFSETS_SECTION.
      	(verify_die): New function.
      	(dwarf2out_finish): Call it.
      	(output_line_info): Handle case of -gsplit-dwarf without
      	DWARF2_ASM_LINE_DEBUG_INFO.
      
      From-SVN: r240992
      Richard Biener committed