This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51275] CLOBBERS can be optimized if they are right before the return (or RESX)
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Dec 2011 15:49:44 +0000
- Subject: [Bug tree-optimization/51275] CLOBBERS can be optimized if they are right before the return (or RESX)
- Auto-submitted: auto-generated
- References: <bug-51275-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51275
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-05 15:49:44 UTC ---
Another approach is to not create CLOBBERs in the outermost scope at all
but re-create those during inlining when building the containing BLOCK.
That would probably avoid CLOBBERs for most C code that is not inlined.