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
This commit is contained in:
parent
698cf1c8f8
commit
7a7526409d
@ -1,5 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user