From b2b67217d3c0901f7c414b7f4b4a92e92678846e Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Fri, 22 Sep 2017 16:30:35 +0000 Subject: [PATCH] Fix testsuite fallout from r252976. gcc/testsuite/ChangeLog: PR c/81854 * gcc.target/i386/pr80732.c: Correct a type error. From-SVN: r253100 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr80732.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index baccb959a88..eaae531a84e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-09-22 Martin Sebor + + PR c/81854 + * gcc.target/i386/pr80732.c: Correct a type error. + 2017-09-22 David Malcolm * g++.dg/diagnostic/param-type-mismatch.C: Update expected results diff --git a/gcc/testsuite/gcc.target/i386/pr80732.c b/gcc/testsuite/gcc.target/i386/pr80732.c index e1207298239..0a1f8270fd6 100644 --- a/gcc/testsuite/gcc.target/i386/pr80732.c +++ b/gcc/testsuite/gcc.target/i386/pr80732.c @@ -34,7 +34,7 @@ static double f2_default(double a, double b, double c) return a * b + c; } -static void *f2_resolve(void) +static __typeof__ (f2_fma)* f2_resolve(void) { __builtin_cpu_init (); if (__builtin_cpu_supports("fma")) -- 2.30.2