public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53057] New: [c++0x] ICE on construction off of initializer list with overloads for constructor
@ 2012-04-21 7:05 cmaloney at tagged dot com
2012-04-21 7:59 ` [Bug c++/53057] " marc.glisse at normalesup dot org
2012-04-23 15:46 ` paolo.carlini at oracle dot com
0 siblings, 2 replies; 3+ messages in thread
From: cmaloney at tagged dot com @ 2012-04-21 7:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53057
Bug #: 53057
Summary: [c++0x] ICE on construction off of initializer list
with overloads for constructor
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: cmaloney@tagged.com
The following code causes GCC 4.7.0 to fail with the message "internal compiler
error: in joust, at cp/call.c:8009"
#include <string>
#include <vector>
using namespace std;
struct TFoo {
TFoo(const vector<string> &vs);
TFoo(const string &s);
};
TFoo foo({"1", "2", "3"});
$ g++ overload_ice.cc -std=c++0x
overload_ice.cc:11:25: internal compiler error: in joust, at cp/call.c:8009
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/53057] [c++0x] ICE on construction off of initializer list with overloads for constructor
2012-04-21 7:05 [Bug c++/53057] New: [c++0x] ICE on construction off of initializer list with overloads for constructor cmaloney at tagged dot com
@ 2012-04-21 7:59 ` marc.glisse at normalesup dot org
2012-04-23 15:46 ` paolo.carlini at oracle dot com
1 sibling, 0 replies; 3+ messages in thread
From: marc.glisse at normalesup dot org @ 2012-04-21 7:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53057
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.glisse at normalesup
| |dot org
--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2012-04-21 07:57:23 UTC ---
This seems to have been fixed recently on trunk. Maybe related to PR c++/52905
?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/53057] [c++0x] ICE on construction off of initializer list with overloads for constructor
2012-04-21 7:05 [Bug c++/53057] New: [c++0x] ICE on construction off of initializer list with overloads for constructor cmaloney at tagged dot com
2012-04-21 7:59 ` [Bug c++/53057] " marc.glisse at normalesup dot org
@ 2012-04-23 15:46 ` paolo.carlini at oracle dot com
1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-04-23 15:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53057
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.7.1, 4.8.0
Resolution| |WORKSFORME
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-23 15:46:03 UTC ---
Indeed, already fixed mainline and 4_7-branch.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-23 15:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-21 7:05 [Bug c++/53057] New: [c++0x] ICE on construction off of initializer list with overloads for constructor cmaloney at tagged dot com
2012-04-21 7:59 ` [Bug c++/53057] " marc.glisse at normalesup dot org
2012-04-23 15:46 ` 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).