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 c++/16870] [3.4/3.5 regression] Boost.Spirit causes ICE in tsubst, at cp/pt.c:6629


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-04 12:16 -------
Confirmed. Here's a shorter example

===============================================
struct A
{
    int operator[](int) const;
};

template<int> A foo();

template<typename T> T bar(T(*)());

template<int> int baz() { return A(bar(&foo<0>))[0]; }

template int baz<0>();
===============================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |monitored
      Known to fail|                            |3.4.0 3.4.1 3.5.0
      Known to work|                            |3.3.4
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-04 12:16:53
               date|                            |
            Summary|Boost.Spirit causes ICE in  |[3.4/3.5 regression]
                   |tsubst, at cp/pt.c:6629     |Boost.Spirit causes ICE in
                   |                            |tsubst, at cp/pt.c:6629
   Target Milestone|---                         |3.4.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16870


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