public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
@ 2003-02-19 15:06 Steven Bosscher
0 siblings, 0 replies; 6+ messages in thread
From: Steven Bosscher @ 2003-02-19 15:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3187; it has been noted by GNATS.
From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
peter@empeg.com, gcc-prs@gcc.gnu.org
Cc:
Subject: Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
Date: Wed, 19 Feb 2003 15:59:20 +0100
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3187
This PR is _really_ old. Last modified over a year and a half ago, so it
should go in feedback. It would be even better if this bug is fixed
because it's a pretty serious bug IMO.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
@ 2003-02-19 15:26 Steven Bosscher
0 siblings, 0 replies; 6+ messages in thread
From: Steven Bosscher @ 2003-02-19 15:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3187; it has been noted by GNATS.
From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: Nathan Sidwell <nathan@codesourcery.com>
Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
peter@empeg.com, gcc-prs@gcc.gnu.org
Subject: Re: c++/3187: gcc-3.0 prerelease lays down two copies of
constructors
Date: 19 Feb 2003 16:21:59 +0100
Op wo 19-02-2003, om 16:16 schreef Nathan Sidwell:
> Steven Bosscher wrote:
> > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3187
> >
> >
> > This PR is _really_ old. Last modified over a year and a half ago, so it
> > should go in feedback. It would be even better if this bug is fixed
> > because it's a pretty serious bug IMO.
> no. analyzed is the right state. Why do you think it serious? It does
> not cause miscompilation or reject legal code.
Nope, that's why I didn't say critical. I think it's serious because of
the 20% increase in code size as claimed in the PR.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
@ 2003-02-19 15:26 Nathan Sidwell
0 siblings, 0 replies; 6+ messages in thread
From: Nathan Sidwell @ 2003-02-19 15:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3187; it has been noted by GNATS.
From: Nathan Sidwell <nathan@codesourcery.com>
To: Steven Bosscher <s.bosscher@student.tudelft.nl>
Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
peter@empeg.com, gcc-prs@gcc.gnu.org
Subject: Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
Date: Wed, 19 Feb 2003 15:16:14 +0000
Steven Bosscher wrote:
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3187
>
>
> This PR is _really_ old. Last modified over a year and a half ago, so it
> should go in feedback. It would be even better if this bug is fixed
> because it's a pretty serious bug IMO.
no. analyzed is the right state. Why do you think it serious? It does
not cause miscompilation or reject legal code.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
@ 2001-06-15 0:53 nathan
0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2001-06-15 0:53 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, peter
Synopsis: gcc-3.0 prerelease lays down two copies of constructors
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Fri Jun 15 00:53:06 2001
State-Changed-Why:
This is not a bug, however, it is a pessimization.
The following ctor/dtors are (sometimes) required
1) complete object ctor/dtor
2) base object ctor/dtor
3) new/delete ctor/dtor
in the general case 1 & 2 are different, but for many
classes they are the same. We should do something about
that.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3187&database=gcc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
@ 2001-06-14 12:16 Philip Blundell
0 siblings, 0 replies; 6+ messages in thread
From: Philip Blundell @ 2001-06-14 12:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3187; it has been noted by GNATS.
From: Philip Blundell <philb@gnu.org>
To: peter@empeg.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/3187: gcc-3.0 prerelease lays down two copies of constructors
Date: Thu, 14 Jun 2001 20:06:17 +0100
--==_Exmh_-1613115566P
Content-Type: text/plain; charset=us-ascii
>>How-To-Repeat:
>arm-cvs-linux-g++ -S aubergine.cpp -o aubergine2.s
This is not much use unless you supply a copy of aubergine.cpp with the bug
report. Or rather the preprocessed source; see http://gcc.gnu.org/bugs.html
for instructions.
p.
--==_Exmh_-1613115566P
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)
iD8DBQE7KQspVTLPJe9CT30RAp7KAJsF+Ye3KBDcc28GQHj1dRWMPT6kcQCgh20a
Yy/bbj5PqmEgfsHx+utTu5o=
=56d5
-----END PGP SIGNATURE-----
--==_Exmh_-1613115566P--
^ permalink raw reply [flat|nested] 6+ messages in thread
* c++/3187: gcc-3.0 prerelease lays down two copies of constructors
@ 2001-06-14 11:46 peter
0 siblings, 0 replies; 6+ messages in thread
From: peter @ 2001-06-14 11:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 3187
>Category: c++
>Synopsis: gcc-3.0 prerelease lays down two copies of constructors
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Thu Jun 14 11:46:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter Hartley
>Release: gcc version 3.0 20010614 (prerelease)
>Organization:
>Environment:
PC Linux host, ARM Linux cross-compiler
Configured with: ../gcc/configure --prefix=/home/peter --host=i686-linux --build=i686-linux --target=arm-cvs-linux --enable-languages=c,c++ --enable-static
>Description:
Two (sometimes three) identical copies of constructors and destructors are laid down. The linker doesn't fail this, but the binaries produced are 20% bigger (on our real-world example) than necessary.
>How-To-Repeat:
arm-cvs-linux-g++ -S aubergine.cpp -o aubergine2.s
The aubergine2.s file clearly contains two identical constructors and two identical destructors.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-02-19 15:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19 15:06 c++/3187: gcc-3.0 prerelease lays down two copies of constructors Steven Bosscher
-- strict thread matches above, loose matches on Subject: below --
2003-02-19 15:26 Steven Bosscher
2003-02-19 15:26 Nathan Sidwell
2001-06-15 0:53 nathan
2001-06-14 12:16 Philip Blundell
2001-06-14 11:46 peter
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).