public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
@ 2003-06-15 13:42 ` lerdsuwa@gcc.gnu.org
  2003-07-16  4:15 ` pinskia at physics dot uc dot edu
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: lerdsuwa@gcc.gnu.org @ 2003-06-15 13:42 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=3761


lerdsuwa@gcc.gnu.org changed:

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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
  2003-06-15 13:42 ` [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy lerdsuwa@gcc.gnu.org
@ 2003-07-16  4:15 ` pinskia at physics dot uc dot edu
  2003-08-09 19:15 ` lerdsuwa at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-16  4:15 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=3761


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at physics dot uc
                   |                            |dot edu
   Last reconfirmed|2003-06-26 19:04:47         |2003-07-16 04:15:41
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-16 04:15 -------
Still happens on the mainline (20030715).


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
  2003-06-15 13:42 ` [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy lerdsuwa@gcc.gnu.org
  2003-07-16  4:15 ` pinskia at physics dot uc dot edu
@ 2003-08-09 19:15 ` lerdsuwa at gcc dot gnu dot org
  2003-08-22 23:17 ` scottb dot lists at verizon dot net
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-08-09 19:15 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=3761


lerdsuwa at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|lerdsuwa at gcc dot gnu dot |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-08-09 19:15 -------
It's a name binding issue.  The relevant code
looks too messy for me to figure out the right
solution.


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (2 preceding siblings ...)
  2003-08-09 19:15 ` lerdsuwa at gcc dot gnu dot org
@ 2003-08-22 23:17 ` scottb dot lists at verizon dot net
  2004-01-19 20:52 ` dhazeghi at yahoo dot com
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: scottb dot lists at verizon dot net @ 2003-08-22 23:17 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=3761



------- Additional Comments From scottb dot lists at verizon dot net  2003-08-22 23:17 -------
proposed patch submitted to gcc-patches:

http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01400.html


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (3 preceding siblings ...)
  2003-08-22 23:17 ` scottb dot lists at verizon dot net
@ 2004-01-19 20:52 ` dhazeghi at yahoo dot com
  2004-01-20  2:03 ` giovannibajo at libero dot it
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-19 20:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-19 20:52 -------
Scott, is your patch still awaiting review, or did you and Kriang agree it should be done a different 
way? Thanks.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scottb dot lists at verizon
                   |                            |dot net


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (4 preceding siblings ...)
  2004-01-19 20:52 ` dhazeghi at yahoo dot com
@ 2004-01-20  2:03 ` giovannibajo at libero dot it
  2004-01-22 16:43 ` scottb dot lists at verizon dot net
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: giovannibajo at libero dot it @ 2004-01-20  2:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-01-20 02:03 -------
I think the patch should be changed slightly. check_template_shadow handles 
declarations (so maybe we could even add a my_friendly_assert about it), so 
it's just invalid to pass it a TREE_LIST only because it's what we have around. 
I think this should be lowered in push_class_level_binding, which, on the 
contrary, is ready to handle a TREE_LIST.

Scott, can you prepare and test an updated patch? Or should I?

-- 


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (5 preceding siblings ...)
  2004-01-20  2:03 ` giovannibajo at libero dot it
@ 2004-01-22 16:43 ` scottb dot lists at verizon dot net
  2004-01-22 16:50 ` giovannibajo at libero dot it
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: scottb dot lists at verizon dot net @ 2004-01-22 16:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From scottb dot lists at verizon dot net  2004-01-22 16:43 -------
Subject: Re:  ICE in check_template_shadow, at cp/pt.c:2013,
 with friend and strange class hierarchy

On 20 Jan 2004, giovannibajo at libero dot it wrote:

> 
> ------- Additional Comments From giovannibajo at libero dot it  2004-01-20 02:03 -------
> I think the patch should be changed slightly. check_template_shadow handles 
> declarations (so maybe we could even add a my_friendly_assert about it), so 
> it's just invalid to pass it a TREE_LIST only because it's what we have around. 
> I think this should be lowered in push_class_level_binding, which, on the 
> contrary, is ready to handle a TREE_LIST.
> 
> Scott, can you prepare and test an updated patch? Or should I?
> 
> 

Hi,

Thanks for looking at this patch.  I would like to help by making any
recommended changes, but I have another commitment next week. It will
take some study for me to come back up to speed on the patch.  So,
would it be ok for me to work on this starting the first week of
February?  I can't get to it any sooner.


Thanks,

Scott Brumbaugh



-- 


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (6 preceding siblings ...)
  2004-01-22 16:43 ` scottb dot lists at verizon dot net
@ 2004-01-22 16:50 ` giovannibajo at libero dot it
  2004-02-02 22:24 ` scottb dot lists at verizon dot net
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: giovannibajo at libero dot it @ 2004-01-22 16:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-01-22 16:50 -------
There is absolutely no hurry. I'm assigning the bug to you meanwhile. Please, 
remember to work on mainline for this bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |scottb dot lists at verizon
                   |dot org                     |dot net
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (7 preceding siblings ...)
  2004-01-22 16:50 ` giovannibajo at libero dot it
@ 2004-02-02 22:24 ` scottb dot lists at verizon dot net
  2004-02-08  6:43 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: scottb dot lists at verizon dot net @ 2004-02-02 22:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From scottb dot lists at verizon dot net  2004-02-02 22:24 -------
Hi,

I have submitted a new version of the patch to the gcc-patches mail list. This
version moves the logic to handle ambiguous declarations from
check_template_shadow into push_class_level_binding.  I have run make
check-gcc-c++ on an i686-pc-linux-gnu target.


http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00130.html

-- 


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (8 preceding siblings ...)
  2004-02-02 22:24 ` scottb dot lists at verizon dot net
@ 2004-02-08  6:43 ` pinskia at gcc dot gnu dot org
  2004-04-28  6:51 ` jbuck at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-08  6:43 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-03 04:13:38         |2004-02-08 06:43:58
               date|                            |
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (9 preceding siblings ...)
  2004-02-08  6:43 ` pinskia at gcc dot gnu dot org
@ 2004-04-28  6:51 ` jbuck at gcc dot gnu dot org
  2004-05-26 21:52 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-04-28  6:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jbuck at gcc dot gnu dot org  2004-04-28 04:04 -------
Nothing's happened on this bug since Feb.  Kriang, do you think that the latest
patch is the correct one?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lerdsuwa at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (10 preceding siblings ...)
  2004-04-28  6:51 ` jbuck at gcc dot gnu dot org
@ 2004-05-26 21:52 ` pinskia at gcc dot gnu dot org
  2004-05-28  0:16 ` scottb dot lists at verizon dot net
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-26 21:52 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (11 preceding siblings ...)
  2004-05-26 21:52 ` pinskia at gcc dot gnu dot org
@ 2004-05-28  0:16 ` scottb dot lists at verizon dot net
  2004-05-28 14:31 ` giovannibajo at libero dot it
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: scottb dot lists at verizon dot net @ 2004-05-28  0:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From scottb dot lists at verizon dot net  2004-05-27 15:10 -------
Subject: Re:  ICE in check_template_shadow, at cp/pt.c:2013,
 with friend and strange class hierarchy

Hi,

I submitted a patch against this bug several months ago.  I wonder what 
the status is?


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


Thanks,


Scott Brumbaugh



-- 


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (12 preceding siblings ...)
  2004-05-28  0:16 ` scottb dot lists at verizon dot net
@ 2004-05-28 14:31 ` giovannibajo at libero dot it
  2004-07-03  2:19 ` cvs-commit at gcc dot gnu dot org
  2004-07-03  2:21 ` giovannibajo at libero dot it
  15 siblings, 0 replies; 16+ messages in thread
From: giovannibajo at libero dot it @ 2004-05-28 14:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-05-27 20:27 -------
Scott, submit a patch ping to gcc-patches@gcc.gnu.org. Specify a link to the 
original mail containing the updated patch, and add an explicit CC: to 
jason@redhat.com. In case you still get no answer, repeat each week until you 
do :)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |2.95.3 3.0.4 3.3.3 3.4.0
                   |                            |3.5.0


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (13 preceding siblings ...)
  2004-05-28 14:31 ` giovannibajo at libero dot it
@ 2004-07-03  2:19 ` cvs-commit at gcc dot gnu dot org
  2004-07-03  2:21 ` giovannibajo at libero dot it
  15 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-03  2:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-03 02:19 -------
Subject: Bug 3761

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	giovannibajo@gcc.gnu.org	2004-07-03 02:19:28

Modified files:
	gcc/cp         : ChangeLog name-lookup.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/lookup: crash4.C 

Log message:
	PR c++/3761
	* name-lookup.c (push_class_level_binding): Don't pass a
	TREE_LIST of ambiguous names to check_template_shadow as it
	only handles declarations. Instead, pull the declaration
	out and pass that.
	
	PR c++/3761
	* g++.dg/lookup/crash4.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4158&r2=1.4159
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.64&r2=1.65
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3934&r2=1.3935
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/crash4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy
       [not found] <20010721145600.3761.francis.andre@easynet.fr>
                   ` (14 preceding siblings ...)
  2004-07-03  2:19 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-03  2:21 ` giovannibajo at libero dot it
  15 siblings, 0 replies; 16+ messages in thread
From: giovannibajo at libero dot it @ 2004-07-03  2:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-07-03 02:21 -------
Approval by Jason here: http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00170.html.

Scott, I went ahead and installed the patch on your behalf as you don't have 
CVS write access. Committed to mainline, test in g++.dg/lookup/crash4.C.

This is now fixed for GCC 3.5.0, thank you Francis for your report!

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-07-03  2:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010721145600.3761.francis.andre@easynet.fr>
2003-06-15 13:42 ` [Bug c++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy lerdsuwa@gcc.gnu.org
2003-07-16  4:15 ` pinskia at physics dot uc dot edu
2003-08-09 19:15 ` lerdsuwa at gcc dot gnu dot org
2003-08-22 23:17 ` scottb dot lists at verizon dot net
2004-01-19 20:52 ` dhazeghi at yahoo dot com
2004-01-20  2:03 ` giovannibajo at libero dot it
2004-01-22 16:43 ` scottb dot lists at verizon dot net
2004-01-22 16:50 ` giovannibajo at libero dot it
2004-02-02 22:24 ` scottb dot lists at verizon dot net
2004-02-08  6:43 ` pinskia at gcc dot gnu dot org
2004-04-28  6:51 ` jbuck at gcc dot gnu dot org
2004-05-26 21:52 ` pinskia at gcc dot gnu dot org
2004-05-28  0:16 ` scottb dot lists at verizon dot net
2004-05-28 14:31 ` giovannibajo at libero dot it
2004-07-03  2:19 ` cvs-commit at gcc dot gnu dot org
2004-07-03  2:21 ` giovannibajo at libero dot it

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).