1. 21 Mar, 2016 4 commits
  2. 20 Mar, 2016 1 commit
  3. 19 Mar, 2016 2 commits
  4. 18 Mar, 2016 22 commits
  5. 17 Mar, 2016 11 commits
    • re PR middle-end/70280 (-fcompare-debug failure (length) with… · fcc2b74f
      re PR middle-end/70280 (-fcompare-debug failure (length) with --param=integer-share-limit=4016 -mavx512bw)
      
      	PR c/70280
      	* c-typeck.c (composite_type): Don't count void_list_node
      	into len, if the list is terminated by void_list_node, start
      	with void_list_node instead of NULL for newargs.  Stop
      	at void_list_node.
      
      From-SVN: r234312
      Jakub Jelinek committed
    • Sync top-level configure.ac with binutils-gdb. · 1b858e76
      	2016-03-17  Cary Coutant  <ccoutant@gmail.com>
      
      	* configure.ac: Add mips and s390 to the gold target check.
      	* configure: Regenerate.
      
      From-SVN: r234309
      Cary Coutant committed
    • re PR target/70188 (gcc 4.9+ miscompiles code on hppa) · ecd71a9e
      	PR target/70188
      	* config/pa/constraints.md: Revert 2015-02-13 change.  Use
      	define_constraint for "Q" and "T" constraints.
      
      From-SVN: r234308
      John David Anglin committed
    • Tweak the pipeline model for Exynos M1 · 220379df
      	* gcc/config/aarch64/aarch64.c
      	(exynosm1_tunings): Enable the weak prefetching model.
      
      From-SVN: r234307
      Evandro Menezes committed
    • re PR c/69407 (-Wunused-value on __atomic_fetch_OP and __atomic_OP_fetch) · 14ba7b28
      	PR c/69407
      	* c-common.c (resolve_overloaded_builtin): Set TREE_USED for the fetch
      	operations.
      
      	* gcc.dg/atomic-op-6.c: New test.
      
      From-SVN: r234304
      Marek Polacek committed
    • PR c/70264: fix crash in compatible_locations_p with BUILTINS_LOCATION · ded60913
      In r234088 my fix for PR c++/70105 didn't allow for the possibility that
      when comparing a pair of macro expansion histories that one of the
      macros in the history might not be located within a line-map, and
      PR c/70264 reports a crash due to encountering BUILTINS_LOCATION within
      the traversal.
      
      Fixed thusly.
      
      Successfully bootstrapped on x86_64-pc-linux-gnu; adds 4 PASS results
      to gcc.sum and 12 to g++.sum.
      
      gcc/ChangeLog:
      	PR c/70264
      	* diagnostic-show-locus.c (compatible_locations_p): Handle the case
      	where one or both locations aren't within a line_map.
      
      gcc/testsuite/ChangeLog:
      	PR c/70264
      	* c-c++-common/pr70264.c: New test case.
      
      From-SVN: r234303
      David Malcolm committed
    • re PR tree-optimization/70144 (g++ ICE at -O1 and above on valid code on… · 17366700
      re PR tree-optimization/70144 (g++ ICE at -O1 and above on valid code on x86_64-linux-gnu in "copy_reference_ops_from_ref")
      
      	PR c++/70144
      	* cp-tree.h (magic_varargs_p): Return int instead of bool.
      	* call.c (magic_varargs_p): Return int instead of bool, return 2 for
      	Cilk+ reductions, otherwise 1 for magic varargs and 0 for normal
      	varargs.
      	(build_over_call): If magic_varargs_p == 2, call reject_gcc_builtin,
      	if magic_varargs_p == 1, call decay_conversion
      	instead of mark_type_use.  Don't store error_mark_node arguments to
      	argarray, instead return error_mark_node.
      
      	* c-c++-common/pr70144-1.c: New test.
      	* c-c++-common/pr70144-2.c: New test.
      
      From-SVN: r234297
      Jakub Jelinek committed
    • re PR c++/70272 (-flifetime-dse miscompilation starting with r217967) · a3aad0e6
      	PR c++/70272
      	* decl.c (begin_destructor_body): Don't insert clobber if
      	is_empty_class (current_class_type).
      
      	* g++.dg/opt/flifetime-dse5.C (main): Remove extra semicolon.
      	* g++.dg/opt/flifetime-dse6.C: New test.
      	* g++.dg/tree-ssa/ehcleanup-1.C: Adjust unreachable count.
      
      From-SVN: r234296
      Jakub Jelinek committed
    • Properly set flag_pie and flag_pic · b57e6e18
      We can't set flag_pie to the default when flag_pic == 0, which may be
      set by -fno-pic or -fno-PIC, since the default value of flag_pie is
      non-zero when GCC is configured with --enable-default-pie.  We need
      to initialize flag_pic to -1 so that we can tell if -fpic, -fPIC,
      -fno-pic or -fno-PIC is used.
      
      Since Darwin defaults to PIC (__PIC__ == 2) and the PIC setting can't
      be changed, skip tests of default __PIC__ and __PIE__ setting for
      *-*-darwin* targets.
      
      gcc/
      
      	PR driver/70192
      	* opts.c (finish_options): Don't set flag_pie to the default if
      	-fpic, -fPIC, -fno-pic or -fno-PIC is used.  Set flag_pic to 0
      	if it is -1.
      
      gcc/testsuite/
      
      	PR driver/70192
      	* gcc.dg/pic-1.c: New test.
      	* gcc.dg/pic-2.c: Likewise.
      	* gcc.dg/pic-3.c: Likewise.
      	* gcc.dg/pic-4.c: Likewise.
      	* gcc.dg/pie-1.c: Likewise.
      	* gcc.dg/pie-2.c: Likewise.
      	* gcc.dg/pie-3.c: Likewise.
      	* gcc.dg/pie-4.c: Likewise.
      	* gcc.dg/pie-5.c: Likewise.
      	* gcc.dg/pie-6.c: Likewise.
      
      From-SVN: r234295
      H.J. Lu committed
    • Rename GOMP_MAP_FORCE_DEALLOC to GOMP_MAP_DELETE · 91106e84
      Also rename the Fortran OMP_MAP_FORCE_DEALLOC to OMP_MAP_DELETE.
      
      	include/
      	* gomp-constants.h (enum gomp_map_kind): Rename
      	GOMP_MAP_FORCE_DEALLOC to GOMP_MAP_DELETE.  Adjust all users.
      
      	gcc/fortran/
      	* gfortran.h (enum gfc_omp_map_op): Rename OMP_MAP_FORCE_DEALLOC
      	to OMP_MAP_DELETE.  Adjust all users.
      
      From-SVN: r234294
      Thomas Schwinge committed
    • Add goacc/kernels-alias-{3,4}.f95 · b38ba58b
      2016-03-17  Tom de Vries  <tom@codesourcery.com>
      
      	* gfortran.dg/goacc/kernels-alias-3.f95: New test.
      	* gfortran.dg/goacc/kernels-alias-4.f95: New test.
      
      From-SVN: r234292
      Tom de Vries committed