public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE
@ 2005-01-21  0:19 pinskia at gcc dot gnu dot org
  2005-01-21  0:19 ` [Bug c++/19555] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-21  0:19 UTC (permalink / raw)
  To: gcc-bugs

namespace __gnu_debug_def { }
namespace std
{
  using namespace __gnu_debug_def;
  template<typename _Tp> class allocator {};
}
namespace __gnu_debug_def
{
  template<typename _Tp,
    typename _Allocator = std::allocator<_Tp> >
    class vector
    {
      void
      swap(vector<_Tp,_Allocator>& __x);
    };
}
namespace std
{
  template<> void
    vector<int, allocator<int> >::swap(vector<int, allocator<int> >&) { }
}

-- 
           Summary: [4.0 Regression] specialized in the wrong namespace
                    causes an ICE
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE
  2005-01-21  0:19 [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE pinskia at gcc dot gnu dot org
@ 2005-01-21  0:19 ` pinskia at gcc dot gnu dot org
  2005-01-21 16:26 ` lerdsuwa at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-21  0:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE
  2005-01-21  0:19 [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE pinskia at gcc dot gnu dot org
  2005-01-21  0:19 ` [Bug c++/19555] " pinskia at gcc dot gnu dot org
@ 2005-01-21 16:26 ` lerdsuwa at gcc dot gnu dot org
  2005-01-31  5:20 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-01-21 16:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-01-21 16:25 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-21 16:25:55
               date|                            |


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


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

* [Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE
  2005-01-21  0:19 [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE pinskia at gcc dot gnu dot org
  2005-01-21  0:19 ` [Bug c++/19555] " pinskia at gcc dot gnu dot org
  2005-01-21 16:26 ` lerdsuwa at gcc dot gnu dot org
@ 2005-01-31  5:20 ` mmitchel at gcc dot gnu dot org
  2005-01-31  6:17 ` cvs-commit at gcc dot gnu dot org
  2005-01-31  6:18 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-31  5:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE
  2005-01-21  0:19 [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-31  5:20 ` mmitchel at gcc dot gnu dot org
@ 2005-01-31  6:17 ` cvs-commit at gcc dot gnu dot org
  2005-01-31  6:18 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-31  6:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-31 06:17 -------
Subject: Bug 19555

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2005-01-31 06:16:54

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/cp         : ChangeLog cp-tree.h decl.c 
Added files:
	gcc/testsuite/g++.dg/template: static10.C 

Log message:
	PR c++/19555
	* cp-tree.h (DECL_USE_TEMPLATE): Expand documentation.
	* decl.c (duplicate_decls): Do not discard
	DECL_IMPLICIT_INSTANTIATION when merging declarations.
	(start_decl): Do not SET_DECL_TEMPLATE_SPECIALIZATION for
	variables that do not have DECL_USE_TEMPLATE.
	
	PR c++/19555
	* g++.dg/template/static10.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4961&r2=1.4962
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static10.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4603&r2=1.4604
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1098&r2=1.1099
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1356&r2=1.1357



-- 


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


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

* [Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE
  2005-01-21  0:19 [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-31  6:17 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-31  6:18 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-31  6:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-01-31 06:18 -------
Fixed in GCC 4.0.

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


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


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

end of thread, other threads:[~2005-01-31  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-21  0:19 [Bug c++/19555] New: [4.0 Regression] specialized in the wrong namespace causes an ICE pinskia at gcc dot gnu dot org
2005-01-21  0:19 ` [Bug c++/19555] " pinskia at gcc dot gnu dot org
2005-01-21 16:26 ` lerdsuwa at gcc dot gnu dot org
2005-01-31  5:20 ` mmitchel at gcc dot gnu dot org
2005-01-31  6:17 ` cvs-commit at gcc dot gnu dot org
2005-01-31  6:18 ` mmitchel 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).