This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2007 17:21:46 -0000
- Subject: [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
- References: <bug-31411-5976@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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