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; 4+ 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] 4+ 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: lambda+template="Internal error: Segmentation fault (program cc1plus)" wb at fnal dot gov
@ 2010-08-03  6:48 ` paolo dot carlini at oracle dot com
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [Bug c++/45167] [C++0x] lambda+template="Internal error: Segmentation fault (program cc1plus)"
       [not found] <bug-45167-4@http.gcc.gnu.org/bugzilla/>
  2010-11-19  4:03 ` flast at flast dot jp
@ 2011-05-29  0:45 ` jason at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu.org @ 2011-05-29  0:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45167

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-29 00:43:57 UTC ---
Fixed for 4.7.0.

*** This bug has been marked as a duplicate of bug 47687 ***


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/45167] [C++0x] lambda+template="Internal error: Segmentation fault (program cc1plus)"
       [not found] <bug-45167-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-19  4:03 ` flast at flast dot jp
  2011-05-29  0:45 ` jason at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: flast at flast dot jp @ 2010-11-19  4:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45167

Kohei Takahashi <flast at flast dot jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |flast at flast dot jp

--- Comment #2 from Kohei Takahashi <flast at flast dot jp> 2010-11-19 04:02:58 UTC ---
*** Bug 46550 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-29  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-02 18:43 [Bug c++/45167] New: lambda+template="Internal error: Segmentation fault (program cc1plus)" wb at fnal dot gov
2010-08-03  6:48 ` [Bug c++/45167] [C++0x] " paolo dot carlini at oracle dot com
     [not found] <bug-45167-4@http.gcc.gnu.org/bugzilla/>
2010-11-19  4:03 ` flast at flast dot jp
2011-05-29  0:45 ` 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).