This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 00:37:46 -0000
- Subject: [Bug tree-optimization/20489] New: [4.1 regression] ICE: address taken, but ADDRESSABLE bit not set
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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