This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]