builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space returns Pmode pseudo...
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thu, 1 Feb 2001 12:29:18 +0000 (12:29 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 1 Feb 2001 12:29:18 +0000 (07:29 -0500)
commitd54571406e15250c1f73fac6b0ce85438f84b4fb
treee5b324c5c826bd74ab4f7fe2ac03b199ea6b5f34
parentfcbfaa65a5e27ee6f772056bf52cf27202518def
builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space returns Pmode pseudo, but we need ptr_mode.

* builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
returns Pmode pseudo, but we need ptr_mode.
* explow.c (allocate_dynamic_stack_space): Use plus_constant.
Remove bogus conversions; use HOST_WIDE_INT for size.
Don't use TARGET if wrong mode.

From-SVN: r39390
gcc/ChangeLog
gcc/builtins.c
gcc/explow.c