public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function [not found] <bug-23730-7527@http.gcc.gnu.org/bugzilla/> @ 2005-10-12 15:03 ` cvs-commit at gcc dot gnu dot org 2005-10-12 19:33 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-12 15:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from cvs-commit at gcc dot gnu dot org 2005-10-12 15:03 ------- Subject: Bug 23730 CVSROOT: /cvs/gcc Module name: gcc Changes by: dje@gcc.gnu.org 2005-10-12 15:03:12 Modified files: gcc/cp : ChangeLog call.c Log message: PR c++/23730 * call.c (build_object_call): If BINFO is NULL, bypass lookup_fnfields and set fns to NULL_TREE. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4923&r2=1.4924 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.556&r2=1.557 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function [not found] <bug-23730-7527@http.gcc.gnu.org/bugzilla/> 2005-10-12 15:03 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function cvs-commit at gcc dot gnu dot org @ 2005-10-12 19:33 ` cvs-commit at gcc dot gnu dot org 2005-10-12 19:40 ` dje at gcc dot gnu dot org 2005-10-14 2:33 ` cvs-commit at gcc dot gnu dot org 3 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-12 19:33 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-12 19:33 ------- Subject: Bug 23730 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: dje@gcc.gnu.org 2005-10-12 19:33:32 Modified files: gcc/cp : ChangeLog call.c Log message: PR c++/23730 * call.c (build_object_call): If BINFO is NULL, bypass lookup_fnfields and set fns to NULL_TREE. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.128&r2=1.4648.2.129 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.531.2.10&r2=1.531.2.11 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function [not found] <bug-23730-7527@http.gcc.gnu.org/bugzilla/> 2005-10-12 15:03 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function cvs-commit at gcc dot gnu dot org 2005-10-12 19:33 ` cvs-commit at gcc dot gnu dot org @ 2005-10-12 19:40 ` dje at gcc dot gnu dot org 2005-10-14 2:33 ` cvs-commit at gcc dot gnu dot org 3 siblings, 0 replies; 8+ messages in thread From: dje at gcc dot gnu dot org @ 2005-10-12 19:40 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from dje at gcc dot gnu dot org 2005-10-12 19:40 ------- Fixed. -- dje at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function [not found] <bug-23730-7527@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2005-10-12 19:40 ` dje at gcc dot gnu dot org @ 2005-10-14 2:33 ` cvs-commit at gcc dot gnu dot org 3 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-14 2:33 UTC (permalink / raw) To: gcc-bugs ------- Comment #8 from cvs-commit at gcc dot gnu dot org 2005-10-14 02:33 ------- Subject: Bug 23730 CVSROOT: /cvs/gcc Module name: gcc Changes by: dje@gcc.gnu.org 2005-10-14 02:33:11 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/parse: crash32.C Log message: PR c++/23730 * g++.dg/parse/crash32.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6188&r2=1.6189 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash32.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] New: ICE instead of reporting a call to a non existant member function @ 2005-09-05 13:00 gcc-bugzilla at gcc dot gnu dot org 2005-09-11 15:55 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent " reichelt at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 8+ messages in thread From: gcc-bugzilla at gcc dot gnu dot org @ 2005-09-05 13:00 UTC (permalink / raw) To: gcc-bugs G++ dies instead of reporting a clear error message. This is a regression as compared to 3.3 I'm afraid I can't currently upgrade to 4.1, so I can't tell if this is still a problem... Environment: System: Linux nostromo 2.4.27-1-686 #1 Wed Dec 1 19:57:47 JST 2004 i686 GNU/Linux Architecture: i686 host: i486-pc-linux-gnu build: i486-pc-linux-gnu target: i486-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu How-To-Repeat: /tmp % eof foo.cc nostromo 14:57 : -------------------- foo.cc ---------------------- cat > foo.cc << \EOF struct Visitor; struct Ast { virtual void accept (Visitor& v); }; void Ast::accept (Visitor& v) { v (*this); } EOF : ------------------------------------------------------------ /tmp % gcc-4.0 foo.cc nostromo 14:57 foo.cc: In member function 'virtual void Ast::accept(Visitor&)': foo.cc:11: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>. /tmp % gcc-3.3 foo.cc nostromo Err 1 foo.cc: In member function `virtual void Ast::accept(Visitor&)': foo.cc:11: error: no match for call to `(Visitor) (Ast&)' -- Summary: ICE instead of reporting a call to a non existant member function Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: akim at lrde dot epita dot fr CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i486-pc-linux-gnu GCC host triplet: i486-pc-linux-gnu GCC target triplet: i486-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function 2005-09-05 13:00 [Bug c++/23730] New: ICE instead of reporting a call to a non existant " gcc-bugzilla at gcc dot gnu dot org @ 2005-09-11 15:55 ` reichelt at gcc dot gnu dot org 2005-09-12 20:42 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-09-11 15:55 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-09-11 15:55 ------- Even shorter testcase: =================== struct A; void foo(A& a) { a(); } =================== -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Keywords| |monitored Summary|[4.0/4.1 Regression] ICE |[4.0/4.1 Regression] ICE |instead of reporting a call |instead of reporting a call |to a non existant member |to a non-existent member |function |function http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function 2005-09-05 13:00 [Bug c++/23730] New: ICE instead of reporting a call to a non existant " gcc-bugzilla at gcc dot gnu dot org 2005-09-11 15:55 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent " reichelt at gcc dot gnu dot org @ 2005-09-12 20:42 ` pinskia at gcc dot gnu dot org 2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org 2005-09-28 16:49 ` janis187 at us dot ibm dot com 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-12 20:42 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-12 20:42 ------- : Search converges between 2004-07-12-trunk (#484) and 2004-07-13-trunk (#485). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function 2005-09-05 13:00 [Bug c++/23730] New: ICE instead of reporting a call to a non existant " gcc-bugzilla at gcc dot gnu dot org 2005-09-11 15:55 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent " reichelt at gcc dot gnu dot org 2005-09-12 20:42 ` pinskia at gcc dot gnu dot org @ 2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org 2005-09-28 16:49 ` janis187 at us dot ibm dot com 3 siblings, 0 replies; 8+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:15 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.2 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function 2005-09-05 13:00 [Bug c++/23730] New: ICE instead of reporting a call to a non existant " gcc-bugzilla at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org @ 2005-09-28 16:49 ` janis187 at us dot ibm dot com 3 siblings, 0 replies; 8+ messages in thread From: janis187 at us dot ibm dot com @ 2005-09-28 16:49 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From janis187 at us dot ibm dot com 2005-09-28 16:48 ------- A regression hunt identified these patches from nathan (the second adds a change missed in the first one): http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00663.html http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00664.html -- What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23730 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-10-14 2:33 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-23730-7527@http.gcc.gnu.org/bugzilla/> 2005-10-12 15:03 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent member function cvs-commit at gcc dot gnu dot org 2005-10-12 19:33 ` cvs-commit at gcc dot gnu dot org 2005-10-12 19:40 ` dje at gcc dot gnu dot org 2005-10-14 2:33 ` cvs-commit at gcc dot gnu dot org 2005-09-05 13:00 [Bug c++/23730] New: ICE instead of reporting a call to a non existant " gcc-bugzilla at gcc dot gnu dot org 2005-09-11 15:55 ` [Bug c++/23730] [4.0/4.1 Regression] ICE instead of reporting a call to a non-existent " reichelt at gcc dot gnu dot org 2005-09-12 20:42 ` pinskia at gcc dot gnu dot org 2005-09-27 16:15 ` mmitchel at gcc dot gnu dot org 2005-09-28 16:49 ` janis187 at us dot ibm 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).