c++/3187: gcc-3.0 prerelease lays down two copies of constructors

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Jun 15 00:53:00 GMT 2001


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



More information about the Gcc-bugs mailing list