[Bug c++/27098] throw cause terminate() instead of catch

2006-04-09 Thread mlazar at kma dot zcu dot cz
--- Comment #4 from mlazar at kma dot zcu dot cz 2006-04-10 04:15 --- I observed that if the c source is compiled with "-foptimize-sibling-calls -O" options (on i686 in gcc 4.0.3), the exception is catched. So in this case, the terminate() function call: gcc -c helper.c g+

[Bug c++/27098] throw cause terminate() instead of catch

2006-04-09 Thread mlazar at kma dot zcu dot cz
--- Comment #3 from mlazar at kma dot zcu dot cz 2006-04-10 03:41 --- Created an attachment (id=11234) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11234&action=view) Compiler versions and configurations -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27098

[Bug c++/27098] throw cause terminate() instead of catch

2006-04-09 Thread mlazar at kma dot zcu dot cz
--- Comment #2 from mlazar at kma dot zcu dot cz 2006-04-10 03:38 --- Created an attachment (id=11233) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11233&action=view) c part of bug-demonstration program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27098

[Bug c++/27098] throw cause terminate() instead of catch

2006-04-09 Thread mlazar at kma dot zcu dot cz
--- Comment #1 from mlazar at kma dot zcu dot cz 2006-04-10 03:37 --- Created an attachment (id=11232) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11232&action=view) c++ part of bug-demonstration program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27098

[Bug c++/27098] New: throw cause terminate() instead of catch

2006-04-09 Thread mlazar at kma dot zcu dot cz
catch Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mlazar at kma dot zcu dot cz GCC build triplet: i486-pc-linux