expr.c (preexpand_calls, [...]): Don't look at TYPE_SIZE of VOID_TYPE.
* expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE of VOID_TYPE. From-SVN: r33336
This commit is contained in:
parent
2b38a1b12d
commit
219fe89837
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
|
||||
of VOID_TYPE.
|
||||
|
||||
Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
|
||||
|
||||
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
|
||||
|
|
|
@ -9086,7 +9086,8 @@ preexpand_calls (exp)
|
|||
/* Do nothing if already expanded. */
|
||||
if (CALL_EXPR_RTL (exp) != 0
|
||||
/* Do nothing if the call returns a variable-sized object. */
|
||||
|| TREE_CODE (TYPE_SIZE (TREE_TYPE(exp))) != INTEGER_CST
|
||||
|| (TREE_CODE (TREE_TYPE (exp)) != VOID_TYPE
|
||||
&& TREE_CODE (TYPE_SIZE (TREE_TYPE (exp))) != INTEGER_CST)
|
||||
/* Do nothing to built-in functions. */
|
||||
|| (TREE_CODE (TREE_OPERAND (exp, 0)) == ADDR_EXPR
|
||||
&& (TREE_CODE (TREE_OPERAND (TREE_OPERAND (exp, 0), 0))
|
||||
|
|
Loading…
Add table
Reference in a new issue