alpha.c (function_value [ENABLE_CHECKING]): Don't call alpha_return_in_memory if no VALTYPE specified.

* config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
	alpha_return_in_memory if no VALTYPE specified.

From-SVN: r72796
This commit is contained in:
Richard Kenner 2003-10-22 12:12:15 +00:00 committed by Richard Kenner
parent 1bb17c2144
commit 77c018b7b8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
alpha_return_in_memory if no VALTYPE specified.
2003-10-22 Jan Hubicka <jh@suse.cz>
PR debug/12389

View File

@ -6052,7 +6052,7 @@ function_value (tree valtype, tree func ATTRIBUTE_UNUSED,
enum mode_class class;
#ifdef ENABLE_CHECKING
if (alpha_return_in_memory (valtype, func))
if (valtype && alpha_return_in_memory (valtype, func))
abort ();
#endif