diff options
author | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-22 21:45:13 +0000 |
---|---|---|
committer | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-22 21:45:13 +0000 |
commit | 909f55aca1782901f9315acde7fddaf12ffdcd8a (patch) | |
tree | f16821ab6a33fa98a8eb1c8c04debbc73ea27035 /gcc/tree-mudflap.c | |
parent | c0e40292559dc0d98e2bd1c10d2cf3e3e41f38d3 (diff) | |
download | gcc-909f55aca1782901f9315acde7fddaf12ffdcd8a.tar.gz |
PR mudflap/26790
* tree-mudflap.c (mudflap_finish_file): Skip erroneous objects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112298 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r-- | gcc/tree-mudflap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index f1009ba4357..245b940453d 100644 --- a/gcc/tree-mudflap.c +++ b/gcc/tree-mudflap.c @@ -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; |