------- Comment #8 from sje at cup dot hp dot com 2006-06-08 21:12 -------
I do not think my patch is correct. The variable causing the problem is
created in gimplify_parameters by a call to create_tmp_var. This local
variable is only created on systems that pass structures by pointers and which
are callee copied.
I think this variable should be a local stack variable but I think that is what
we have now. Then we run into the gcc_assert in make_decl_rtl, if I just
comment out that assert I run into one in expand_expr_real_1.
It may be that the function context is not set when creating this temporary,
that would explain the expand_expr_real_1 assert.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26957