This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
expand_call
- To: rth at gcc dot gnu dot org
- Subject: expand_call
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Tue, 21 Mar 2000 20:59:41 +1200 (NZST)
- Cc: gcc-bugs at gcc dot gnu dot org
rth@gcc.gnu.org writes:
> * calls.c (expand_call): Don't bother generating tail call
> sequences if there are pending cleanups. Use
> expand_start_target_temps/expand_end_target_temps to elide
> cleanups created during sibcall expansion.
This patch breaks the build of a c4x cross compiler when
compiling tinfo.cc with -O2. stmt_loop_nest_empty segfaults
when trying to access loop_stack since cfun->stmt is NULL.
Michael.