public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52643] New: Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used
@ 2012-03-20 21:06 ak.miller at auckland dot ac.nz
2012-10-14 10:19 ` [Bug c++/52643] " paolo.carlini at oracle dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ak.miller at auckland dot ac.nz @ 2012-03-20 21:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52643
Bug #: 52643
Summary: Stack overflow ICE in cc1plus when templates,
exceptions, and continue out of try used
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ak.miller@auckland.ac.nz
Created attachment 26936
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26936
Reduced testcase that crashes cc1plus
The minimal testcase attached seems to trigger a stack overflow in cc1plus
(confirmed on both x86_64 and MinGW x86).
This doesn't seem to happen on any gcc 4.7 or 4.4 compilers I've tried, only
the 4.6 series.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/52643] Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used
2012-03-20 21:06 [Bug c++/52643] New: Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used ak.miller at auckland dot ac.nz
@ 2012-10-14 10:19 ` paolo.carlini at oracle dot com
2012-10-14 13:41 ` paolo at gcc dot gnu.org
2012-10-14 13:44 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-14 10:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52643
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.7.0, 4.8.0
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-14 10:19:11 UTC ---
Confirmed as working in mainline and 4_7-branch. I'm adding the testcase and
closing the PR.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/52643] Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used
2012-03-20 21:06 [Bug c++/52643] New: Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used ak.miller at auckland dot ac.nz
2012-10-14 10:19 ` [Bug c++/52643] " paolo.carlini at oracle dot com
@ 2012-10-14 13:41 ` paolo at gcc dot gnu.org
2012-10-14 13:44 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-10-14 13:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52643
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-10-14 13:41:01 UTC ---
Author: paolo
Date: Sun Oct 14 13:40:55 2012
New Revision: 192432
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192432
Log:
2012-10-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52643
* g++.dg/opt/pr52643.C: New.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr52643.C
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/52643] Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used
2012-03-20 21:06 [Bug c++/52643] New: Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used ak.miller at auckland dot ac.nz
2012-10-14 10:19 ` [Bug c++/52643] " paolo.carlini at oracle dot com
2012-10-14 13:41 ` paolo at gcc dot gnu.org
@ 2012-10-14 13:44 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-14 13:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52643
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-14 13:44:26 UTC ---
Done. Note: I have been able to reproduce on 4.6.3 only with -O, thus I'm
adding the testcase to /opt.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-14 13:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-20 21:06 [Bug c++/52643] New: Stack overflow ICE in cc1plus when templates, exceptions, and continue out of try used ak.miller at auckland dot ac.nz
2012-10-14 10:19 ` [Bug c++/52643] " paolo.carlini at oracle dot com
2012-10-14 13:41 ` paolo at gcc dot gnu.org
2012-10-14 13:44 ` paolo.carlini at oracle dot com
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).