public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template
@ 2012-03-19 9:59 ai.azuma at gmail dot com
2012-03-20 11:15 ` [Bug c++/52613] " paolo.carlini at oracle dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ai.azuma at gmail dot com @ 2012-03-19 9:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613
Bug #: 52613
Summary: [C++11] ICE with noexcept in lambda expression in
member function of class template
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ai.azuma@gmail.com
Created attachment 26914
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26914
Output of -v option and preprocessed file
The following valid code causes an ICE.
///////////////////////////
template<typename>
struct S
{
void f()
{
[&] { noexcept(!b_); };
}
bool b_;
};
///////////////////////////
main.cpp: In lambda function:
main.cpp:6:21: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/52613] [C++11] ICE with noexcept in lambda expression in member function of class template
2012-03-19 9:59 [Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template ai.azuma at gmail dot com
@ 2012-03-20 11:15 ` paolo.carlini at oracle dot com
2012-10-04 1:32 ` paolo.carlini at oracle dot com
2013-02-06 10:11 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-03-20 11:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-03-20
CC| |jason at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-20 11:13:31 UTC ---
Confirmed. Here too, like in PR52619, the crash happens in lvalue_kind when an
INDIRECT_REF has no TREE_TYPE. And a lambda is also involved.
Jason, are we dealing with the same issue?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/52613] [C++11] ICE with noexcept in lambda expression in member function of class template
2012-03-19 9:59 [Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template ai.azuma at gmail dot com
2012-03-20 11:15 ` [Bug c++/52613] " paolo.carlini at oracle dot com
@ 2012-10-04 1:32 ` paolo.carlini at oracle dot com
2013-02-06 10:11 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-04 1:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-04 01:32:27 UTC ---
Again probably Dup of PR54403.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/52613] [C++11] ICE with noexcept in lambda expression in member function of class template
2012-03-19 9:59 [Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template ai.azuma at gmail dot com
2012-03-20 11:15 ` [Bug c++/52613] " paolo.carlini at oracle dot com
2012-10-04 1:32 ` paolo.carlini at oracle dot com
@ 2013-02-06 10:11 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-02-06 10:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-02-06 10:10:43 UTC ---
Fixed by the patch which fixed PR54122.
*** This bug has been marked as a duplicate of bug 54122 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-06 10:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-19 9:59 [Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template ai.azuma at gmail dot com
2012-03-20 11:15 ` [Bug c++/52613] " paolo.carlini at oracle dot com
2012-10-04 1:32 ` paolo.carlini at oracle dot com
2013-02-06 10:11 ` 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).