Commit 698cf1c8 by Volker Reichelt Committed by Volker Reichelt

re PR c++/26789 (ICE on incomplete struct with -fmudflap)

	PR mudflap/26789
	* tree-mudflap.c (mf_xform_derefs_1): Return early on error_mark_node.

From-SVN: r112296
parent ddaf3b86
2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR mudflap/26789
* tree-mudflap.c (mf_xform_derefs_1): Return early on error_mark_node.
2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR driver/22600
* system.h (ICE_EXIT_CODE): New macro.
* diagnostic.c (diagnostic_count_diagnostic): Exit with ICE_EXIT_CODE.
......
......@@ -728,6 +728,10 @@ mf_xform_derefs_1 (block_stmt_iterator *iter, tree *tp,
t = *tp;
type = TREE_TYPE (t);
if (type == error_mark_node)
return;
size = TYPE_SIZE_UNIT (type);
switch (TREE_CODE (t))
......
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