public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19550] New: [4.0 Regression] strong attribute is not strong enough
@ 2005-01-20 22:15 pinskia at gcc dot gnu dot org
2005-01-21 0:48 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-20 22:15 UTC (permalink / raw)
To: gcc-bugs
Here is another example where the strong attribute goes funny (this is reduced from 23_containers/
vector/modifiers/swap.cc with -D_GLIBCXX_DEBUG on). This is a regression in that we did not ICE
before. 3.4 also rejects the code too so the reject valid is not a regression but fixing the the reject
valid will also fix the ICE.
namespace __gnu_debug_def { }
namespace std
{
using namespace __gnu_debug_def __attribute__ ((strong));
template<typename _Tp> class allocator {};
}
namespace __gnu_debug_def
{
template<typename _Tp,
typename _Allocator = std::allocator<_Tp> >
class vector
{
void
swap(vector<_Tp,_Allocator>& __x);
};
}
namespace std
{
template<> void
vector<int, allocator<int> >::swap(vector<int, allocator<int> >&) { }
}
--
Summary: [4.0 Regression] strong attribute is not strong enough
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19550
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/19550] [4.0 Regression] strong attribute is not strong enough
2005-01-20 22:15 [Bug c++/19550] New: [4.0 Regression] strong attribute is not strong enough pinskia at gcc dot gnu dot org
@ 2005-01-21 0:48 ` pinskia at gcc dot gnu dot org
2005-02-01 0:37 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
2005-02-12 22:33 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-21 0:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19550
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/19550] strong attribute is not strong enough
2005-01-20 22:15 [Bug c++/19550] New: [4.0 Regression] strong attribute is not strong enough pinskia at gcc dot gnu dot org
2005-01-21 0:48 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
@ 2005-02-01 0:37 ` pinskia at gcc dot gnu dot org
2005-02-12 22:33 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-01 0:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-01 00:37 -------
This is no longer a regression as we don't ICE on it but it is still a rejects valid.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |rejects-valid
Summary|[4.0 Regression] strong |strong attribute is not
|attribute is not strong |strong enough
|enough |
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19550
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/19550] strong attribute is not strong enough
2005-01-20 22:15 [Bug c++/19550] New: [4.0 Regression] strong attribute is not strong enough pinskia at gcc dot gnu dot org
2005-01-21 0:48 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
2005-02-01 0:37 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
@ 2005-02-12 22:33 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-12 22:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-12 21:00 -------
I just noticed that this was a dup of bug 16021.
*** This bug has been marked as a duplicate of 16021 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19550
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-12 21:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20 22:15 [Bug c++/19550] New: [4.0 Regression] strong attribute is not strong enough pinskia at gcc dot gnu dot org
2005-01-21 0:48 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
2005-02-01 0:37 ` [Bug c++/19550] " pinskia at gcc dot gnu dot org
2005-02-12 22:33 ` pinskia at gcc dot gnu dot org
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).