public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34089]  New: Segfault on specialization using struct instead of template function.
@ 2007-11-13 23:40 drahflow at gmx dot de
  2007-11-15  4:39 ` [Bug c++/34089] [4.1/4.2/4.3 regression] " bangerth at dealii dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: drahflow at gmx dot de @ 2007-11-13 23:40 UTC (permalink / raw)
  To: gcc-bugs

Attempting to compile the following file

template<typename F> void foo() { };
template<typename F> struct foo<F> { };

results in

bug.c++:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.

which is obviously undesirable.

g++ --version
g++ (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 
           Summary: Segfault on specialization using struct instead of
                    template function.
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drahflow at gmx dot de


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


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

end of thread, other threads:[~2009-03-31  0:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-13 23:40 [Bug c++/34089] New: Segfault on specialization using struct instead of template function drahflow at gmx dot de
2007-11-15  4:39 ` [Bug c++/34089] [4.1/4.2/4.3 regression] " bangerth at dealii dot org
2007-11-19  3:50 ` pinskia at gcc dot gnu dot org
2007-11-19 16:55 ` jakub at gcc dot gnu dot org
2007-11-20 16:20 ` jakub at gcc dot gnu dot org
2007-11-20 16:20 ` [Bug c++/34089] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-02-01 17:01 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:30 ` jsm28 at gcc dot gnu dot org
2008-07-04 22:53 ` [Bug c++/34089] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31  0:38 ` jsm28 at gcc dot gnu dot 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).