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] |
Hi!
On the following testcase we end up with a degenerate PHI node for the entry edge, which results in the insns being inserted on that edge, which is wrong, because the insns depend on parameter setup. The following patch fixes it by inserting those after parm_birth_insn. Another alternative, mentioned by richi in the PR, would be to get rid of degenerate PHI nodes during cfg cleanups, haven't tried that yet.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |