public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28942] New: [4.2 Regression] Dependent deconstrcutors
@ 2006-09-03 17:45 pinskia at gcc dot gnu dot org
2006-09-03 17:45 ` [Bug c++/28942] " 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 @ 2006-09-03 17:45 UTC (permalink / raw)
To: gcc-bugs
we just reject now but it is
valid code as far as I can tell:
template< class other>
struct bin_search_tree_data_
{
typedef typename other::node node;
typedef node *node_pointer;
~bin_search_tree_data_()
{
m_p_head->~node();
}
node_pointer m_p_head;
};
struct blowup
{
typedef int node;
};
bin_search_tree_data_< blowup > r;
------------------------------ Here is one that ICEs also and closer to
the original code:
template< class other>
struct bin_search_tree_data_
{
typedef typename other::node node;
typedef node *node_pointer;
~bin_search_tree_data_()
{
m_p_head->~node();
}
node_pointer m_p_head;
};
struct blowup2{};
struct blowup
{
typedef blowup2 node;
};
bin_search_tree_data_< blowup > r;
------
I am creating this after 15 hours of no activity on fixing the problem.
--
Summary: [4.2 Regression] Dependent deconstrcutors
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, rejects-valid
Severity: blocker
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 23287
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28942
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/28942] [4.2 Regression] Dependent deconstrcutors
2006-09-03 17:45 [Bug c++/28942] New: [4.2 Regression] Dependent deconstrcutors pinskia at gcc dot gnu dot org
@ 2006-09-03 17:45 ` pinskia at gcc dot gnu dot org
2006-09-03 18:26 ` nathan at gcc dot gnu dot org
2006-09-04 16:42 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-03 17:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-03 17:45 -------
Note this was from:
http://gcc.gnu.org/ml/gcc/2006-09/msg00048.html
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-09-03 17:45:33
date| |
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28942
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/28942] [4.2 Regression] Dependent deconstrcutors
2006-09-03 17:45 [Bug c++/28942] New: [4.2 Regression] Dependent deconstrcutors pinskia at gcc dot gnu dot org
2006-09-03 17:45 ` [Bug c++/28942] " pinskia at gcc dot gnu dot org
@ 2006-09-03 18:26 ` nathan at gcc dot gnu dot org
2006-09-04 16:42 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: nathan at gcc dot gnu dot org @ 2006-09-03 18:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from nathan at gcc dot gnu dot org 2006-09-03 18:26 -------
I'll look at this tomorrow. If I can't figure out a solution I'll revert 23287
--
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-09-03 17:45:33 |2006-09-03 18:26:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28942
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/28942] [4.2 Regression] Dependent deconstrcutors
2006-09-03 17:45 [Bug c++/28942] New: [4.2 Regression] Dependent deconstrcutors pinskia at gcc dot gnu dot org
2006-09-03 17:45 ` [Bug c++/28942] " pinskia at gcc dot gnu dot org
2006-09-03 18:26 ` nathan at gcc dot gnu dot org
@ 2006-09-04 16:42 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-04 16:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-04 16:42 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28942
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-09-04 16:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-03 17:45 [Bug c++/28942] New: [4.2 Regression] Dependent deconstrcutors pinskia at gcc dot gnu dot org
2006-09-03 17:45 ` [Bug c++/28942] " pinskia at gcc dot gnu dot org
2006-09-03 18:26 ` nathan at gcc dot gnu dot org
2006-09-04 16:42 ` 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).