public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12910] New: Double exception error
@ 2003-11-05 12:16 nick at bel dot ru
2003-11-05 12:23 ` [Bug c++/12910] " nick at bel dot ru
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: nick at bel dot ru @ 2003-11-05 12:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12910
Summary: Double exception error
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nick at bel dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: Intel x86
GCC target triplet: Linux 2.4.22
I found bug when double exception occured.
Minimal sample:
----------------
#include <string>
class E {
public:
E() { throw std::string("except"); }
};
int main(){
throw E();
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12910] Double exception error
2003-11-05 12:16 [Bug c++/12910] New: Double exception error nick at bel dot ru
@ 2003-11-05 12:23 ` nick at bel dot ru
2003-11-05 14:19 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: nick at bel dot ru @ 2003-11-05 12:23 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12910
------- Additional Comments From nick at bel dot ru 2003-11-05 12:23 -------
gcc-3.2.2 works normally
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12910] Double exception error
2003-11-05 12:16 [Bug c++/12910] New: Double exception error nick at bel dot ru
2003-11-05 12:23 ` [Bug c++/12910] " nick at bel dot ru
@ 2003-11-05 14:19 ` pinskia at gcc dot gnu dot org
2003-11-23 5:13 ` dhazeghi at yahoo dot com
2003-12-01 1:02 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-05 14:19 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12910
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-05 14:19 -------
I get this on the mainline and 3.3.1:
terminate called after throwing an instance of 'std::string'
Abort (core dumped)
What do you except to happen?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12910] Double exception error
2003-11-05 12:16 [Bug c++/12910] New: Double exception error nick at bel dot ru
2003-11-05 12:23 ` [Bug c++/12910] " nick at bel dot ru
2003-11-05 14:19 ` pinskia at gcc dot gnu dot org
@ 2003-11-23 5:13 ` dhazeghi at yahoo dot com
2003-12-01 1:02 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-23 5:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2003-11-23 05:13 -------
With gcc 3.3 branch, 3.2.3, 3.2.2 and intel c++ 7.0 (on RH9 systems), I see just:
[dara@penguin dara]$ ./a.out
Aborted
With mainline I see:
bash-2.05b$ ./foo
terminate called after throwing an instance of 'std::string'
Aborted
In either case, I don't see anything wrong. Can you clarify what the problem is?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12910
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/12910] Double exception error
2003-11-05 12:16 [Bug c++/12910] New: Double exception error nick at bel dot ru
` (2 preceding siblings ...)
2003-11-23 5:13 ` dhazeghi at yahoo dot com
@ 2003-12-01 1:02 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01 1:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-01 01:02 -------
Not a GCC bug and there is no understanding what is the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12910
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-12-01 1:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 12:16 [Bug c++/12910] New: Double exception error nick at bel dot ru
2003-11-05 12:23 ` [Bug c++/12910] " nick at bel dot ru
2003-11-05 14:19 ` pinskia at gcc dot gnu dot org
2003-11-23 5:13 ` dhazeghi at yahoo dot com
2003-12-01 1:02 ` pinskia 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).