public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6506: New STLport regression (const qualifiers)
@ 2002-04-29 6:56 gbeauchesne
0 siblings, 0 replies; 4+ messages in thread
From: gbeauchesne @ 2002-04-29 6:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: jason, mark
>Number: 6506
>Category: c++
>Synopsis: New STLport regression (const qualifiers)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Apr 29 06:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Gwenole Beauchesne
>Release: GNU C++ version 3.1 20020429 (prerelease)
>Organization:
>Environment:
i586-mandrake-linux-gnu
>Description:
Recent changes now break STLport-4.5.3
[gbeauchesne@thalys eh]$ g++-3.1 -c test_list2.cpp -save-temps
test_list2.cpp: In copy constructor `test_insert_range<TestList,
std::_List_iterator<TestClass, TestClass&, TestClass*>
>::test_insert_range(const test_insert_range<TestList,
std::_List_iterator<TestClass, TestClass&, TestClass*> >&)':
test_list2.cpp:18: instantiated from `test_insert_range<C, Iter> insert_range_tester(const C&, const Iter&, const Iter&) [with C = TestList, Iter = std::_List_iterator<TestClass, TestClass&, TestClass*>]'
test_list2.cpp:30: instantiated from here
test_list2.cpp:18: `const' qualifiers cannot be applied to `const TestList&'
>How-To-Repeat:
The following is extracted from STLport-4.5.3/test/eh/test_list.cpp:
#include <list>
template <class C, class Iter>
class test_insert_range
{
Iter fFirst, fLast;
const C & original;
public:
test_insert_range( const C& orig, Iter first, Iter last )
: original( orig ), fFirst( first ), fLast( last )
{ }
};
template <class C, class Iter>
test_insert_range<C, Iter>
insert_range_tester( const C& orig, const Iter& first, const Iter& last )
{
return test_insert_range<C, Iter>( orig, first, last );
}
struct TestClass
{
};
typedef std::list<TestClass> TestList;
void test_list()
{
TestList testList, testList2;
insert_range_tester(testList, testList2.begin(), testList2.end());
}
>Fix:
Interestingly, removing bits related to the iterators in class test_insert_range makes it compile again. But that's not a solution.
This is a regression from
GNU C++ version 3.1 20020422 (prerelease)
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/6506: New STLport regression (const qualifiers)
@ 2002-04-29 9:06 Franz Sirl
0 siblings, 0 replies; 4+ messages in thread
From: Franz Sirl @ 2002-04-29 9:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/6506; it has been noted by GNATS.
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
To: Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
Cc: mmitchel@gcc.gnu.org,<gbeauchesne@mandrakesoft.com>,
<gcc-bugs@gcc.gnu.org>,<gcc-prs@gcc.gnu.org>,<jason@redhat.com>,
<mark@codesourcery.com>,<nobody@gcc.gnu.org>,<gcc-gnats@gcc.gnu.org>
Subject: Re: c++/6506: New STLport regression (const qualifiers)
Date: Mon, 29 Apr 2002 17:58:38 +0200
At 17:34 29.04.2002, Gwenole Beauchesne wrote:
>On 29 Apr 2002 mmitchel@gcc.gnu.org wrote:
>
> > Duplicate of PR 6482.
> > Fixed in GCC 3.1.
>
>I fail to see how since PR 6482 is an execution failure in the g++
>testsuite for a SPARC target and I was using a 3.1 build of today
>(20020429) before your commit for PR c++/5719.
>
>I will cvs update again and recheck.
Typo, it's PR c++/6486.
Franz.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/6506: New STLport regression (const qualifiers)
@ 2002-04-29 8:36 Gwenole Beauchesne
0 siblings, 0 replies; 4+ messages in thread
From: Gwenole Beauchesne @ 2002-04-29 8:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/6506; it has been noted by GNATS.
From: Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
To: mmitchel@gcc.gnu.org, <gbeauchesne@mandrakesoft.com>,
<gcc-bugs@gcc.gnu.org>, <gcc-prs@gcc.gnu.org>, <jason@redhat.com>,
<mark@codesourcery.com>, <nobody@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Re: c++/6506: New STLport regression (const qualifiers)
Date: Mon, 29 Apr 2002 17:34:39 +0200 (CEST)
On 29 Apr 2002 mmitchel@gcc.gnu.org wrote:
> Duplicate of PR 6482.
> Fixed in GCC 3.1.
I fail to see how since PR 6482 is an execution failure in the g++
testsuite for a SPARC target and I was using a 3.1 build of today
(20020429) before your commit for PR c++/5719.
I will cvs update again and recheck.
Bye,
Gwenole.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/6506: New STLport regression (const qualifiers)
@ 2002-04-29 8:15 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-04-29 8:15 UTC (permalink / raw)
To: gbeauchesne, gcc-bugs, gcc-prs, jason, mark, nobody
Synopsis: New STLport regression (const qualifiers)
State-Changed-From-To: open->closed
State-Changed-By: mmitchel
State-Changed-When: Mon Apr 29 08:15:25 2002
State-Changed-Why:
Duplicate of PR 6482.
Fixed in GCC 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6506
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-29 16:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-29 6:56 c++/6506: New STLport regression (const qualifiers) gbeauchesne
2002-04-29 8:15 mmitchel
2002-04-29 8:36 Gwenole Beauchesne
2002-04-29 9:06 Franz Sirl
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).