public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member
@ 2004-05-09 22:42 falk at debian dot org
  2004-05-09 22:56 ` [Bug optimization/15358] [tree-ssa] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: falk at debian dot org @ 2004-05-09 22:42 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug optimization/15358] [tree-ssa] ICE in get_scalar_for_field with pointer-to-member
  2004-05-09 22:42 [Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member falk at debian dot org
@ 2004-05-09 22:56 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-09 22:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-09 22:56 -------
I cannot reproduce this in tree-ssa 20040508 either on powerpc-apple-darwin or i686-pc-linux-gnu.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in get_scalar_for_field |[tree-ssa] ICE in
                   |with pointer-to-member      |get_scalar_for_field with
                   |                            |pointer-to-member
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/15358] [tree-ssa] ICE in get_scalar_for_field with pointer-to-member
  2004-05-09 22:42 [Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member falk at debian dot org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-05-13 11:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-05-12 22:33 -------
Appears fixed on tree-ssa 20040512 (targeted to alpha-linux).

-- 


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


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

* [Bug optimization/15358] [tree-ssa] ICE in get_scalar_for_field with pointer-to-member
  2004-05-09 22:42 [Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member falk at debian dot org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 11:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-12 23:08 -------
Closing as fixed.  Falk if you still see it, please reopen it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-05-12 23:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-09 22:42 [Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member falk at debian dot org
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

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