Commit 7a752640 by Volker Reichelt Committed by Volker Reichelt

re PR c++/26790 (ICE with -fmudflap returning an incomplete struct)

	PR mudflap/26790
	* tree-mudflap.c (mudflap_finish_file): Skip erroneous objects.

From-SVN: r112298
parent 698cf1c8
2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR mudflap/26790
* tree-mudflap.c (mudflap_finish_file): Skip erroneous objects.
PR mudflap/26789
* tree-mudflap.c (mf_xform_derefs_1): Return early on error_mark_node.
......
......@@ -1256,6 +1256,9 @@ mudflap_finish_file (void)
{
gcc_assert (DECL_P (obj));
if (TREE_TYPE (obj) == error_mark_node)
continue;
if (mf_marked_p (obj))
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment