Commit f32fd778 by Richard Stallman

*** empty log message ***

From-SVN: r1298
parent 21d7516d
...@@ -2352,6 +2352,12 @@ store_constructor (exp, target) ...@@ -2352,6 +2352,12 @@ store_constructor (exp, target)
int bitpos; int bitpos;
int unsignedp; int unsignedp;
/* Just ignore missing fields.
We cleared the whole structure, above,
if any fields are missing. */
if (field == 0)
continue;
bitsize = TREE_INT_CST_LOW (DECL_SIZE (field)); bitsize = TREE_INT_CST_LOW (DECL_SIZE (field));
unsignedp = TREE_UNSIGNED (field); unsignedp = TREE_UNSIGNED (field);
mode = DECL_MODE (field); mode = DECL_MODE (field);
...@@ -2867,7 +2873,8 @@ safe_from_p (x, exp) ...@@ -2867,7 +2873,8 @@ safe_from_p (x, exp)
case 'x': case 'x':
if (TREE_CODE (exp) == TREE_LIST) if (TREE_CODE (exp) == TREE_LIST)
return (safe_from_p (x, TREE_VALUE (exp)) return ((TREE_VALUE (exp) == 0
|| safe_from_p (x, TREE_VALUE (exp)))
&& (TREE_CHAIN (exp) == 0 && (TREE_CHAIN (exp) == 0
|| safe_from_p (x, TREE_CHAIN (exp)))); || safe_from_p (x, TREE_CHAIN (exp))));
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment