This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] c/55976 -Werror=return-type should error on returning a value from a void function
- From: Jeff Law <law at redhat dot com>
- To: dave dot pagan at oracle dot com, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>
- Date: Fri, 22 Jun 2018 14:29:18 -0600
- Subject: Re: [PATCH] c/55976 -Werror=return-type should error on returning a value from a void function
- References: <aa8041ab-2bfa-980d-0991-5cdc9a7894ec@oracle.com>
On 06/19/2018 09:13 AM, dave.pagan@oracle.com wrote:
> This patch fixes spurious failure for C test added with original patch
> for bug 55976.
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55976
>
> Added dg-prune-output for extraneous message causing unexpected test
> failure for test gcc.dg/noncompile/pr55976-1.c
>
> Bootstrap tests run successfully x86_64-linux.
>
> --Dave
>
> CL-55976
>
>
> /testsuite
> 2018-06-19 David Pagan <dave.pagan@oracle.com>
>
> PR c/55976
> * gcc.dg/noncompile/pr55976-1.c: Add dg-prune-output for extraneous
> message causing unexpected test FAIL.
OK.
jeff