public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "falk at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member
Date: Sun, 09 May 2004 22:42:00 -0000	[thread overview]
Message-ID: <20040509224247.15358.falk@debian.org> (raw)

g++ (GCC) 3.5-tree-ssa 20040430 (merged 20040428)

% cat test.cc      
struct Validators  { };
typedef bool (Validators::*IsValid)();

struct Action {
  IsValid getIsValid() const { return isValid_; };
  IsValid isValid_;
};

void f(IsValid isValid);
void initActionBindings() {
    IsValid isValid = 0;
    f (isValid);
}

% g++ -c -O test.cc 
test.cc: In function `void initActionBindings()':
test.cc:10: internal compiler error: in get_scalar_for_field, at tree-sra.c:255
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Reminds me a bit of bug 14089.

-- 
           Summary: ICE in get_scalar_for_field with pointer-to-member
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev68-unknown-linux-gnu
  GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu


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


             reply	other threads:[~2004-05-09 22:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-09 22:42 falk at debian dot org [this message]
2004-05-09 22:56 ` [Bug optimization/15358] [tree-ssa] " pinskia at gcc dot gnu dot org
2004-05-13 11:45 ` dhazeghi at yahoo dot com
2004-05-13 11:50 ` pinskia 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=20040509224247.15358.falk@debian.org \
    --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).