public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20461] New: ICE at  "class 'C' does not have any field named 'f'" error
@ 2005-03-13 21:19 wanderer at rsu dot ru
  2005-03-13 21:22 ` [Bug c++/20461] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: wanderer at rsu dot ru @ 2005-03-13 21:19 UTC (permalink / raw)
  To: gcc-bugs

gcc version 4.1.0 20050313 (experimental) crash at invalid C++ code:

test.cc:3: error: invalid use of undefined type 'struct C'
test.cc:1: error: forward declaration of 'struct C'
test.cc: In constructor 'C::C()':
test.cc:3: error: class 'C' does not have any field named 'f'
test.cc:3: internal compiler error: Segmentation fault

Testcase:

--8X----------------------------
class C;

C::C() : f() {}
--X8----------------------------

-- 
           Summary: ICE at  "class 'C' does not have any field named 'f'"
                    error
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wanderer at rsu dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-freebsd5.3
  GCC host triplet: i386-unknown-freebsd5.3
GCC target triplet: i386-unknown-freebsd5.3


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


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

end of thread, other threads:[~2005-03-22  9:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13 21:19 [Bug c++/20461] New: ICE at "class 'C' does not have any field named 'f'" error wanderer at rsu dot ru
2005-03-13 21:22 ` [Bug c++/20461] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-03-13 21:22 ` pinskia at gcc dot gnu dot org
2005-03-13 22:16 ` pinskia at gcc dot gnu dot org
2005-03-17 22:21 ` wanderer at rsu dot ru
2005-03-18 19:13 ` pinskia at gcc dot gnu dot org
2005-03-18 22:16 ` pcarlini at suse dot de
2005-03-20 17:29 ` pinskia at gcc dot gnu dot org
2005-03-21 11:50 ` cvs-commit at gcc dot gnu dot org
2005-03-21 11:53 ` cvs-commit at gcc dot gnu dot org
2005-03-21 12:51 ` [Bug c++/20461] [4.0 " reichelt at gcc dot gnu dot org
2005-03-21 12:52 ` pcarlini at suse dot de
2005-03-22  9:12 ` cvs-commit at gcc dot gnu dot org
2005-03-22  9:29 ` cvs-commit at gcc dot gnu dot org
2005-03-22  9:36 ` pcarlini at suse dot de

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