public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section @ 2013-11-14 14:15 machens at tuhh dot de 2013-11-15 12:55 ` [Bug c++/59131] " machens at tuhh dot de ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: machens at tuhh dot de @ 2013-11-14 14:15 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 Bug ID: 59131 Summary: Compiler segfaults while generating code to save local variables in transactional section Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: machens at tuhh dot de I've analyzed code generated to save and restore local variables in transactional sections and wrote some tests with very much local variables (exceeding the capacity of the CPU registers). At some point the compiler segfaulted. I've attached the code to allow you to further investigate it. /usr/bin/g++-4.7 -fgnu-tm -Wall -g -O3 -o gnutm-test compiler-segfaults.c -litm ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de @ 2013-11-15 12:55 ` machens at tuhh dot de 2013-11-15 15:13 ` paolo.carlini at oracle dot com ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: machens at tuhh dot de @ 2013-11-15 12:55 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 --- Comment #2 from Holger Machens <machens at tuhh dot de> --- Created attachment 31224 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31224&action=edit Test case to reproduce the bug ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de 2013-11-15 12:55 ` [Bug c++/59131] " machens at tuhh dot de @ 2013-11-15 15:13 ` paolo.carlini at oracle dot com 2013-11-27 17:14 ` aldyh at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: paolo.carlini at oracle dot com @ 2013-11-15 15:13 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |UNCONFIRMED CC| |aldyh at gcc dot gnu.org Ever confirmed|1 |0 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de 2013-11-15 12:55 ` [Bug c++/59131] " machens at tuhh dot de 2013-11-15 15:13 ` paolo.carlini at oracle dot com @ 2013-11-27 17:14 ` aldyh at gcc dot gnu.org 2013-11-27 17:19 ` aldyh at gcc dot gnu.org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: aldyh at gcc dot gnu.org @ 2013-11-27 17:14 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed|2013-11-14 00:00:00 |2013-11-27 Ever confirmed|0 |1 --- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Confirmed...works in mainline. Anyone care to bisect this and see which patch fixed the problem? ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de ` (2 preceding siblings ...) 2013-11-27 17:14 ` aldyh at gcc dot gnu.org @ 2013-11-27 17:19 ` aldyh at gcc dot gnu.org 2014-07-10 8:57 ` patrick.marlier at gmail dot com ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: aldyh at gcc dot gnu.org @ 2013-11-27 17:19 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 --- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- FWIW, also works on 4.8. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de ` (3 preceding siblings ...) 2013-11-27 17:19 ` aldyh at gcc dot gnu.org @ 2014-07-10 8:57 ` patrick.marlier at gmail dot com 2014-07-10 11:39 ` patrick.marlier at gmail dot com 2014-07-10 11:42 ` mpolacek at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: patrick.marlier at gmail dot com @ 2014-07-10 8:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 --- Comment #5 from Patrick Marlier <patrick.marlier at gmail dot com> --- Created attachment 33098 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33098&action=edit reduced testcase ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de ` (4 preceding siblings ...) 2014-07-10 8:57 ` patrick.marlier at gmail dot com @ 2014-07-10 11:39 ` patrick.marlier at gmail dot com 2014-07-10 11:42 ` mpolacek at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: patrick.marlier at gmail dot com @ 2014-07-10 11:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 --- Comment #6 from Patrick Marlier <patrick.marlier at gmail dot com> --- This bug seems to be the same as this one: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52173 Maybe the patch can be backported to 4.7 (hopefully without breaking anything?). ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de ` (5 preceding siblings ...) 2014-07-10 11:39 ` patrick.marlier at gmail dot com @ 2014-07-10 11:42 ` mpolacek at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: mpolacek at gcc dot gnu.org @ 2014-07-10 11:42 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> --- 4.7 branch is already closed. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-07-10 11:42 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-11-14 14:15 [Bug c++/59131] New: Compiler segfaults while generating code to save local variables in transactional section machens at tuhh dot de 2013-11-15 12:55 ` [Bug c++/59131] " machens at tuhh dot de 2013-11-15 15:13 ` paolo.carlini at oracle dot com 2013-11-27 17:14 ` aldyh at gcc dot gnu.org 2013-11-27 17:19 ` aldyh at gcc dot gnu.org 2014-07-10 8:57 ` patrick.marlier at gmail dot com 2014-07-10 11:39 ` patrick.marlier at gmail dot com 2014-07-10 11:42 ` mpolacek at gcc dot gnu.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).