mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 10:34:41 +01:00
[taken from gcc-2.96]
Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * expr.c (expand_expr): Don't blow up if type is ERROR_MARK. git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9607 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3516ced06b
commit
f3bec763ba
@ -5624,7 +5624,7 @@ expand_expr (exp, target, tmode, modifier)
|
||||
enum expand_modifier ro_modifier;
|
||||
|
||||
/* Handle ERROR_MARK before anybody tries to access its type. */
|
||||
if (TREE_CODE (exp) == ERROR_MARK)
|
||||
if (TREE_CODE (exp) == ERROR_MARK || TREE_CODE (type) == ERROR_MARK)
|
||||
{
|
||||
op0 = CONST0_RTX (tmode);
|
||||
if (op0 != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user