This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23488] [4.1/4.2 Regression] GCSE load PRE does not work with non sets
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2006 02:10:54 -0000
- Subject: [Bug middle-end/23488] [4.1/4.2 Regression] GCSE load PRE does not work with non sets
- References: <bug-23488-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from pinskia at gcc dot gnu dot org 2006-03-03 02:10 -------
(In reply to comment #5)
> It's strange that the load(*) does not get optimized, given that it's in the
> same BB as the store that precedes it...
>
> movl %eax, result.1282
> (*) movl result.1282, %eax
This is because the copying of the trace is happening at the very end of the
optimization phase so it does not optimized at all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23488