This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22279] [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2566
- 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: 3 Jul 2005 14:46:43 -0000
- Subject: [Bug tree-optimization/22279] [4.1 Regression] ICE in first_vi_for_offset, at tree-ssa-structalias.c:2566
- References: <20050702165629.22279.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-03 14:46 -------
Confirmed, reduced testcase for powerpc64-darwin at least:
template<class _T1, class _T2>
struct pair
{
typedef _T1 first_type;
typedef _T2 second_type;
_T1 first;
_T2 second;
pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { }
};
struct string
{
char* _M_p;
int i;
string();
int begin();
int end();
string(int, int);
};
struct symbol
{
int type;
string name;
string raw_name;
string demangled_name;
string version_name;
int version_status;
int status;
void init(string& data);
};
void symbol::init(string& data)
{
name = string(data.begin(), data.end());
}
typedef pair<symbol, symbol> symbol_pair;
struct vector
{
void push_back(const symbol_pair& __x);
};
void f(vector incompatible)
{
symbol base;
incompatible.push_back(symbol_pair(base, base));
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-03 14:46:42
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22279