I get the following segfault with gcc 4.2.0 20060419.  4.0/4.1 work.

14640:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c mini.c
mini.c: In constructor 'refcounted<T, scalar>::refcounted(const A1&) [with A1 =
ref<nfsserv>, T = nfsserv_ac]':
mini.c:88:   instantiated from 'void sfsserver_cache_alloc(sfsprog*,
ref<nfsserv>, int, sfscd_mountarg*, ref<callback<void, const nfs_fh3*, void,
void> >) [with T = server]'
mini.c:102:   instantiated from here
mini.c:28: 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.


-- 
           Summary: segfault, related to constructor instantiation
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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

Reply via email to