This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: wide-int, OpenMP
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>, Kenneth Zadeck <zadeck at naturalbridge dot com>
- Date: Thu, 2 Jan 2014 08:31:43 +0100
- Subject: Re: wide-int, OpenMP
- Authentication-results: sourceware.org; auth=none
- References: <F0187AA8-633B-4033-AB87-80ED775FDC85 at comcast dot net> <37BDAFF2-BA2C-4602-8209-97EDD47A2803 at comcast dot net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jan 01, 2014 at 05:56:56PM -0800, Mike Stump wrote:
> On Nov 23, 2013, at 11:22 AM, Mike Stump <mikestump@comcast.net> wrote:
> > 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?
>
> Ping?
>
> * omp-low.c
> (scan_omp_1_op): Use wide-int interfaces.
Ok if the rest of wide int changes is approved.
> --- 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;
> }
Jakub