This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Dead code elimination PROBLEM
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: chronicle <chassin at ceis dot cujae dot edu dot cu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 13 Feb 2014 08:16:04 +0100 (CET)
- Subject: Re: Dead code elimination PROBLEM
- Authentication-results: sourceware.org; auth=none
- References: <52FC6E56 dot 80608 at ceis dot cujae dot edu dot cu>
- Reply-to: gcc-help at gcc dot gnu dot org
(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