This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27856] With -Os, loading a constant to a register can use another register
- From: "etienne_lorrain at yahoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2006 11:32:24 -0000
- Subject: [Bug target/27856] With -Os, loading a constant to a register can use another register
- References: <bug-27856-1034@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from etienne_lorrain at yahoo dot fr 2006-09-05 11:32 -------
Just for info, does that means we need to wait for YARA to be included,
considering
http://gcc.gnu.org/ml/gcc/2006-08/msg00164.html
it will probably happen after 4.2 ?
I am seeing a lot of them, even some pattern like that to clear %eax:
xor %edx,%edx
...
mov %edx,%eax
... use %eax ...
mov 10,%edx
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27856