public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16260] New: [3.5 regression] ICE in template function
@ 2004-06-29 10:29 reichelt at gcc dot gnu dot org
  2004-06-29 10:51 ` [Bug c++/16260] " nathan at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-06-29 10:29 UTC (permalink / raw)
  To: gcc-bugs

Nathan, your patch

http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg01174.html

causes mainline to choke (segfault) on the following valid code snippet:

======================================================
template<typename T> int foo() { return T::X::Y; }
======================================================

Could you please have a look?

-- 
           Summary: [3.5 regression] ICE in template function
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,nathan at gcc dot gnu
                    dot org


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


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

* [Bug c++/16260] [3.5 regression] ICE in template function
  2004-06-29 10:29 [Bug c++/16260] New: [3.5 regression] ICE in template function reichelt at gcc dot gnu dot org
@ 2004-06-29 10:51 ` nathan at gcc dot gnu dot org
  2004-06-29 11:11 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-06-29 10:51 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|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug c++/16260] [3.5 regression] ICE in template function
  2004-06-29 10:29 [Bug c++/16260] New: [3.5 regression] ICE in template function reichelt at gcc dot gnu dot org
  2004-06-29 10:51 ` [Bug c++/16260] " nathan at gcc dot gnu dot org
@ 2004-06-29 11:11 ` cvs-commit at gcc dot gnu dot org
  2004-06-29 14:13 ` pinskia at gcc dot gnu dot org
  2004-06-29 15:25 ` bangerth at dealii dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-29 11:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-29 11:10 -------
Subject: Bug 16260

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2004-06-29 11:10:12

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/cp         : ChangeLog parser.c 
Added files:
	gcc/testsuite/g++.dg/parse: crash15.C 

Log message:
	cp:
	PR c++/16260
	* parser.c (cp_parser_template_declaration_after_export): Disable
	access checks here ...
	(cp_parser_class_specifier): ... not here.
	testsuite:
	PR c++/16260
	* g++.dg/parse/crash15.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash15.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3912&r2=1.3913
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4142&r2=1.4143
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.221&r2=1.222



-- 


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


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

* [Bug c++/16260] [3.5 regression] ICE in template function
  2004-06-29 10:29 [Bug c++/16260] New: [3.5 regression] ICE in template function reichelt at gcc dot gnu dot org
  2004-06-29 10:51 ` [Bug c++/16260] " nathan at gcc dot gnu dot org
  2004-06-29 11:11 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-29 14:13 ` pinskia at gcc dot gnu dot org
  2004-06-29 15:25 ` bangerth at dealii dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-29 14:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-29 14:10 -------
Fixed.

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


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


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

* [Bug c++/16260] [3.5 regression] ICE in template function
  2004-06-29 10:29 [Bug c++/16260] New: [3.5 regression] ICE in template function reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-06-29 14:13 ` pinskia at gcc dot gnu dot org
@ 2004-06-29 15:25 ` bangerth at dealii dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2004-06-29 15:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-29 15:25 -------
*** Bug 16270 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org


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


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

end of thread, other threads:[~2004-06-29 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 10:29 [Bug c++/16260] New: [3.5 regression] ICE in template function reichelt at gcc dot gnu dot org
2004-06-29 10:51 ` [Bug c++/16260] " nathan at gcc dot gnu dot org
2004-06-29 11:11 ` cvs-commit at gcc dot gnu dot org
2004-06-29 14:13 ` pinskia at gcc dot gnu dot org
2004-06-29 15:25 ` bangerth at dealii 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).