diff options
Diffstat (limited to 'gcc/cp/mangle.c')
| -rw-r--r-- | gcc/cp/mangle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 5c45a9137f1..7353cf881ad 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -1245,6 +1245,9 @@ write_type (type) MANGLE_TRACE_TREE ("type", type); + if (type == error_mark_node) + return; + if (find_substitution (type)) return; |

