summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gimple-fold.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf66e62d8d4..a906ea5bf9b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-06 Nathan Sidwell <nathan@codesourcery.com>
+
+ PR 67861
+ * gimple-fold.c (gimple_fold_builtin): Add break after
+ BUILT_IN_PRINTF_CHK, BUILT_IN_VPRINTF_CHK folding.
+
2015-10-06 H.J. Lu <hongjiu.lu@intel.com>
* graphite-optimize-isl.c (optimize_isl): Rename scop->ctx
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));