------- Comment #6 from pinskia at gcc dot gnu dot org  2007-03-31 18:21 -------
Really reduced testcase:
struct allocator{
        ~allocator() throw();
};
struct string
{
        string(const string& str, const allocator& al = allocator());
};
int main() {
        try {}
        catch (string smess) {}
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |ice-on-valid-code
            Summary|[4.1/4.2/4.3 Regression]    |[4.1/4.2/4.3 Regression] ICE
                   |ICE: in gimplify_expr, at   |in gimplify_expr with
                   |gimplify.c:4519             |throw/special copy
                   |                            |constructor with initializer
                   |                            |with a deconstructor
   Target Milestone|---                         |4.1.3


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

Reply via email to