http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53681

Michael Matz <matz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at gcc dot gnu.org

--- Comment #4 from Michael Matz <matz at gcc dot gnu.org> 2012-06-15 14:21:05 
UTC ---
I don't see how r187965 could cause this, but I do see the problem.
mark_sym_for_renaming (called via the s390 va_arg_expr expander) is called
during, well, gimplification from GENERIC.  At that point SSA isn't
initialized yet, so cfun->gimple_df is still NULL, and so SYMS_TO_RENAME
gives a segfault.

You either have to guard the call to mark_sym_for_renaming with
gimple_in_ssa_p(), or get rid of the call alltogether.  I don't see how
new va_arg expressions would be generated during SSA optimizers, so the latter
solution would be safe.  No other backend calls mark_sym_for_renaming either,
so just remove it.

Reply via email to