public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13057] New: regparm attribute not applied to destructor
@ 2003-11-14 21:16 bryner at brianryner dot com
  2003-11-14 21:16 ` [Bug c++/13057] " bryner at brianryner dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bryner at brianryner dot com @ 2003-11-14 21:16 UTC (permalink / raw)
  To: gcc-bugs

It appears that giving the regparm(1) attribute on a destructor does not cause
it to pass the |this| pointer in a register.  However, it will pass it in a
register if I give -mregparm=1 on the command line.

This works fine for normal methods, so it seems to be specific to destructors.

-- 
           Summary: regparm attribute not applied to destructor
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bryner at brianryner dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13057


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-01-21  5:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-14 21:16 [Bug c++/13057] New: regparm attribute not applied to destructor bryner at brianryner dot com
2003-11-14 21:16 ` [Bug c++/13057] " bryner at brianryner dot com
2003-11-14 21:20 ` bryner at brianryner dot com
2003-11-14 21:20 ` bryner at brianryner dot com
2003-11-15  2:58 ` [Bug c++/13057] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2003-11-16  2:22 ` bryner at brianryner dot com
2003-11-16  3:59 ` bryner at brianryner dot com
2004-01-06  1:37 ` mmitchel at gcc dot gnu dot org
2004-01-06  2:26 ` cvs-commit at gcc dot gnu dot org
2004-01-06  2:28 ` [Bug c++/13057] [3.3 " mmitchel at gcc dot gnu dot org
2004-01-06  2:28 ` mmitchel at gcc dot gnu dot org
2004-01-06 16:30 ` gdr at integrable-solutions dot net
2004-01-21  3:41 ` dhazeghi at yahoo dot com
2004-01-21  5:52 ` gdr at gcc dot gnu dot org
2004-01-21  5:52 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).