public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6486: Failure creating a default copy contructor
@ 2002-04-28 12:38 mmitchel
0 siblings, 0 replies; 5+ messages in thread
From: mmitchel @ 2002-04-28 12:38 UTC (permalink / raw)
To: franz.sirl-kernel, gcc-bugs, gcc-prs, kunert, mmitchel, nobody
Synopsis: Failure creating a default copy contructor
Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Sun Apr 28 12:38:37 2002
Responsible-Changed-Why:
Working on a fix.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6486
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/6486: Failure creating a default copy contructor
@ 2002-04-29 8:03 mmitchel
0 siblings, 0 replies; 5+ messages in thread
From: mmitchel @ 2002-04-29 8:03 UTC (permalink / raw)
To: franz.sirl-kernel, gcc-bugs, gcc-prs, kunert, mmitchel
Synopsis: Failure creating a default copy contructor
State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Mon Apr 29 08:03:02 2002
State-Changed-Why:
Fixed in GCC 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6486
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/6486: Failure creating a default copy contructor
@ 2002-04-27 6:46 Thomas Kunert
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Kunert @ 2002-04-27 6:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/6486; it has been noted by GNATS.
From: Thomas Kunert <kunert@physik.tu-dresden.de>
To: sirl@gcc.gnu.org, franz.sirl-kernel@lauterbach.com, gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/6486: Failure creating a default copy contructor
Date: Sat, 27 Apr 2002 15:44:55 +0200
sirl@gcc.gnu.org wrote:
> Contrary to the submitters statement this happens with current gcc-3.1pre too.
Then the bug must have been introduced after this snapshot:
$ g++-31 -v
Reading specs from /opt/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc/configure i686-pc-linux-gnu --enable-shared
--prefix=/opt --enable-languages=c,c++,f77
Thread model: single
gcc version 3.1 20020423 (prerelease)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/6486: Failure creating a default copy contructor
@ 2002-04-27 6:09 sirl
0 siblings, 0 replies; 5+ messages in thread
From: sirl @ 2002-04-27 6:09 UTC (permalink / raw)
To: franz.sirl-kernel, gcc-bugs, gcc-prs, kunert, nobody
Synopsis: Failure creating a default copy contructor
State-Changed-From-To: open->analyzed
State-Changed-By: sirl
State-Changed-When: Sat Apr 27 06:09:23 2002
State-Changed-Why:
Contrary to the submitters statement this happens with current gcc-3.1pre too. Probably a duplicate of c++/6463 but with a lot smaller testcase.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6486
^ permalink raw reply [flat|nested] 5+ messages in thread
* c++/6486: Failure creating a default copy contructor
@ 2002-04-27 5:16 kunert
0 siblings, 0 replies; 5+ messages in thread
From: kunert @ 2002-04-27 5:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 6486
>Category: c++
>Synopsis: Failure creating a default copy contructor
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sat Apr 27 05:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Thomas Kunert
>Release: gcc 3.2 20020426
>Organization:
>Environment:
/opt/bin/g++-32 -v
Reading specs from /opt/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc/configure i686-pc-linux-gnu --enable-shared --prefix=/opt --enable-languages=c,c++,f77
Thread model: single
gcc version 3.2 20020426 (experimental)
>Description:
The following code is being rejected.
This is a regression wrt 3.0 and 3.1.
class A {
public:
A(){}
A( const A& a ){}
};
class B : public A
{
public:
B( int& s) : s_(s){}
int& s_;
};
int main()
{
int i;
B x1( i );
B x2( x1 );
}
$ /opt/bin/g++-32 x4.cc
x4.cc: In copy constructor `B::B(const B&)':
x4.cc:18: `const' qualifiers cannot be applied to `int&'
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-04-29 15:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-28 12:38 c++/6486: Failure creating a default copy contructor mmitchel
-- strict thread matches above, loose matches on Subject: below --
2002-04-29 8:03 mmitchel
2002-04-27 6:46 Thomas Kunert
2002-04-27 6:09 sirl
2002-04-27 5:16 kunert
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).