public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x @ 2011-11-08 10:21 reichelt at gcc dot gnu.org 2011-11-08 10:23 ` [Bug c++/51029] " reichelt at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: reichelt at gcc dot gnu.org @ 2011-11-08 10:21 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029 Bug #: 51029 Summary: [4.7 Regression] ICE with -std=c++0x Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: reichelt@gcc.gnu.org Compiling the following valid code snippet with "-std=c++0x" crashes on trunk (it works without the flag): ======================== struct A { void foo(); }; struct B : virtual A { template<int> B() { foo(); } }; ======================== bug.cc: In constructor 'B::B()': bug.cc:10:10: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/51029] [4.7 Regression] ICE with -std=c++0x 2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org @ 2011-11-08 10:23 ` reichelt at gcc dot gnu.org 2011-11-08 10:30 ` [Bug c++/51029] [C++0x] " paolo.carlini at oracle dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: reichelt at gcc dot gnu.org @ 2011-11-08 10:23 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029 Volker Reichelt <reichelt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Target Milestone|--- |4.7.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/51029] [C++0x] [4.7 Regression] ICE with -std=c++0x 2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org 2011-11-08 10:23 ` [Bug c++/51029] " reichelt at gcc dot gnu.org @ 2011-11-08 10:30 ` paolo.carlini at oracle dot com 2011-11-08 18:41 ` jason at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: paolo.carlini at oracle dot com @ 2011-11-08 10:30 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011-11-08 CC| |jason at gcc dot gnu.org Summary|[4.7 Regression] ICE with |[C++0x] [4.7 Regression] |-std=c++0x |ICE with -std=c++0x Ever Confirmed|0 |1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/51029] [C++0x] [4.7 Regression] ICE with -std=c++0x 2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org 2011-11-08 10:23 ` [Bug c++/51029] " reichelt at gcc dot gnu.org 2011-11-08 10:30 ` [Bug c++/51029] [C++0x] " paolo.carlini at oracle dot com @ 2011-11-08 18:41 ` jason at gcc dot gnu.org 2011-11-09 18:26 ` jason at gcc dot gnu.org 2011-11-09 18:28 ` jason at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2011-11-08 18:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/51029] [C++0x] [4.7 Regression] ICE with -std=c++0x 2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org ` (2 preceding siblings ...) 2011-11-08 18:41 ` jason at gcc dot gnu.org @ 2011-11-09 18:26 ` jason at gcc dot gnu.org 2011-11-09 18:28 ` jason at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2011-11-09 18:26 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029 --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-09 18:13:16 UTC --- Author: jason Date: Wed Nov 9 18:13:09 2011 New Revision: 181225 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181225 Log: PR c++/51029 * class.c (build_base_path): Don't ICE in fold_non_dependent_expr. Added: trunk/gcc/testsuite/g++.dg/template/virtual1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/51029] [C++0x] [4.7 Regression] ICE with -std=c++0x 2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org ` (3 preceding siblings ...) 2011-11-09 18:26 ` jason at gcc dot gnu.org @ 2011-11-09 18:28 ` jason at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jason at gcc dot gnu.org @ 2011-11-09 18:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51029 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-09 18:17:32 UTC --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-09 18:18 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-11-08 10:21 [Bug c++/51029] New: [4.7 Regression] ICE with -std=c++0x reichelt at gcc dot gnu.org 2011-11-08 10:23 ` [Bug c++/51029] " reichelt at gcc dot gnu.org 2011-11-08 10:30 ` [Bug c++/51029] [C++0x] " paolo.carlini at oracle dot com 2011-11-08 18:41 ` jason at gcc dot gnu.org 2011-11-09 18:26 ` jason at gcc dot gnu.org 2011-11-09 18:28 ` jason 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).