public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45167] New: lambda+template="Internal error: Segmentation fault (program cc1plus)"
@ 2010-08-02 18:43 wb at fnal dot gov
2010-08-03 6:48 ` [Bug c++/45167] [C++0x] " paolo dot carlini at oracle dot com
0 siblings, 1 reply; 3+ messages in thread
From: wb at fnal dot gov @ 2010-08-02 18:43 UTC (permalink / raw)
To: gcc-bugs
build environment: gcc 4.5.0 on MacBook Pro running OS X 10.6.4
execution environment: same as build environment
command: g++ --std=c++0x <filename>
auto at_or_above = [] ( int threshhold )
{
return [threshhold] (int x)
{ return x >= threshhold; };
};
template< class Pred >
int zero( Pred ) { return 0; }
int main() { return zero( at_or_above(0) ); }
--
Summary: lambda+template="Internal error: Segmentation fault
(program cc1plus)"
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wb at fnal dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45167
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/45167] [C++0x] lambda+template="Internal error: Segmentation fault (program cc1plus)"
2010-08-02 18:43 [Bug c++/45167] New: " wb at fnal dot gov
@ 2010-08-03 6:48 ` paolo dot carlini at oracle dot com
0 siblings, 0 replies; 3+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-08-03 6:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2010-08-03 06:48 -------
Apparently this is still happening in mainline. Jason, can you have a look?
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-08-03 06:48:16
date| |
Summary|lambda+template="Internal |[C++0x]
|error: Segmentation fault |lambda+template="Internal
|(program cc1plus)" |error: Segmentation fault
| |(program cc1plus)"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45167
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-29 0:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-45167-4@http.gcc.gnu.org/bugzilla/>
2010-11-19 4:03 ` [Bug c++/45167] [C++0x] lambda+template="Internal error: Segmentation fault (program cc1plus)" flast at flast dot jp
2011-05-29 0:45 ` jason at gcc dot gnu.org
2010-08-02 18:43 [Bug c++/45167] New: " wb at fnal dot gov
2010-08-03 6:48 ` [Bug c++/45167] [C++0x] " paolo dot 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).