public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "grizlyk1 at yandex dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/30901] New: internal compiler error: in is_ancestor, at cp/name-lookup.c Date: Wed, 21 Feb 2007 02:25:00 -0000 [thread overview] Message-ID: <bug-30901-14136@http.gcc.gnu.org/bugzilla/> (raw) I have passed to compile a little temporary useless C++ code and G++ have written me "Please submit a full bug report", so I do it. ************************************************************************* error description ************************************************************************* 6.cpp:15: internal compiler error: in is_ancestor, at cp/name-lookup.c:2222 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. ************************************************************************* cmdline: ************************************************************************* gpp -S -W -Wextra -g -O2 -v -save-temps 6.cpp >output ************************************************************************* output: ************************************************************************* Using built-in specs. Target: djgpp Configured with: /gnu/gcc-4.10/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-werror --enable-languages=c,c++,fortran,objc,obj-c++,ada Thread model: single gcc version 4.1.0 p:/djgpp/bin/../libexec/gcc/djgpp/4.10/cc1plus.exe -E -quiet -v -iprefix p:/djgpp/bin/../lib/gcc/djgpp/4.10/ -remap -imacros p:/djgpp/bin/../lib/gcc/djgpp/4.10/djgpp.ver 6.cpp -mtune=pentium -W -Wextra -fworking-directory -O2 -fpch-preprocess -o 6.ii ignoring nonexistent directory "p:/djgpp/bin/../lib/gcc/djgpp/4.10/../../../../djgpp/include" ignoring nonexistent directory "p:/djgpp/djgpp/include/" #include "..." search starts here: #include <...> search starts here: p:/djgpp/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10 p:/djgpp/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/djgpp p:/djgpp/bin/../lib/gcc/djgpp/4.10/../../../../include/cxx/4.10/backward p:/djgpp/bin/../lib/gcc/djgpp/4.10/include p:/djgpp/include/cxx/4.10/ p:/djgpp/include/cxx/4.10/djgpp/ p:/djgpp/include/cxx/4.10/backward/ p:/djgpp/lib/gcc/djgpp/4.10/include/ p:/djgpp/include/ End of search list. p:/djgpp/bin/../libexec/gcc/djgpp/4.10/cc1plus.exe -fpreprocessed 6.ii -quiet -dumpbase 6.cpp -mtune=pentium -auxbase 6 -g -O2 -W -Wextra -version -o 6.s GNU C++ version 4.1.0 (djgpp) compiled by GNU C version 4.1.0. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 25d99bb4bc1ed4eaee3f5ab2997c0cc8 6.cpp:15: internal compiler error: in is_ancestor, at cp/name-lookup.c:2222 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. ************************************************************************* 6.cpp: ************************************************************************* #define heap template<class T> struct User_wrapper { User_wrapper(T heap *const); }; struct X { static User_wrapper<X> test(X heap* ptr); }; template<class T> User_wrapper<T> T::test(T heap* ptr) { return User_wrapper<T>(ptr); } int main() { } ************************************************************************* 6.ii: ************************************************************************* # 1 "6.cpp" # 1 "p:/prj/educh/os/lib/#data/test/v4//" # 1 "<built-in>" # 1 "<command line>" # 1 "p:/djgpp/bin/../lib/gcc/djgpp/4.10/djgpp.ver" 1 # 1 "p:/djgpp/include/sys/version.h" 1 3 4 # 2 "p:/djgpp/bin/../lib/gcc/djgpp/4.10/djgpp.ver" 2 # 1 "<command line>" 2 # 1 "6.cpp" template<class T> struct User_wrapper { User_wrapper(T *const); }; struct X { static User_wrapper<X> test(X * ptr); }; template<class T> User_wrapper<T> T::test(T * ptr) { return User_wrapper<T>(ptr); } int main() { } ************************************************************************* 6.S: ************************************************************************* .file "6.cpp" .section .debug_abbrev,"" Ldebug_abbrev0: .section .debug_info,"" Ldebug_info0: .section .debug_line,"" Ldebug_line0: .section .text Ltext0: -- Summary: internal compiler error: in is_ancestor, at cp/name- lookup.c Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: grizlyk1 at yandex dot ru http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30901
next reply other threads:[~2007-02-21 2:25 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-21 2:25 grizlyk1 at yandex dot ru [this message] 2007-02-21 11:12 ` [Bug c++/30901] [4.1 Regression] " rguenth at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30901-14136@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).