[Bug tree-optimization/22279] [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2566
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jul 3 14:56:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-03 14:56 -------
And here is a testcase which fails in both 32 and 64bit mode:
struct string
{
long long _M_p;
long long i;
string();
int begin();
int end();
string(int, int);
};
struct symbol
{
int type;
string name;
long long raw_name;
long long demangled_name;
long long version_name;
int version_status;
int status;
void init();
};
void symbol::init() { name = string(); }
struct pair
{
symbol first;
symbol second;
pair(const symbol& __a, const symbol& __b) : first(__a), second(__b) { }
};
struct vector
{
void push_back(const pair& __x);
};
void f(vector incompatible)
{
symbol base;
incompatible.push_back(pair(base, base));
}
Though only on powerpc-darwin.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22279
More information about the Gcc-bugs
mailing list