[gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] Undo accidental commit to omp-grid.c

Tamar Christina tnfchris@gcc.gnu.org
Fri Jul 17 14:15:56 GMT 2020


https://gcc.gnu.org/g:54cb3baa82da64608ccb9a85b362b9c119c6247b

commit 54cb3baa82da64608ccb9a85b362b9c119c6247b
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Apr 8 10:04:30 2020 +0200

    Undo accidental commit to omp-grid.c
    
    The following change accidentally got committed in the previous
    commit, r10-7614-g13e41d8b9d3d7598c72c38acc86a3d97046c8373,
    among the intended changes. Hence:
    
    Revert:
            gcc/
            * omp-grid.c (grid_eliminate_combined_simd_part): Use
            OMP_CLAUSE_CODE to access the omp clause code.

Diff:
---
 gcc/omp-grid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c
index ba635fd3ea2..b98e45de6a0 100644
--- a/gcc/omp-grid.c
+++ b/gcc/omp-grid.c
@@ -1065,7 +1065,7 @@ grid_eliminate_combined_simd_part (gomp_for *parloop)
   while (*pc)
     {
       tree c = *pc;
-      switch (OMP_CLAUSE_CODE (c))
+      switch (TREE_CODE (c))
 	{
 	case OMP_CLAUSE_LINEAR:
 	  {


More information about the Gcc-cvs mailing list