This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/43951] [4.6 Regression] Revision 158918 miscompiled 483.xalancbmk in SPEC CPU 2006



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]