public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch/testsuite] Committed fix to gcc.target/i386/fastcall-1.c
@ 2007-12-16  3:03 Danny Smith
  0 siblings, 0 replies; only message in thread
From: Danny Smith @ 2007-12-16  3:03 UTC (permalink / raw)
  To: GCC Patches

Testcase gcc.target/i386/fastcall-1.c emits warning "control reaches end
of non-void function" with -Wall.  I have committed this as obvious:

2007-12-16  Danny Smith <dannysmith@users.sourceforge.net>

	* gcc.target/i386/fastcall-1.c (f4): Change return type to
	void.

Index: gcc.target/i386/fastcall-1.c
===================================================================
--- gcc.target/i386/fastcall-1.c	(revision 130957)
+++ gcc.target/i386/fastcall-1.c	(working copy)
@@ -12,6 +12,6 @@
 __fastcall
 f3() { }

-int
+void
 __attribute__ ((fastcall))
 f4(int x, int y, int z) { }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-15 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-16  3:03 [Patch/testsuite] Committed fix to gcc.target/i386/fastcall-1.c Danny Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).