summaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-06 16:47:00 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-06 16:47:00 +0000
commit7e18bd45c5abdaae30b9aa79e017e9efcf1f2306 (patch)
treecc7be8939a38483f4e217e63443cbf240d713937 /gcc/gimple-fold.c
parent5e7617930f4103e854c20d36adf8cd3f38b5c936 (diff)
downloadgcc-7e18bd45c5abdaae30b9aa79e017e9efcf1f2306.tar.gz
PR 67861
* gimple-fold.c (gimple_fold_builtin): Add break after BUILT_IN_PRINTF_CHK, BUILT_IN_VPRINTF_CHK folding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228536 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r--gcc/gimple-fold.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index a6caaa49068..48353804972 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -2890,6 +2890,7 @@ gimple_fold_builtin (gimple_stmt_iterator *gsi)
n == 3
? gimple_call_arg (stmt, 2)
: NULL_TREE, fcode);
+ break;
case BUILT_IN_ACC_ON_DEVICE:
return gimple_fold_builtin_acc_on_device (gsi,
gimple_call_arg (stmt, 0));