1. 24 Apr, 2016 5 commits
  2. 23 Apr, 2016 6 commits
  3. 22 Apr, 2016 11 commits
  4. 21 Apr, 2016 18 commits
    • X86: Fix a typo in call_insn_operand · 04a63c24
      r231923 has
      
       ;; Test for a valid operand for a call instruction.
       ;; Allow constant call address operands in Pmode only.
       (define_special_predicate "call_insn_operand"
         (ior (match_test "constant_call_address_operand
       		     (op, mode == VOIDmode ? mode : Pmode)")
              (match_operand 0 "call_register_no_elim_operand")
      -       (and (not (match_test "TARGET_X32"))
      -	    (match_operand 0 "memory_operand"))))
      +       (ior (and (not (match_test "TARGET_X32"))
      +		 (match_operand 0 "sibcall_memory_operand"))
                                         ^^^^^^^^^^^^^^^^^^^^^^^ A typo.
      +	    (and (match_test "TARGET_X32 && Pmode == DImode")
      +		 (match_operand 0 "GOT_memory_operand")))))
      
      "sibcall_memory_operand" should be "memory_operand".
      
      gcc/
      
      	PR target/70750
      	* config/i386/predicates.md (call_insn_operand): Replace
      	sibcall_memory_operand with memory_operand.
      
      gcc/testsuite/
      
      	PR target/70750
      	* gcc.target/i386/pr70750-1.c: New test.
      	* gcc.target/i386/pr70750-2.c: Likewise.
      
      From-SVN: r235353
      H.J. Lu committed
    • vrp: remove redundant has_single_use tests · 6e07f9aa
      gcc/ChangeLog:
      
      	* tree-vrp.c (register_edge_assert_for_2): Remove redundant
      	has_single_use() tests.
      	(register_edge_assert_for_1): Likewise.
      	(find_assert_locations_1): Check the liveness bitmap instead of
      	checking has_single_use().
      
      From-SVN: r235352
      Patrick Palka committed
    • Reuse the saved_scope structures allocated by push_to_top_level · 5c712250
      gcc/cp/ChangeLog:
      
      	* name-lookup.c (free_saved_scope): New free list of saved_scope
      	structures.
      	(push_to_top_level): Attempt to reuse a saved_scope struct
      	from free_saved_scope instead of allocating a new one each time.
      	(pop_from_top_level_1): Chain the now-unused saved_scope structure
      	onto free_saved_scope.
      
      From-SVN: r235351
      Patrick Palka committed
    • * sv.po: Update. · 617d8e43
      From-SVN: r235349
      Joseph Myers committed
    • re PR c++/70540 (ICE on invalid code in cxx_incomplete_type_diagnostic, at cp/typeck2.c:569) · 20700098
      /cp
      2016-04-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/70540
      	* semantics.c (process_outer_var_ref): Unconditionally return
      	error_mark_node when mark_used returns false.
      
      /testsuite
      2016-04-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/70540
      	* g++.dg/cpp0x/auto48.C: New.
      
      From-SVN: r235348
      Paolo Carlini committed
    • re PR c++/70513 (ICE on invalid C++ code on x86_64-linux-gnu: Segmentation fault) · aedf4e12
      	PR c++/70513
      	* parser.c (cp_parser_enum_specifier): Check and possibly error for
      	extra qualification.
      
      	* g++.dg/cpp0x/forw_enum12.C: New test.
      	* g++.dg/cpp0x/forw_enum13.C: New test.
      
      From-SVN: r235347
      Marek Polacek committed
    • AVX-512. PR target/70728. Use separate constraint for AVX-512BW · 2074d80a
      
      PR target/70728
      gcc/
      	* gcc/config/i386/sse.md (define_insn "<shift_insn><mode>3<mask_name>"):
      	Extract AVX-512BW constraint from AVX.
      gcc/testsuite/
      	* gcc.target/i386/pr70728.c: New test.
      
      From-SVN: r235344
      Kirill Yukhin committed
    • Regenerate .pot files. · 0ba94d02
      gcc/po:
      	* gcc.pot: Regenerate.
      
      libcpp/po:
      	* cpplib.pot: Regenerate.
      
      From-SVN: r235342
      Joseph Myers committed
    • re PR tree-optimization/70725 (Internal compiler error (ICE) on valid code) · 49f428c9
      2016-04-21  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/70725
      	* tree-if-conv.c (if_convertible_phi_p): Adjust guard
      	for phi_convertible_by_degenerating_args.
      	(predicate_all_scalar_phis): Handle single-argument PHIs.
      
      From-SVN: r235341
      Richard Biener committed
    • libgomp nvptx plugin: make cuMemFreeHost error non-fatal · c2bd3b69
      From-SVN: r235339
      Alexander Monakov committed
    • Cherry-pick r266868 from upstream. · fefddbef
      	PR sanitizer/70624                                                                                                             
      	* asan/asan_mac.cc: Cherry pick upstream r266868.
      
      From-SVN: r235338
      Maxim Ostapenko committed
    • re PR middle-end/70747 (ICE on valid code on x86_64-linux-gnu: verify_gimple failed) · aef4aab0
      2016-04-21  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/70747
      	* fold-const.c (fold_comparison): Return properly typed
      	constant boolean.
      
      	* gcc.dg/pr70747.c: New testcase.
      
      From-SVN: r235335
      Richard Biener committed
    • re PR tree-optimization/70715 (SCEV failed to prove no-overflow-ness information unsigned loop IV) · 2359e571
      	PR tree-optimization/70715
      	* tree-ssa-loop-niter.c (loop_exits_before_overflow): Check equality
      	after expanding BASE using expand_simple_operations.
      
      	gcc/testsuite/ChangeLog
      	PR tree-optimization/70715
      	* gcc.dg/tree-ssa/scev-13.c: New test.
      
      From-SVN: r235333
      Bin Cheng committed
    • min(-x, -y), min(~x, ~y) · ce0e66ff
      2016-04-21  Marc Glisse  <marc.glisse@inria.fr>
      
      gcc/
      	* match.pd (min(-x, -y), max(-x, -y), min(~x, ~y), max(~x, ~y)):
      	New transformations.
      
      gcc/testsuite/
      	* gcc.dg/tree-ssa/minmax-2.c: New testcase.
      
      From-SVN: r235332
      Marc Glisse committed
    • [multiple changes] · 6c7f7b8c
      2016-04-21  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Match_Constituent): Treat a constant as a legal
      	constituent even if it is not to prevent spurious errors.
      
      2016-04-21  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_ch4.adb: Minor typo fixes and reformatting.
      
      2016-04-21  Dmitriy Anisimkov  <anisimko@adacore.com>
      
      	* g-calend.ads (No_Time): The same value in any timezone.
      	* g-socket.adb (Raise_Host_Error): Remove ending
      	dot from original error message before append colon delimited
      	host name.
      
      From-SVN: r235331
      Arnaud Charlet committed
    • [multiple changes] · 0310af44
      2016-04-21  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch3.adb: Code cleanup.
      	* sem_ch6.adb: Code cleanup.
      	(Is_Matching_Limited_View): New routine.
      	(Matches_Limited_With_View): Reimplemented.
      	* sem_ch10.adb (Decorate_Type): Code cleanup.
      
      2016-04-21  Doug Rupp  <rupp@adacore.com>
      
      	* tracebak.c (PPC ELF): Add macro defs for lynxos178e.
      
      2016-04-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Try_Container_Indexing): If there are overloaded
      	indexing functions, collect all overloadings of the call firts,
      	and then transfer them to indexing node, to prevent interleaving
      	of the set of interpretations of the nodes involved.
      	* sem_res.adb (Resolve): Suppress cascaded errors that report
      	ambiguities when one of the actuals in an overloaded generatlized
      	indexing operation is illegal and has type Any_Type, as is done
      	for similar cascaded errors in subprogram calls.
      	(Valid_Tagged_Conversion): Cleanup conversion checks when one
      	of the types involved is a class-wide subtype.
      
      2016-04-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Load_Parent_Of_Generic): When looking for the
      	subprogram declaration within a wrapper package, skip pragmas
      	that may have been generated by aspect specifications on the
      	generic instance.
      
      2016-04-21  Javier Miranda  <miranda@adacore.com>
      
      	* exp_aggr.adb (Component_Not_OK_For_Backend): Generating C
      	code return True for array identifiers since the backend needs
      	to initialize such component by means of memcpy().
      
      From-SVN: r235330
      Arnaud Charlet committed
    • a-tasatt.adb, [...] (Fast_Path): Rewritten to avoid reading potentially uninitialized memory. · 150346bd
      2016-04-21  Arnaud Charlet  <charlet@adacore.com>
      
      	* a-tasatt.adb, a-tasatt.ads (Fast_Path): Rewritten to avoid reading
      	potentially uninitialized memory.
      	* sem_ch3.adb: Minor style fix in comment.
      
      From-SVN: r235329
      Arnaud Charlet committed
    • gnat_rm.texi, [...]: Update doc. · c25f170d
              * gnat_rm.texi, gnat_ugn.texi,
              doc/gnat_ugn/gnat_project_manager.rst,
              doc/gnat_ugn/building_executable_programs_with_gnat.rst,
              doc/gnat_ugn/gnat_and_program_execution.rst,
              doc/gnat_ugn/gnat_utility_programs.rst,
              doc/gnat_ugn/the_gnat_compilation_model.rst,
              doc/gnat_rm/implementation_defined_attributes.rst,
              doc/gnat_rm/standard_and_implementation_defined_restrictions.rst,
              doc/gnat_rm/implementation_defined_pragmas.rst,
              doc/gnat_rm/the_gnat_library.rst,
              doc/gnat_rm/implementation_defined_aspects.rst: Update doc.
              * doc/Makefile: Cleanups.
      
      From-SVN: r235328
      Arnaud Charlet committed