Hi!

On Fri, 15 Nov 2013 14:44:45 -0700, Aldy Hernandez <al...@redhat.com> wrote:
> Attached is the final version of the patch I have committed to trunk.

> --- a/gcc/gimple-pretty-print.c
> +++ b/gcc/gimple-pretty-print.c
> @@ -1118,6 +1118,8 @@ dump_gimple_omp_for (pretty_printer *buffer, gimple gs, 
> int spc, int flags)
>       case GF_OMP_FOR_KIND_SIMD:
>         kind = " simd";
>         break;
> +     case GF_OMP_FOR_KIND_CILKSIMD:
> +       kind = " cilksimd";
>       case GF_OMP_FOR_KIND_DISTRIBUTE:
>         kind = " distribute";
>         break;

Fixed (untested, but obvious) in r207987:

commit b12563e00026b48b817fd3532fc3df2db2a0f460
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Feb 21 09:18:15 2014 +0000

    Correct TDF_RAW pretty-printing of GIMPLE_OMP_FOR's 
GF_OMP_FOR_KIND_CILKSIMD.
    
        gcc/
        * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
        <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207987 
138bc75d-0d04-0410-961f-82ee72b054a4

diff --git gcc/ChangeLog gcc/ChangeLog
index 67299af..cc9031b 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-21  Thomas Schwinge  <tho...@codesourcery.com>
+
+       * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
+       <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
+
 2014-02-21  Nick Clifton  <ni...@redhat.com>
 
        * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
diff --git gcc/gimple-pretty-print.c gcc/gimple-pretty-print.c
index 2d1e1c7..741cd92 100644
--- gcc/gimple-pretty-print.c
+++ gcc/gimple-pretty-print.c
@@ -1121,6 +1121,7 @@ dump_gimple_omp_for (pretty_printer *buffer, gimple gs, 
int spc, int flags)
          break;
        case GF_OMP_FOR_KIND_CILKSIMD:
          kind = " cilksimd";
+         break;
        case GF_OMP_FOR_KIND_DISTRIBUTE:
          kind = " distribute";
          break;


Grüße,
 Thomas

Attachment: pgpOQlUIk9VU2.pgp
Description: PGP signature

Reply via email to