builtins.c: Don't include gomp-constants.h.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 1 Oct 2015 14:13:30 +0000 (14:13 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 1 Oct 2015 14:13:30 +0000 (14:13 +0000)
commit481261380243a1a01b85247285d0cc03a8090540
tree75eb04c466d0a7567a3505c2f451fe856bba34a5
parentd878e79bf80f4c7bb0c6dd827e4c4dd37c5385bf
builtins.c: Don't include gomp-constants.h.

* builtins.c: Don't include gomp-constants.h.
(fold_builtin_1): Don't fold acc_on_device here.
* gimple-fold.c: Include gomp-constants.h.
(gimple_fold_builtin_acc_on_device): New.
(gimple_fold_builtin): Call it.

From-SVN: r228340
gcc/ChangeLog
gcc/builtins.c
gcc/gimple-fold.c