diff mbox

wide-int, OpenMP

Message ID F0187AA8-633B-4033-AB87-80ED775FDC85@comcast.net
State New
Headers show

Commit Message

Mike Stump Nov. 23, 2013, 7:22 p.m. UTC
Richi has asked the we break the wide-int patch so that the individual port and front end maintainers can review their parts without have to go through the entire patch.    This patch covers the OpenMP code.

Ok?
* omp-low.c
	(scan_omp_1_op): Use wide-int interfaces.
diff mbox

Patch

diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 2995060..d26139c 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -2530,9 +2530,7 @@  scan_omp_1_op (tree *tp, int *walk_subtrees, void *data)
 	      if (tem != TREE_TYPE (t))
 		{
 		  if (TREE_CODE (t) == INTEGER_CST)
-		    *tp = build_int_cst_wide (tem,
-					      TREE_INT_CST_LOW (t),
-					      TREE_INT_CST_HIGH (t));
+		    *tp = wide_int_to_tree (tem, t);
 		  else
 		    TREE_TYPE (t) = tem;
 		}