public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bryner at brianryner dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13057] New: regparm attribute not applied to destructor
Date: Fri, 14 Nov 2003 21:16:00 -0000	[thread overview]
Message-ID: <20031114211618.13057.bryner@brianryner.com> (raw)

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


             reply	other threads:[~2003-11-14 21:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 21:16 bryner at brianryner dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031114211618.13057.bryner@brianryner.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).