This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33625] [4.3 Regression] ICE in reference_to_unused, at dwarf2out.c:10349



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]