This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/43951] [4.6 Regression] Revision 158918 miscompiled 483.xalancbmk in SPEC CPU 2006
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2010 03:10:18 -0000
- Subject: [Bug middle-end/43951] [4.6 Regression] Revision 158918 miscompiled 483.xalancbmk in SPEC CPU 2006
- References: <bug-43951-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from hjl dot tools at gmail dot com 2010-05-01 03:10 -------
Here is a testcase:
[hjl@gnu-34 483.xalancbmk]$ cat x.cc
class Foo
{
public:
Foo (void);
const int xxx;
};
Foo *
bar ()
{
return new Foo;
}
[hjl@gnu-34 483.xalancbmk]$ /export/gnu/import/rrs/158918/usr/bin/g++ -S -O2
x.cc
[hjl@gnu-34 483.xalancbmk]$ cat x.s
.file "x.cc"
.text
.p2align 4,,15
.globl _Z3barv
.type _Z3barv, @function
_Z3barv:
.LFB0:
.cfi_startproc
rep
ret
.cfi_endproc
.LFE0:
.size _Z3barv, .-_Z3barv
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43951