[Bug 296483] Re: [PR38089, fixed in 4.5] crash compiling a small test
Bug Watch Updater
296483 at bugs.launchpad.net
Mon Jun 13 00:32:28 UTC 2011
Launchpad has imported 10 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38089.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2008-11-12T06:02:52+00:00 Matthias Klose wrote:
seen with 4.1, and newer
g++ test.cpp
test.cpp:17: error: specialization of 'template<class T> T MyNS::MyClass::test()' in different namespace
test.cpp:8: error: from definition of 'template<class T> T MyNS::MyClass::test()'
test.cpp:18: confused by earlier errors, bailing out
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/2
------------------------------------------------------------------------
On 2008-11-12T06:04:34+00:00 Matthias Klose wrote:
Created attachment 16657
test case
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/3
------------------------------------------------------------------------
On 2008-12-24T04:35:02+00:00 Pinskia wrote:
Reduced testcase:
class basic_string
{
basic_string(const int __s);
};
namespace MyNS {
class MyClass {
template <typename T>
T test() { }
};
}
template <>
basic_string MyNS::MyClass::test(){ return 1;}
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/4
------------------------------------------------------------------------
On 2009-03-31T21:02:27+00:00 Jsm28 wrote:
Closing 4.2 branch.
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/5
------------------------------------------------------------------------
On 2009-06-01T19:02:24+00:00 Simartin wrote:
Patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00102.html
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/6
------------------------------------------------------------------------
On 2009-06-02T05:37:30+00:00 Simartin wrote:
Subject: Bug 38089
Author: simartin
Date: Tue Jun 2 05:37:17 2009
New Revision: 148069
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148069
Log:
gcc/cp/
2009-06-02 Simon Martin <simartin at users.sourceforge.net>
PR c++/38089
* pt.c (register_specialization): Properly setup DECL_CONTEXT for
specializations in an invalid namespace.
gcc/testsuite/
2009-06-02 Simon Martin <simartin at users.sourceforge.net>
PR c++/38089
* g++.dg/template/spec36.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/spec36.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/7
------------------------------------------------------------------------
On 2009-06-02T23:48:34+00:00 Simartin wrote:
Fixed in 4.5.0.
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/8
------------------------------------------------------------------------
On 2009-08-04T12:29:34+00:00 Rguenth wrote:
GCC 4.3.4 is being released, adjusting target milestone.
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/9
------------------------------------------------------------------------
On 2010-05-22T18:12:47+00:00 Rguenth wrote:
GCC 4.3.5 is being released, adjusting target milestone.
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/10
------------------------------------------------------------------------
On 2011-06-09T16:14:14+00:00 Paolo-carlini wrote:
Shall we close this as fixed in 4.5+?
Reply at: https://bugs.launchpad.net/gcc/+bug/296483/comments/13
** Changed in: gcc
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/296483
Title:
[PR38089, fixed in 4.5] crash compiling a small test
Status in The GNU Compiler Collection:
Confirmed
Status in “gcc-4.3” package in Ubuntu:
Won't Fix
Status in “gcc-4.4” package in Ubuntu:
Won't Fix
Status in “gcc-4.5” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: gcc-4.3
I was trying to compile the small .cpp attached to show a compilation
error and I got the crash.
I'm using gcc-4.3 4.3.2-1ubuntu11 on Ubuntu 8.10.
ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/lib/gcc/x86_64-linux-gnu/4.3.2/cc1plus
NonfreeKernelModules: nvidia
Package: g++-4.3 4.3.2-1ubuntu11
SourcePackage: gcc-4.3
Uname: Linux 2.6.27-7-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/296483/+subscriptions
More information about the foundations-bugs
mailing list