public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
@ 2005-03-16  0:37 reichelt at gcc dot gnu dot org
  2005-03-16  0:46 ` [Bug tree-optimization/20489] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-03-16  0:37 UTC (permalink / raw)
  To: gcc-bugs

The following code snippet causes an ICE on mainline when compiled with g++ -O:

========================
struct A
{
    ~A();
};

struct B
{
    int i;
    A a;

    void foo() {}
};

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

  bug.cc: In function 'void bar()':
  bug.cc:14: error: address taken, but ADDRESSABLE bit not set
  D.1597

  bug.cc:14: internal compiler error: verify_stmts failed.
  Please submit a full bug report, [etc.]

-- 
           Summary: [4.1 regression] ICE: address taken, but ADDRESSABLE bit
                    not set
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          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


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


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

* [Bug tree-optimization/20489] [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
  2005-03-16  0:37 [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set reichelt at gcc dot gnu dot org
  2005-03-16  0:46 ` [Bug tree-optimization/20489] " pinskia at gcc dot gnu dot org
@ 2005-03-16  0:46 ` pinskia at gcc dot gnu dot org
  2005-03-16  1:00 ` dberlin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16  0:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 00:46 -------
Confirmed and assigning it to Daniel per his request.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
         AssignedTo|unassigned at gcc dot gnu   |dberlin at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-16 00:46:07
               date|                            |


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


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

* [Bug tree-optimization/20489] [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
  2005-03-16  0:37 [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set reichelt at gcc dot gnu dot org
@ 2005-03-16  0:46 ` pinskia at gcc dot gnu dot org
  2005-03-16  0:46 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16  0:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/20489] [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
  2005-03-16  0:37 [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set reichelt at gcc dot gnu dot org
  2005-03-16  0:46 ` [Bug tree-optimization/20489] " pinskia at gcc dot gnu dot org
  2005-03-16  0:46 ` pinskia at gcc dot gnu dot org
@ 2005-03-16  1:00 ` dberlin at gcc dot gnu dot org
  2005-03-16 16:26 ` cvs-commit at gcc dot gnu dot org
  2005-03-16 16:27 ` dberlin at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-03-16  1:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-03-16 01:00 -------
We aren't making an SFT for the empty class because we are stupid :)
I'll have a fix in a moment.

-- 


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


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

* [Bug tree-optimization/20489] [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
  2005-03-16  0:37 [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-03-16  1:00 ` dberlin at gcc dot gnu dot org
@ 2005-03-16 16:26 ` cvs-commit at gcc dot gnu dot org
  2005-03-16 16:27 ` dberlin at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-16 16:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-16 16:26 -------
Subject: Bug 20489

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dberlin@gcc.gnu.org	2005-03-16 16:25:48

Modified files:
	gcc            : ChangeLog tree-ssa-alias.c 
Added files:
	gcc/testsuite/g++.dg/tree-ssa: pr20489.C 

Log message:
	2005-03-16  Daniel Berlin  <dberlin@dberlin.org>
	
	Fix PR tree-optimization/20489
	
	* tree-ssa-alias.c (push_fields_onto_fieldstack): DTRT
	for empty structures.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7873&r2=2.7874
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-alias.c.diff?cvsroot=gcc&r1=2.74&r2=2.75
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/tree-ssa/pr20489.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug tree-optimization/20489] [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
  2005-03-16  0:37 [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-03-16 16:26 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-16 16:27 ` dberlin at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-03-16 16:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-03-16 16:26 -------
Fixed

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


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


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

end of thread, other threads:[~2005-03-16 16:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16  0:37 [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set reichelt at gcc dot gnu dot org
2005-03-16  0:46 ` [Bug tree-optimization/20489] " pinskia at gcc dot gnu dot org
2005-03-16  0:46 ` pinskia at gcc dot gnu dot org
2005-03-16  1:00 ` dberlin at gcc dot gnu dot org
2005-03-16 16:26 ` cvs-commit at gcc dot gnu dot org
2005-03-16 16:27 ` dberlin 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).