public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
@ 2004-08-23 12:56 stefaandr at hotmail dot com
  2004-08-23 13:00 ` [Bug c++/17149] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: stefaandr at hotmail dot com @ 2004-08-23 12:56 UTC (permalink / raw)
  To: gcc-bugs

template <class super, int (super::tdata::*member)() const =
&super::tdata::operator() >
struct x {};

Reading specs from /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: /esat/alexandria1/stefaan/src/gcc/main/configure
--prefix=/esat/olympia/install --program-suffix=-3.5 --enable-languages=c,c++
Thread model: posix
gcc version 3.5.0 20040822 (experimental)
 /esat/olympia/install/libexec/gcc/i686-pc-linux-gnu/3.5.0/cc1plus -quiet -v
-D_GNU_SOURCE test20.cpp -quiet -dumpbase test20.cpp -mtune=pentiumpro
-auxbase-strip test20.o -O -version -o /tmp/cclq0yaF.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../include/c++/3.5.0
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../include/c++/3.5.0/i686-pc-linux-gnu
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../include/c++/3.5.0/backward
 /esat/olympia/install/include
 /esat/olympia/install/lib/gcc/i686-pc-linux-gnu/3.5.0/include
 /usr/include
End of search list.
GNU C++ version 3.5.0 20040822 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.4.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
test20.cpp:1: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have template_type_parm in
check_accessibility_of_qualified_id, at cp/semantics.c:1388
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE: tree check: expected record_type or union_type or
                    qual_union_type, have template_type_parm in
                    check_accessibility_of_qualified_id, at
                    cp/semantics.c:1388
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stefaandr at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/17149] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
  2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
@ 2004-08-23 13:00 ` pinskia at gcc dot gnu dot org
  2004-08-23 13:07 ` [Bug c++/17149] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-23 13:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |c++


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


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

* [Bug c++/17149] [3.5 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
  2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
  2004-08-23 13:00 ` [Bug c++/17149] " pinskia at gcc dot gnu dot org
@ 2004-08-23 13:07 ` pinskia at gcc dot gnu dot org
  2004-08-23 13:48 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-23 13:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-23 13:07 -------
: Search converges between 2004-06-27-trunk (#473) and 2004-06-28-trunk (#474).
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-23 13:07:07
               date|                            |
            Summary|ICE: tree check: expected   |[3.5 Regression] ICE: tree
                   |record_type or union_type or|check: expected record_type
                   |qual_union_type, have       |or union_type or
                   |template_type_parm in       |qual_union_type, have
                   |check_accessibility_of_quali|template_type_parm in
                   |fied_id, at                 |check_accessibility_of_quali
                   |cp/semantics.c:1388         |fied_id, at
                   |                            |cp/semantics.c:1388
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/17149] [3.5 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
  2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
  2004-08-23 13:00 ` [Bug c++/17149] " pinskia at gcc dot gnu dot org
  2004-08-23 13:07 ` [Bug c++/17149] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-08-23 13:48 ` reichelt at gcc dot gnu dot org
  2004-08-23 15:00 ` nathan at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-23 13:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-23 13:48 -------
Hi Nathan, the bug appears with your patch
  http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg01174.html
Could you please have a look?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org, reichelt at gcc dot gnu
                   |                            |dot org
           Severity|normal                      |critical
           Keywords|                            |monitored
      Known to work|                            |3.4.1


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


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

* [Bug c++/17149] [3.5 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
  2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
                   ` (2 preceding siblings ...)
  2004-08-23 13:48 ` reichelt at gcc dot gnu dot org
@ 2004-08-23 15:00 ` nathan at gcc dot gnu dot org
  2004-08-24  9:00 ` nathan at gcc dot gnu dot org
  2004-08-24  9:04 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-08-23 15:00 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug c++/17149] [3.5 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
  2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
                   ` (3 preceding siblings ...)
  2004-08-23 15:00 ` nathan at gcc dot gnu dot org
@ 2004-08-24  9:00 ` nathan at gcc dot gnu dot org
  2004-08-24  9:04 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-08-24  9:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2004-08-24 09:00 -------
	PR c++/17149
	* semantics.c (check_accessibility_of_qualified_id): Defer check
	if qualifying_type is a template parameter.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug c++/17149] [3.5 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388
  2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
                   ` (4 preceding siblings ...)
  2004-08-24  9:00 ` nathan at gcc dot gnu dot org
@ 2004-08-24  9:04 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-24  9:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-24 09:04 -------
Subject: Bug 17149

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2004-08-24 09:04:06

Modified files:
	gcc/cp         : ChangeLog semantics.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: access15.C 

Log message:
	cp:
	PR c++/17149
	* semantics.c (check_accessibility_of_qualified_id): Defer check
	if qualifying_type is a template parameter.
	testsuite:
	PR c++/17149
	* g++.dg/template/access15.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4297&r2=1.4298
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.425&r2=1.426
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4179&r2=1.4180
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/access15.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

end of thread, other threads:[~2004-08-24  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23 12:56 [Bug tree-optimization/17149] New: ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388 stefaandr at hotmail dot com
2004-08-23 13:00 ` [Bug c++/17149] " pinskia at gcc dot gnu dot org
2004-08-23 13:07 ` [Bug c++/17149] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-08-23 13:48 ` reichelt at gcc dot gnu dot org
2004-08-23 15:00 ` nathan at gcc dot gnu dot org
2004-08-24  9:00 ` nathan at gcc dot gnu dot org
2004-08-24  9:04 ` cvs-commit 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).