public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42563]  New: internal compiler error in is_ancestor, at cp/name-lookup.c
@ 2009-12-31  6:06 thomasd57 at yahoo dot com
  2009-12-31 11:57 ` [Bug c++/42563] " paolo dot carlini at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: thomasd57 at yahoo dot com @ 2009-12-31  6:06 UTC (permalink / raw)
  To: gcc-bugs

Here is the testcase:

template<typename T>
struct A {
    A() {}
};

struct B {
    B() {}
    A<B>    foo();
};

template<typename T>
A<T>    T::foo() {
    return A<T>();
}

template class A<B>;

And the command line:
> g++ -c test.cc -Wall
test.cc:13: internal compiler error: in is_ancestor, at cp/name-lookup.c:2236
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.opensuse.org> for instructions.

> g++ -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)

> cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 1


-- 
           Summary: internal compiler error in is_ancestor, at cp/name-
                    lookup.c
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thomasd57 at yahoo dot com


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


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

* [Bug c++/42563] internal compiler error in is_ancestor, at cp/name-lookup.c
  2009-12-31  6:06 [Bug c++/42563] New: internal compiler error in is_ancestor, at cp/name-lookup.c thomasd57 at yahoo dot com
@ 2009-12-31 11:57 ` paolo dot carlini at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-31 11:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from paolo dot carlini at oracle dot com  2009-12-31 11:57 -------
A very old issue. In general, before filing in Bugzilla, do a search, and in
any case never file issues vs old unmaintained release branches, thanks.

*** This bug has been marked as a duplicate of 27102 ***


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2009-12-31 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-31  6:06 [Bug c++/42563] New: internal compiler error in is_ancestor, at cp/name-lookup.c thomasd57 at yahoo dot com
2009-12-31 11:57 ` [Bug c++/42563] " paolo dot carlini at oracle dot com

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