public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29927]  New: template instantiation with function type
@ 2006-11-21 16:06 s__nakayama at infoseek dot jp
  2006-11-21 17:07 ` [Bug c++/29927] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: s__nakayama at infoseek dot jp @ 2006-11-21 16:06 UTC (permalink / raw)
  To: gcc-bugs

Compile the following code and run it. It cause a segmentation fault.

template <class T>
void foo()
{
  T bar;
  bar();
}

int main()
{ 
  foo<int ()>();
  return 0;
}


-- 
           Summary: template instantiation with function type
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: s__nakayama at infoseek dot jp


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


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

end of thread, other threads:[~2007-09-24 23:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-21 16:06 [Bug c++/29927] New: template instantiation with function type s__nakayama at infoseek dot jp
2006-11-21 17:07 ` [Bug c++/29927] " pinskia at gcc dot gnu dot org
2006-11-22  3:59 ` bangerth at dealii dot org
2006-11-22 14:57 ` s__nakayama at infoseek dot jp
2006-11-22 15:32 ` bangerth at dealii dot org
2006-11-23 14:35 ` s__nakayama at infoseek dot jp
2006-11-27  2:01 ` bangerth at dealii dot org
2007-05-17  5:04 ` s__nakayama at infoseek dot jp
2007-09-24 23:33 ` pcarlini at suse dot de

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).