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

Re: Dead code elimination PROBLEM


(please don't multi-post to gcc and gcc-help)

On Thu, 13 Feb 2014, chronicle wrote:

( do i need to make any kind of PHI nodes

Yes you do need PHI nodes. Why don't you compile a piece of C code that does exactly the same and see what the compiler turns it into? In particular, you will notice that there are never multiple _1=... statements.

--
Marc Glisse


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