public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11344] New: templates + friend + name conflict = ICE
@ 2003-06-27  9:06 scott dot worley at chkno dot net
  2003-06-27 11:52 ` [Bug c++/11344] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: scott dot worley at chkno dot net @ 2003-06-27  9:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344

           Summary: templates + friend + name conflict = ICE
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: scott dot worley at chkno dot net
                CC: gcc-bugs at gcc dot gnu dot org

template <class Foo> 
class bar {}; 
 
template <class Foo> 
class baz { 
   int bar; 
   friend class bar; 
}; 
 
 
Will cause ICE in pop_binding, at cp/decl.c:1187 
 
Tested on 2.95.4, 2.96, and 3.2.2.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3/3.4 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
@ 2003-06-27 11:52 ` pinskia at physics dot uc dot edu
  2003-06-27 14:20 ` bangerth at dealii dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-27 11:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-27 11:52:55
               date|                            |
            Summary|templates + friend + name   |[3.3/3.4 Regression]
                   |conflict = ICE              |templates + friend + name
                   |                            |conflict = ICE


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-27 11:52 -------
I can confirm this on 2.95.3, 3.0.4, 3.2.2, 3.2.3, 3.3.1 (20030616) and the mainline (20030626) 
but in 2.91.66, I do not get an ICE so this a regression wrt 2.91.66.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3/3.4 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
  2003-06-27 11:52 ` [Bug c++/11344] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
@ 2003-06-27 14:20 ` bangerth at dealii dot org
  2003-06-28  2:46 ` pinskia at physics dot uc dot edu
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2003-06-27 14:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344



------- Additional Comments From bangerth at dealii dot org  2003-06-27 14:20 -------
There are several other PRs for ICEs in pop_binding, see PR 157,
PR 5402, PR 6289, PR 9777. Maybe they are connected.

W.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3/3.4 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
  2003-06-27 11:52 ` [Bug c++/11344] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
  2003-06-27 14:20 ` bangerth at dealii dot org
@ 2003-06-28  2:46 ` pinskia at physics dot uc dot edu
  2003-06-28 12:21 ` gdr at integrable-solutions dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-28  2:46 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344



------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-28 02:46 -------
The closest on this one looks like is bug 6289.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3/3.4 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
                   ` (2 preceding siblings ...)
  2003-06-28  2:46 ` pinskia at physics dot uc dot edu
@ 2003-06-28 12:21 ` gdr at integrable-solutions dot net
  2003-07-21 19:58 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-06-28 12:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344



------- Additional Comments From gdr at integrable-solutions dot net  2003-06-28 12:21 -------
Subject: Re:  [3.3/3.4 Regression] templates + friend + name conflict = ICE

"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| There are several other PRs for ICEs in pop_binding, see PR 157,
| PR 5402, PR 6289, PR 9777. Maybe they are connected.

Indeed.  That ICE is caused by the way we're handling binding
contours.  Hoepfully, they will be fixed as collateral benefits of the
work on name lookup speed up.

-- Gaby


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3/3.4 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
                   ` (3 preceding siblings ...)
  2003-06-28 12:21 ` gdr at integrable-solutions dot net
@ 2003-07-21 19:58 ` pinskia at physics dot uc dot edu
  2003-08-19 14:09 ` [Bug c++/11344] [3.3 " lerdsuwa at gcc dot gnu dot org
  2003-09-17  7:02 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-21 19:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |3.3.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
                   ` (4 preceding siblings ...)
  2003-07-21 19:58 ` pinskia at physics dot uc dot edu
@ 2003-08-19 14:09 ` lerdsuwa at gcc dot gnu dot org
  2003-09-17  7:02 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-08-19 14:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344


lerdsuwa at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.3/3.4 Regression]        |[3.3 Regression] templates +
                   |templates + friend + name   |friend + name conflict = ICE
                   |conflict = ICE              |


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-08-19 14:09 -------
Already fixed in the main trunk.  So it's only a 3.3 regression now.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/11344] [3.3 Regression] templates + friend + name conflict = ICE
  2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
                   ` (5 preceding siblings ...)
  2003-08-19 14:09 ` [Bug c++/11344] [3.3 " lerdsuwa at gcc dot gnu dot org
@ 2003-09-17  7:02 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-17  7:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.3.2                       |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-17 05:51 -------
Since this is fixed on the mainline and it is a regression from 2.91.66 (released as egcs), I am 
closing this as fixed.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-17  5:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-27  9:06 [Bug c++/11344] New: templates + friend + name conflict = ICE scott dot worley at chkno dot net
2003-06-27 11:52 ` [Bug c++/11344] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
2003-06-27 14:20 ` bangerth at dealii dot org
2003-06-28  2:46 ` pinskia at physics dot uc dot edu
2003-06-28 12:21 ` gdr at integrable-solutions dot net
2003-07-21 19:58 ` pinskia at physics dot uc dot edu
2003-08-19 14:09 ` [Bug c++/11344] [3.3 " lerdsuwa at gcc dot gnu dot org
2003-09-17  7:02 ` 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).