This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37922] [4.4 Regression] code generation error
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2008 12:08:35 -0000
- Subject: [Bug c++/37922] [4.4 Regression] code generation error
- References: <bug-37922-3137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jakub at gcc dot gnu dot org 2008-12-16 12:08 -------
Indeed, -O2 -fpic returns 2, -O2 -fpic -fno-dse returns 0. The difference
between the two are just 4 successful replace_read changes, like:
movq %rdx, 224(%rsp) # D.4704, proper_r
- shrq $32, %rdx #, proper_r$den_
+ movl 228(%rsp), %edx # proper_r.den_, proper_r$den_
(- is without -fno-dse, + is with -fno-dse). These look good, unless the
original %rdx is needed somewhere else. I'll try to debug this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37922