Fix typo in builtins.c.
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Tue, 4 May 2021 05:41:18 +0000 (11:11 +0530)
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Tue, 4 May 2021 05:41:18 +0000 (11:11 +0530)
gcc/ChangeLog:

2021-05-04  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

* builtins.c (try_store_by_multiple_pieces): Fix constfun's prototype.

gcc/builtins.c

index b047128..14cfa57 100644 (file)
@@ -6743,7 +6743,7 @@ try_store_by_multiple_pieces (rtx to, rtx len, unsigned int ctz_len,
                            &valc, align, true))
     return false;
 
-  rtx (*constfun) (void *, HOST_WIDE_INT, scalar_int_mode);
+  rtx (*constfun) (void *, void *, HOST_WIDE_INT, scalar_int_mode);
   void *constfundata;
   if (val)
     {