1. 09 Feb, 2017 5 commits
    • re PR tree-optimization/69823 (internal compiler error: in… · 9c0c77d2
      re PR tree-optimization/69823 (internal compiler error: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:445)
      
      2017-02-09  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/69823
      	* graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
      	Properly enumerate all BBs in the region.  Use auto_vec/auto_bitmap.
      
      	* gcc.dg/graphite/pr69823.c: New testcase.
      
      From-SVN: r245295
      Richard Biener committed
    • arc/gcc: Better creation of __NPS400__ define · 3a9abd23
      The __NPS400__ define is currently created in CPP_SPEC unlike the other
      target defines, which are created in arc-c.def.  Further, the current
      __NPS400__ define is (currently) only created when -mcpu=nps400 is
      passed, which is fine, except that if GCC is configured using
      --with-cpu=nps400 then the -mcpu option is not required and the
      __NPS400__ define will not be created.
      
      This commit moves the __NPS400__ define into arc-c.def inline with all
      of the other target defines, and removes the code in CPP_SPEC that used
      to create the define.
      
      In order to support the creation of the define in arc-c.def, a new
      TARGET_NPS400 macro is created in arc.h.
      
      gcc/ChangeLog:
      
      	* config/arc/arc-c.def: Add __NPS400__ definition.
      	* config/arc/arc.h (CPP_SPEC): Don't define __NPS400__ here.
      	(TARGET_NPS400): Define.
      
      From-SVN: r245294
      Andrew Burgess committed
    • gcc/arc: Make arc_selected_cpu global · c3bde35a
      Currently we only make the base_architecture globally available, this
      means we can tell if we have selected arc700/archs/etc but it's not
      possible to tell if the user has selected a specific cpu variant, for
      example nps400.
      
      One problem this causes is, for example, in arc-c.def, if we want to add
      an __NPS400__ define then we need a flag we can check to determine if
      this is the right thing to do.
      
      In this commit the arc_selected_cpu variable (previously local within
      arc.c) has been made global.  Two other variables arc_base_cpu and
      arc_selected_arch have been deleted, all of this information can be
      found within (or through) arc_selected_cpu.
      
      All uses of arc_base_cpu and arc_selected_arch have been updated.  This
      commit does not introduce any new defines (like __NPS400__), this is
      just a restructuring commit.
      
      The declaration of arc_selected_cpu has moved into arc-arch.h, in
      contrast to the declaration of arc_base_cpu which was previously in
      arc.h.  This avoids a compilation issue when building libgcc, as the
      structure and enums declared in arc-arch.h are not included for libgcc
      then declaring an arc_selected_cpu (a struct type) in arc.h would result
      in an unknown struct error.  We got away with this for arc_base_cpu as
      that was an enum type.  The declaration of arc_selected_cpu in
      arc.h could have been wrapped in a '#ifndef IN_LIBGCC2 ... #endif', but
      it felt neater to simply move the declaration into arc-arch.h.
      
      gcc/ChangeLog:
      
      	* config/arc/arc-arch.h (arc_arch_t): Move unchanged to earlier in
      	file.
      	(arc_cpu_t): Change base_architecture field, arch, to a arc_arc_t
      	pointer, arch_info.
      	(arc_cpu_types): Fill the arch_info field with a pointer into the
      	arc_arch_types table.
      	(arc_selected_cpu): Declare.
      	* config/arc/arc.c (arc_selected_cpu): Make global.
      	(arc_selected_arch): Delete.
      	(arc_base_cpu): Delete.
      	(arc_override_options): Remove references to deleted variables,
      	update access to arch information.
      	(ARC_OPT): Update access to arch information.
      	(ARC_OPTX): Likewise.
      	* config/arc/arc.h (arc_base_cpu): Remove declaration.
      	(TARGET_ARC600): Update access to arch information.
      	(TARGET_ARC601): Likewise.
      	(TARGET_ARC700): Likewise.
      	(TARGET_EM): Likewise.
      	(TARGET_HS): Likewise.
      	* config/arc/driver-arc.c (arc_cpu_to_as): Update access to arch
      	information.
      
      From-SVN: r245293
      Andrew Burgess committed
    • loop-dim-default.c: Skip on hppa*-*-*. · 5896a41d
      	* testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on
      	hppa*-*-*.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Don't
      	include complex.h on hppa*-*-hpux*.
      	* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise.
      
      From-SVN: r245292
      John David Anglin committed
    • Daily bump. · 05234016
      From-SVN: r245291
      GCC Administrator committed
  2. 08 Feb, 2017 15 commits
  3. 07 Feb, 2017 19 commits
  4. 06 Feb, 2017 1 commit