This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24103] New: [3.4 Regression]
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2005 14:07:51 -0000
- Subject: [Bug c++/24103] New: [3.4 Regression]
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following C++ code ICES in simple_cst_equal:
union foo {
unsigned long dword;
struct {
int a : 1;
int b : 2;
int c : 13;
int d : 16;
} bar;
};
typedef union foo foobar;
class A {
public:
A(foobar f = ((foobar) {bar: {1,2,4,8}}));
~A() {};
};
class B : public A {
public:
B(foobar f = ((foobar) {bar: {1,2,4,8}}));
~B() {};
};
B::B(foobar f) : A(f)
{
};
----
>From
http://gcc.gnu.org/ml/gcc-bugs/2005-09/msg03492.html
--
Summary: [3.4 Regression]
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24103