diff options
author | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-22 21:42:34 +0000 |
---|---|---|
committer | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-22 21:42:34 +0000 |
commit | c0e40292559dc0d98e2bd1c10d2cf3e3e41f38d3 (patch) | |
tree | 17707cfb510850f74808d683910537534bb140e5 /gcc/tree-mudflap.c | |
parent | 87011ef06ed381f5716d53222fb68a2ae0863436 (diff) | |
download | gcc-c0e40292559dc0d98e2bd1c10d2cf3e3e41f38d3.tar.gz |
PR mudflap/26789
* tree-mudflap.c (mf_xform_derefs_1): Return early on error_mark_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112296 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r-- | gcc/tree-mudflap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index 5a1444d1dba..f1009ba4357 100644 --- a/gcc/tree-mudflap.c +++ b/gcc/tree-mudflap.c @@ -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)) |