projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
004-09-23 Andrew Pinski <pinskia@physics.uc.edu>
[gcc.git]
/
gcc
/
cp
/
cvt.c
diff --git
a/gcc/cp/cvt.c
b/gcc/cp/cvt.c
index 5db41468c903e5cf46246d0c473acf121171b78d..d93351e399e1474272646f73156a4178b119e465 100644
(file)
--- a/
gcc/cp/cvt.c
+++ b/
gcc/cp/cvt.c
@@
-79,6
+79,8
@@
cp_convert_to_pointer (tree type, tree expr, bool force)
tree intype = TREE_TYPE (expr);
enum tree_code form;
tree rval;
+ if (intype == error_mark_node)
+ return error_mark_node;
if (IS_AGGR_TYPE (intype))
{