public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "wanderer at rsu dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/20461] New: ICE at  "class 'C' does not have any field named 'f'" error
Date: Sun, 13 Mar 2005 21:19:00 -0000	[thread overview]
Message-ID: <20050313211914.20461.wanderer@rsu.ru> (raw)

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


             reply	other threads:[~2005-03-13 21:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-13 21:19 wanderer at rsu dot ru [this message]
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

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=20050313211914.20461.wanderer@rsu.ru \
    --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: link
Be 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).