public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519
@ 2007-03-31 16:22 gkajmowi at tbaytel dot net
2007-03-31 16:23 ` [Bug c++/31411] " gkajmowi at tbaytel dot net
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: gkajmowi at tbaytel dot net @ 2007-03-31 16:22 UTC (permalink / raw)
To: gcc-bugs
g++ test1.ii
test1.cpp: In function ‘int main()’:
test1.cpp:21: internal compiler error: in gimplify_expr, at gimplify.c:4519
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccICvwkX.out file, please attach this to
your bugreport.
--
Summary: internal compiler error: in gimplify_expr, at
gimplify.c:4519
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gkajmowi at tbaytel dot net
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] internal compiler error: in gimplify_expr, at gimplify.c:4519
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
@ 2007-03-31 16:23 ` gkajmowi at tbaytel dot net
2007-03-31 16:59 ` tbm at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: gkajmowi at tbaytel dot net @ 2007-03-31 16:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from gkajmowi at tbaytel dot net 2007-03-31 17:23 -------
Created an attachment (id=13308)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13308&action=view)
This is sample code which causes ICE under GCC
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] internal compiler error: in gimplify_expr, at gimplify.c:4519
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
2007-03-31 16:23 ` [Bug c++/31411] " gkajmowi at tbaytel dot net
@ 2007-03-31 16:59 ` tbm at gcc dot gnu dot org
2007-03-31 17:04 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tbm at gcc dot gnu dot org @ 2007-03-31 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tbm at gcc dot gnu dot org 2007-03-31 17:59 -------
Confirmed.
--
tbm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-31 17:59:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] internal compiler error: in gimplify_expr, at gimplify.c:4519
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
2007-03-31 16:23 ` [Bug c++/31411] " gkajmowi at tbaytel dot net
2007-03-31 16:59 ` tbm at gcc dot gnu dot org
@ 2007-03-31 17:04 ` pinskia at gcc dot gnu dot org
2007-03-31 17:09 ` tbm at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-31 17:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-31 18:04 -------
Reducing...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] internal compiler error: in gimplify_expr, at gimplify.c:4519
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (2 preceding siblings ...)
2007-03-31 17:04 ` pinskia at gcc dot gnu dot org
@ 2007-03-31 17:09 ` tbm at gcc dot gnu dot org
2007-03-31 17:10 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE: " tbm at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tbm at gcc dot gnu dot org @ 2007-03-31 17:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tbm at gcc dot gnu dot org 2007-03-31 18:09 -------
Testcase:
namespace std
{
template < class T > class allocator
{
public:typedef T value_type;
typedef long unsigned int size_type;
~allocator ()
{
}
};
template < class charT > struct char_traits
{
};
template < class T, class Allocator > class vector
{
};
template < class Ch, class Tr = char_traits < Ch >, class A =
allocator < Ch > >class basic_string;
typedef basic_string < char >string;
template < class Ch, class Tr, class A > class basic_string:public
std::vector < Ch, A >
{
public:typedef Tr traits_type;
typedef typename A::size_type size_type;
static const size_type npos = (size_type) - 1;
basic_string (const basic_string & str, size_type pos = 0, size_type n =
npos, const A & al = A ());
};
}
using namespace std;
main ()
{
try
{
}
catch (string smess)
{
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE: in gimplify_expr, at gimplify.c:4519
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (3 preceding siblings ...)
2007-03-31 17:09 ` tbm at gcc dot gnu dot org
@ 2007-03-31 17:10 ` tbm at gcc dot gnu dot org
2007-03-31 17:21 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tbm at gcc dot gnu dot org @ 2007-03-31 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tbm at gcc dot gnu dot org 2007-03-31 18:09 -------
This also happens with 4.3. I cannot check 4.0.
--
tbm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|x86_64-linux-gnu |
GCC host triplet|x86_64-linux-gnu |
GCC target triplet|x86_64-linux-gnu |
Summary|internal compiler error: in |[4.1/4.2/4.3 Regression]
|gimplify_expr, at |ICE: in gimplify_expr, at
|gimplify.c:4519 |gimplify.c:4519
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (4 preceding siblings ...)
2007-03-31 17:10 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE: " tbm at gcc dot gnu dot org
@ 2007-03-31 17:21 ` pinskia at gcc dot gnu dot org
2007-04-15 22:12 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-31 17:21 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (5 preceding siblings ...)
2007-03-31 17:21 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor pinskia at gcc dot gnu dot org
@ 2007-04-15 22:12 ` mmitchel at gcc dot gnu dot org
2007-04-23 16:27 ` janis at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-04-15 22:12 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (6 preceding siblings ...)
2007-04-15 22:12 ` mmitchel at gcc dot gnu dot org
@ 2007-04-23 16:27 ` janis at gcc dot gnu dot org
2007-09-04 12:40 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-04-23 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from janis at gcc dot gnu dot org 2007-04-23 17:27 -------
A regression hunt identified the tree-ssa merge to mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (7 preceding siblings ...)
2007-04-23 16:27 ` janis at gcc dot gnu dot org
@ 2007-09-04 12:40 ` jason at gcc dot gnu dot org
2007-09-04 18:37 ` jason at gcc dot gnu dot org
2007-09-11 15:35 ` [Bug c++/31411] [4.1/4.2 " jason at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-09-04 12:40 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-08-06 15:08:14 |2007-09-04 12:39:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (8 preceding siblings ...)
2007-09-04 12:40 ` jason at gcc dot gnu dot org
@ 2007-09-04 18:37 ` jason at gcc dot gnu dot org
2007-09-11 15:35 ` [Bug c++/31411] [4.1/4.2 " jason at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-09-04 18:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jason at gcc dot gnu dot org 2007-09-04 18:37 -------
Subject: Bug 31411
Author: jason
Date: Tue Sep 4 18:37:33 2007
New Revision: 128100
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128100
Log:
PR c++/31411
* except.c (initialize_handler_parm): Put a CLEANUP_POINT_EXPR inside
the MUST_NOT_THROW_EXPR.
Added:
trunk/gcc/testsuite/g++.dg/eh/catch5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/except.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/31411] [4.1/4.2 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
` (9 preceding siblings ...)
2007-09-04 18:37 ` jason at gcc dot gnu dot org
@ 2007-09-11 15:35 ` jason at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-09-11 15:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jason at gcc dot gnu dot org 2007-09-11 15:35 -------
Fixed for 4.2.2.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31411
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-09-11 15:35 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-31 16:22 [Bug c++/31411] New: internal compiler error: in gimplify_expr, at gimplify.c:4519 gkajmowi at tbaytel dot net
2007-03-31 16:23 ` [Bug c++/31411] " gkajmowi at tbaytel dot net
2007-03-31 16:59 ` tbm at gcc dot gnu dot org
2007-03-31 17:04 ` pinskia at gcc dot gnu dot org
2007-03-31 17:09 ` tbm at gcc dot gnu dot org
2007-03-31 17:10 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE: " tbm at gcc dot gnu dot org
2007-03-31 17:21 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor pinskia at gcc dot gnu dot org
2007-04-15 22:12 ` mmitchel at gcc dot gnu dot org
2007-04-23 16:27 ` janis at gcc dot gnu dot org
2007-09-04 12:40 ` jason at gcc dot gnu dot org
2007-09-04 18:37 ` jason at gcc dot gnu dot org
2007-09-11 15:35 ` [Bug c++/31411] [4.1/4.2 " jason at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).