This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33625] [4.3 Regression] ICE in reference_to_unused, at dwarf2out.c:10349
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2007 11:55:48 -0000
- Subject: [Bug middle-end/33625] [4.3 Regression] ICE in reference_to_unused, at dwarf2out.c:10349
- References: <bug-33625-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-10-02 11:55 -------
Reduced testcase:
namespace boost {
namespace lambda {
template <class Base> class lambda_functor;
enum { FIRST = 0x01 };
template <int I> struct placeholder;
template<> struct placeholder<FIRST> { };
typedef const lambda_functor<placeholder<FIRST> > placeholder1_type;
template <class T> class lambda_functor : public T { };
namespace {
boost::lambda::placeholder1_type free1 = boost::lambda::placeholder1_type();
boost::lambda::placeholder1_type& _1 = free1;
}
}
}
using boost::lambda::_1;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33625