public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/16318] New: [3.5 regression] ICE with pointer-to-member-functions
@ 2004-07-01 16:38 reichelt at gcc dot gnu dot org
  2004-07-01 18:20 ` [Bug tree-optimization/16318] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-01 16:38 UTC (permalink / raw)
  To: gcc-bugs

Richard, here's some fall-out from your tree-sra rewrite
  http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg01253.html
The following code snippet crashes mainline when compiled with optimization:

============================================
struct A
{
    void (A::*p)();
    void foo() const { (A().*p)(); }
};

inline A makeA() { return A(); }

void bar()
{
    makeA().foo();
}
============================================

The error message is:

bug.cc: In function `void bar()':
bug.cc:10: internal compiler error: in generate_element_copy, at tree-sra.c:1461
Please submit a full bug report, [etc.]

-- 
           Summary: [3.5 regression] ICE with pointer-to-member-functions
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: critical
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
                    org


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


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

* [Bug tree-optimization/16318] [3.5 regression] ICE with pointer-to-member-functions
  2004-07-01 16:38 [Bug tree-optimization/16318] New: [3.5 regression] ICE with pointer-to-member-functions reichelt at gcc dot gnu dot org
@ 2004-07-01 18:20 ` pinskia at gcc dot gnu dot org
  2004-07-02 21:28 ` pinskia at gcc dot gnu dot org
  2004-07-12 12:11 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-01 18:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |3.5.0


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


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

* [Bug tree-optimization/16318] [3.5 regression] ICE with pointer-to-member-functions
  2004-07-01 16:38 [Bug tree-optimization/16318] New: [3.5 regression] ICE with pointer-to-member-functions reichelt at gcc dot gnu dot org
  2004-07-01 18:20 ` [Bug tree-optimization/16318] " pinskia at gcc dot gnu dot org
@ 2004-07-02 21:28 ` pinskia at gcc dot gnu dot org
  2004-07-12 12:11 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-02 21:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-02 21:28 -------
Confirmed, this is the normal C++ being funny with field pointer-to-member-functions.
The fix for this will most likely fix IMA with structs too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-02 21:28:25
               date|                            |


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


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

* [Bug tree-optimization/16318] [3.5 regression] ICE with pointer-to-member-functions
  2004-07-01 16:38 [Bug tree-optimization/16318] New: [3.5 regression] ICE with pointer-to-member-functions reichelt at gcc dot gnu dot org
  2004-07-01 18:20 ` [Bug tree-optimization/16318] " pinskia at gcc dot gnu dot org
  2004-07-02 21:28 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 12:11 ` reichelt at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-12 12:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-12 12:11 -------


*** This bug has been marked as a duplicate of 16383 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-07-12 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 16:38 [Bug tree-optimization/16318] New: [3.5 regression] ICE with pointer-to-member-functions reichelt at gcc dot gnu dot org
2004-07-01 18:20 ` [Bug tree-optimization/16318] " pinskia at gcc dot gnu dot org
2004-07-02 21:28 ` pinskia at gcc dot gnu dot org
2004-07-12 12:11 ` reichelt 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).