public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault @ 2010-11-08 13:14 kirill at shutemov dot name 2010-11-08 17:22 ` [Bug c++/46364] " hjl.tools at gmail dot com ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: kirill at shutemov dot name @ 2010-11-08 13:14 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 Summary: basic_string.h:541:32: internal compiler error: Segmentation fault Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: kirill@shutemov.name Created attachment 22322 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22322 preprocessed source $ cat test.cc #include <string> void a() throw (int); void b(std::string const &); void c(std::string *e) { b(""); try { a(); } catch (...) { *e = ""; } } void d() { c(0); } $ g++ -c -O3 test.cc In file included from /usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/string:53:0, from test.cc:1: /usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/bits/basic_string.h: In function ‘void c(std::string*)’: /usr/lib/gcc/i586-alt-linux/4.5.1/../../../../include/c++/4.5.1/bits/basic_string.h:541:32: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.altlinux.org> for instructions. Preprocessed source stored into /tmp/.private/kas/cc9BCz1h.out file, please attach this to your bugreport. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name @ 2010-11-08 17:22 ` hjl.tools at gmail dot com 2010-11-14 11:32 ` [Bug c++/46364] [4.5 Regression] " rguenth at gcc dot gnu.org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: hjl.tools at gmail dot com @ 2010-11-08 17:22 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.11.08 17:22:28 CC| |hubicka at gcc dot gnu.org Target Milestone|--- |4.5.2 Ever Confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-08 17:22:28 UTC --- It is caused by revision 154200: http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00421.html and fixed on trunk by revision 160019: http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg01078.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] [4.5 Regression] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name 2010-11-08 17:22 ` [Bug c++/46364] " hjl.tools at gmail dot com @ 2010-11-14 11:32 ` rguenth at gcc dot gnu.org 2010-12-16 13:17 ` rguenth at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-11-14 11:32 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] [4.5 Regression] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name 2010-11-08 17:22 ` [Bug c++/46364] " hjl.tools at gmail dot com 2010-11-14 11:32 ` [Bug c++/46364] [4.5 Regression] " rguenth at gcc dot gnu.org @ 2010-12-16 13:17 ` rguenth at gcc dot gnu.org 2011-04-18 14:25 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-12-16 13:17 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.5.2 |4.5.3 --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-16 13:03:18 UTC --- GCC 4.5.2 is being released, adjusting target milestone. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] [4.5 Regression] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name ` (2 preceding siblings ...) 2010-12-16 13:17 ` rguenth at gcc dot gnu.org @ 2011-04-18 14:25 ` rguenth at gcc dot gnu.org 2011-04-18 15:00 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-04-18 14:25 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 14:22:42 UTC --- Author: rguenth Date: Mon Apr 18 14:22:35 2011 New Revision: 172649 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172649 Log: 2011-04-18 Richard Guenther <rguenther@suse.de> PR middle-end/46364 * g++.dg/torture/pr46364.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr46364.C Modified: trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] [4.5 Regression] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name ` (3 preceding siblings ...) 2011-04-18 14:25 ` rguenth at gcc dot gnu.org @ 2011-04-18 15:00 ` rguenth at gcc dot gnu.org 2011-04-18 15:28 ` rguenth at gcc dot gnu.org 2011-04-18 15:28 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-04-18 15:00 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 14:26:04 UTC --- Author: rguenth Date: Mon Apr 18 14:25:57 2011 New Revision: 172650 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172650 Log: 2011-04-18 Richard Guenther <rguenther@suse.de> PR middle-end/46364 * g++.dg/torture/pr46364.C: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr46364.C Modified: branches/gcc-4_6-branch/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] [4.5 Regression] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name ` (4 preceding siblings ...) 2011-04-18 15:00 ` rguenth at gcc dot gnu.org @ 2011-04-18 15:28 ` rguenth at gcc dot gnu.org 2011-04-18 15:28 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-04-18 15:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 15:26:15 UTC --- Fixed. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46364] [4.5 Regression] basic_string.h:541:32: internal compiler error: Segmentation fault 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name ` (5 preceding siblings ...) 2011-04-18 15:28 ` rguenth at gcc dot gnu.org @ 2011-04-18 15:28 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-04-18 15:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46364 --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 15:25:24 UTC --- Author: rguenth Date: Mon Apr 18 15:25:17 2011 New Revision: 172653 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172653 Log: 2011-04-18 Richard Guenther <rguenther@suse.de> Backported from 4.6 branch 2011-01-19 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/47290 * tree-eh.c (infinite_empty_loop_p): New function. (cleanup_empty_eh): Use it. * g++.dg/torture/pr47290.C: New test. 2010-05-29 Jan Hubicka <jh@suse.cz> PR tree-optimization/46364 * cgraphunit.c (cgraph_materialize_clone): Only remove calles, refs and body; not the whole node for masters of materialized clones. * g++.dg/torture/pr46364.C: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr46364.C branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr47290.C Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/cgraphunit.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-eh.c ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-04-18 15:28 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-11-08 13:14 [Bug c++/46364] New: basic_string.h:541:32: internal compiler error: Segmentation fault kirill at shutemov dot name 2010-11-08 17:22 ` [Bug c++/46364] " hjl.tools at gmail dot com 2010-11-14 11:32 ` [Bug c++/46364] [4.5 Regression] " rguenth at gcc dot gnu.org 2010-12-16 13:17 ` rguenth at gcc dot gnu.org 2011-04-18 14:25 ` rguenth at gcc dot gnu.org 2011-04-18 15:00 ` rguenth at gcc dot gnu.org 2011-04-18 15:28 ` rguenth at gcc dot gnu.org 2011-04-18 15:28 ` rguenth 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).