This is the mail archive of the gcc@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] | |
IMO, this is a failure of the edge insertion routines or the caller of
the
routine.
Well, the caller can't know what the inserter did, and what to do to the possibly affected phi's.
OTOH, the inserter cannot possibly know how to update the PHI nodes, only
the caller can. If the caller doesn't know how to update the PHI nodes,
something is seriously wrong.
Plus, the current way we create phi nodes would mean that we'd have to rebuild all the phi's (their number of arguments is fixed at creation time). Diego, what to do here?
Why? What are you trying to do that requires adding predecessors like this?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |