This is the mail archive of the gcc-patches@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]

[RFC] split2 vs df


This is PR 49801.

The problem is that liveness data is not updated by split2, so when
cmp-elim runs next and *does* update it, we get verify failures.

As I note in the PR, I clearly have no idea how the interface to df
is supposed to work.  All of the examples say df_analyze is supposed
to be run first, and they also say that DF_LIVE is always present
with -O2.  Which together would seem to me to require DF_LIVE to be
updated when processing (deferred) insns, or by TODO_df_finish.

All that said, this patch does fix the ICE.

Is this really the way things are supposed to work?  Does the real
fix belong elsewhere, e.g. the beginning of the cmp-elim pass?


r~

Attachment: d-49801
Description: Text document


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