This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27159] ICE when using -fipa-pta
- 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: 16 Apr 2006 23:11:35 -0000
- Subject: [Bug tree-optimization/27159] ICE when using -fipa-pta
- References: <bug-27159-8090@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-16 23:11 -------
Reduced testcase:
struct istreambuf_iterator
{
mutable int* _M_sbuf;
mutable int _M_c;
istreambuf_iterator(int __s) throw(){}
};
template<typename _CharT, typename _InIter> struct num_get
{
typedef istreambuf_iterator iter_type;
iter_type get(iter_type __in, iter_type __end) const
{
return this->do_get(__in, __end);
}
virtual iter_type do_get(iter_type, iter_type) const;
};
void _M_extract(void)
{
typedef num_get<char, int> __num_get_type;
const __num_get_type* __ng;
__ng->get(0, 0);
}
But this is a dup of bug 26963 after all.
*** This bug has been marked as a duplicate of 26963 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27159