1. 08 Jan, 2016 3 commits
    • shrink-wrap: Once more PRs 67778, 68634, and now 68909 · 52ad5601
      If a candidate PRE cannot get the prologue because a block BB is
      reachable from it, but PRE does not dominate BB, we try again with the
      dominators of PRE.  That "try again" needs to again consider BB though,
      we aren't done with it.
      
      	PR rtl-optimization/67778
      	PR rtl-optimization/68634
      	PR rtl-optimization/68909
      	* shrink-wrap.c (try_shrink_wrapping): Add comment.  Don't pop
      	block from the stack until done with it.  Remove a superfluous
      	bitmap set.  Remove a superfluous bitmap test.
      
      From-SVN: r232148
      Segher Boessenkool committed
    • PR c/68966 - atomic_fetch_* on atomic_bool not diagnosed · 7a127fa7
      gcc/ChangeLog:
      	* doc/extend.texi (__atomic Builtins, __sync Builtins): Document
      	constraint on the type of arguments.
      
      gcc/c-family/ChangeLog:
      	* c-common.c (sync_resolve_size): Reject first argument when it's
      	a pointer to _Bool.
      
      gcc/testsuite/ChangeLog:
      	* gcc.dg/atomic-fetch-bool.c: New test.
      	* gcc.dg/sync-fetch-bool.c: New test.
      
      From-SVN: r232147
      Martin Sebor committed
    • Daily bump. · c9733b85
      From-SVN: r232146
      GCC Administrator committed
  2. 07 Jan, 2016 14 commits
  3. 06 Jan, 2016 14 commits
  4. 05 Jan, 2016 9 commits
    • re PR target/1078 (Problems with attributes documentation) · d1396c97
      2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
      
      	PR 1078
      	gcc/
      	* doc/extend.texi (RL78 Variable Attributes): New section.
      
      From-SVN: r232092
      Sandra Loosemore committed
    • re PR c/69104 (invalid atomic memory order not diagnosed) · 8d9fdb49
      	PR c/69104
      	* builtins.c (get_memmodel): Use expansion point location rather than
      	the input location.  Call warning_at rather than warning.
      	(expand_builtin_atomic_compare_exchange): Likewise.
      	(expand_builtin_atomic_load): Likewise.
      	(expand_builtin_atomic_store): Likewise.
      	(expand_builtin_atomic_clear): Likewise.
      
      	* gcc.dg/atomic-invalid-2.c: New.
      
      From-SVN: r232090
      Marek Polacek committed
    • libiberty: {count,dup,write}argv: constify argv input slightly · 66f49f07
      Would be more useful if we could use "const char * const *", but there's
      a long standing bug where gcc warns about incompatible pointers when you
      try to pass in "char **".  We can at least constify the array itself as
      gcc will not warn in that case.
      
      From-SVN: r232089
      Mike Frysinger committed
    • Use vector_operand on SSE with 16b memory operand · acf93f1e
      Add vector_operand, which is vector_memory_operand or register_operand,
      and use it, instead of nonimmediate_operand, in SSE patterns with 16-byte
      memory operand.
      
      gcc/
      
      	PR target/68991
      	* config/i386/i386.c (ix86_expand_vector_logical_operator):
      	Replace nonimmediate_operand with vector_operand.
      	* config/i386/predicates.md (vector_operand): New predicate.
      	(general_vector_operand): Replace nonimmediate_operand with
      	vector_operand.
      	* config/i386/sse.md: Replace nonimmediate_operand with
      	vector_operand and m constraint with Bm constraint on SSE
      	patterns with 16-byte memory operand.
      	* config/i386/subst.md (round_nimm_predicate): Replace
      	nonimmediate_operand with vector_operand.
      	(round_saeonly_nimm_predicate): Likewise.
      	(round_saeonly_nimm_scalar_predicate): New.
      
      gcc/testsuite/
      
      	PR target/68991
      	* gcc.target/i386/pr68991.c: New test.
      
      From-SVN: r232088
      H.J. Lu committed
    • Add vector_memory_operand and "Bm" constraint · 3f50525d
      SSE vector arithmetic and logic instructions only accept aligned memory
      operand.  This patch adds vector_memory_operand and "Bm" constraint for
      aligned SSE memory operand.  They are applied to SSE plusminus and
      any_logic patterns.
      
      gcc/
      
      	PR target/68991
      	* config/i386/constraints.md (Bm): New constraint.
      	* config/i386/predicates.md (vector_memory_operand): New
      	predicate.
      	* config/i386/sse.md: Replace xm with xBm in plusminus and
      	any_logic patterns.
      
      gcc/testsuite/
      
      	PR target/68991
      	* g++.dg/pr68991-1.C: New test.
      	* g++.dg/pr68991-2.C: Likewise.
      
      From-SVN: r232087
      H.J. Lu committed
    • libiberty: dupargv: rewrite to use xstrdup · ae120683
      This func is basically open coding the xstrdup function, so gut it
      and use that directly.
      
      From-SVN: r232086
      Mike Frysinger committed
    • re PR target/1078 (Problems with attributes documentation) · ebd4a209
      2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
      
      	PR 1078
      	gcc/
      	* doc/extend.texi (V850 Function Attributes): New section.
      	(V850 Variable Attributes): New section.
      
      From-SVN: r232085
      Sandra Loosemore committed
    • aix-unwind.h (ucontext_for): Handle AIX 7.1 specificities. · a2218983
      2016-01-05  Olivier Hainque  <hainque@adacore.com>
      
      	* config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
      	specificities.
      
      From-SVN: r232082
      Olivier Hainque committed
    • re PR target/1078 (Problems with attributes documentation) · 0d19c66d
      2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
      
      	PR 1078
      	gcc/
      	* doc/extend.texi (MicroBlaze Function Attributes): Document
      	interrupt_handler and fast_interrupt attributes.
      
      From-SVN: r232081
      Sandra Loosemore committed