diff mbox

Forgotten return true in verify_gimple_call

Message ID 20110211160236.GA5647@virgil.arch.suse.de
State New
Headers show

Commit Message

Martin Jambor Feb. 11, 2011, 4:02 p.m. UTC
Hi,

gdb did not stop for me at usual breakpoints because apparently there
is a return true missing after reporting "invalid argument to gimple
call" in verify_gimple_call.  I'm currently bootstrapping and testing
this patch which I intend to commit as obvious after the tests
succeed.

Thanks,

Martin


2011-02-11  Martin Jambor  <mjambor@suse.cz>

	* tree-cfg.c (verify_gimple_call): Return true upon invalid argument
	to gimple call error.
diff mbox

Patch

Index: gcc/tree-cfg.c
===================================================================
--- gcc/tree-cfg.c	(revision 169881)
+++ gcc/tree-cfg.c	(working copy)
@@ -3135,6 +3135,7 @@  verify_gimple_call (gimple stmt)
 	{
 	  error ("invalid argument to gimple call");
 	  debug_generic_expr (arg);
+	  return true;
 	}
     }