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++/11878] [3.3/3.4 regression] ICE in cp_expr_size


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code, monitored
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-15 16:50:40
               date|                            |
            Summary|ICE in cp_expr_size         |[3.3/3.4 regression] ICE in
                   |                            |cp_expr_size


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-08-15 16:50 -------
Reduced testcase:

============================================
struct A
{
    virtual ~A();
};

template<typename T> struct B
{
    T t;
};

void foo() { throw B<A>().t; }
============================================

It crashes 3.3 branch and mainline:

PR11878.cc: In function `void foo()':
PR11878.cc:11: internal compiler error: in cp_expr_size, at cp/cp-lang.c:330
Please submit a full bug report,

but compiles fine with gcc 2.95.x - 3.2.3. Thus, we have a regression.

Phils' regression tester says:
Search converges between 2002-07-28-trunk (#83) and 2002-08-04-trunk (#84).


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