------- Comment #7 from hjl dot tools at gmail dot com  2010-05-01 03:10 -------
Here is a testcase:

[...@gnu-34 483.xalancbmk]$ cat x.cc
class Foo 
{
public:
  Foo (void);
  const int xxx;
};
Foo *
bar ()
{
  return new Foo;
}
[...@gnu-34 483.xalancbmk]$ /export/gnu/import/rrs/158918/usr/bin/g++ -S -O2
x.cc
[...@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

Reply via email to