This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] c/55976 -Werror=return-type should error on returning a value from a void function


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

Attachment: CL-55976
Description: Text document

Attachment: PATCH-55976
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]