go-gcc.cc (Gcc_backend::Gcc_backend): Correct math_function_type_long to take one...
authorIan Lance Taylor <iant@golang.org>
Sat, 6 Jan 2018 01:11:33 +0000 (01:11 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 6 Jan 2018 01:11:33 +0000 (01:11 +0000)
* go-gcc.cc (Gcc_backend::Gcc_backend): Correct
math_function_type_long to take one argument.

From-SVN: r256305

gcc/go/ChangeLog
gcc/go/go-gcc.cc

index cf7586ecd9077320b3b68a02cf4b600896d15bcf..17b6e3e0115e0f06ec9afe94e38658333609b6a7 100644 (file)
@@ -1,3 +1,8 @@
+2018-01-05  Ian Lance Taylor  <iant@golang.org>
+
+       * go-gcc.cc (Gcc_backend::Gcc_backend): Correct
+       math_function_type_long to take one argument.
+
 2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
            Alan Hayward  <alan.hayward@arm.com>
            David Sherwood  <david.sherwood@arm.com>
index edaedee6661765586c6472c8c2ecb702503221b1..7c786025a38e92884378377d098154eeac2f358f 100644 (file)
@@ -633,7 +633,7 @@ Gcc_backend::Gcc_backend()
                                                     NULL_TREE);
   tree math_function_type_long =
     build_function_type_list(long_double_type_node, long_double_type_node,
-                            long_double_type_node, NULL_TREE);
+                            NULL_TREE);
   tree math_function_type_two = build_function_type_list(double_type_node,
                                                         double_type_node,
                                                         double_type_node,