public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8353: Seg fault in  cp/decl.c:check_initializer
@ 2002-10-28 13:55 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-10-28 13:55 UTC (permalink / raw)
  To: d95-bli, gcc-bugs, gcc-prs, nobody

Old Synopsis: Segmentation fault at template instantiation
New Synopsis: Seg fault in  cp/decl.c:check_initializer

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Oct 28 13:55:45 2002
State-Changed-Why:
    Confirmed. This is a backtrace:
    #0  0x0806d0d1 in check_initializer (decl=0x40e07d90, init=0x0, flags=0)
        at ../../gcc/gcc/cp/decl.c:8065
    #1  0x0806e191 in cp_finish_decl (decl=0x40e07d90, init=0x0, asmspec_tree=0x0, 
        flags=0) at ../../gcc/gcc/cp/decl.c:8425
    #2  0x0809bf1a in tsubst_expr (t=0x41144258, args=0x41813500, complain=3, 
        in_decl=0x411451c0) at ../../gcc/gcc/cp/pt.c:7468
    #3  0x0809bd9e in tsubst_expr (t=0x411441e0, args=0x41813500, complain=3, 
        in_decl=0x411451c0) at ../../gcc/gcc/cp/pt.c:7555
    #4  0x0809bd9e in tsubst_expr (t=0x411441cc, args=0x41813500, complain=3, 
        in_decl=0x411451c0) at ../../gcc/gcc/cp/pt.c:7555
    #5  0x080a39ae in instantiate_decl (d=0x41815d90, defer_ok=0)
        at ../../gcc/gcc/cp/pt.c:10191
    #6  0x080a4274 in instantiate_pending_templates ()
        at ../../gcc/gcc/cp/pt.c:10276

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8353


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

* Re: c++/8353: Seg fault in  cp/decl.c:check_initializer
@ 2002-10-28 15:34 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-10-28 15:34 UTC (permalink / raw)
  To: d95-bli, gcc-bugs, gcc-prs, nobody

Synopsis: Seg fault in  cp/decl.c:check_initializer

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Mon Oct 28 15:34:31 2002
State-Changed-Why:
    Paolo's right: the bug has been fixed in between my version of
    last friday and today's, both on the 3.2 branch and on mainline :-)

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8353


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

* Re: c++/8353: Seg fault in  cp/decl.c:check_initializer
@ 2002-10-28 15:06 Paolo Carlini
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Carlini @ 2002-10-28 15:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/8353; it has been noted by GNATS.

From: Paolo Carlini <pcarlini@unitus.it>
To: gcc-gnats@gcc.gnu.org,  gcc-prs@gcc.gnu.org,  d95-bli@nada.kth.se, 
 gcc-bugs@gcc.gnu.org,  nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/8353: Seg fault in  cp/decl.c:check_initializer
Date: Mon, 28 Oct 2002 23:59:35 +0100

 However, no Seg fault with current 3.2.1 pre:
 
 paolo:~/Gcc/PRs> g++ --verbose 8353.i
 Reading specs from /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
 Configured with: ../gcc-3_2-branch/gcc/configure --prefix=/usr/local/gcc --enable-languages=c,c++,f77
 Thread model: posix
 gcc version 3.2.1 20021028 (prerelease)
   /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/cc1plus -fpreprocessed 8353.i -quiet -dumpbase 8353.i -version -o /tmp/cctQh1Dc.s
 GNU CPP version 3.2.1 20021028 (prerelease) (cpplib) (i386 Linux/ELF)
 GNU C++ version 3.2.1 20021028 (prerelease) (i686-pc-linux-gnu)
          compiled by GNU C version 2.95.2 19991024 (release).
 exempel.cpp: In member function `void functor<T>::operator()() [with T = P]':
 exempel.cpp:24:   instantiated from here
 exempel.cpp:16: storage size of `nodetab' isn't known
 
 Ciao,
 Paolo.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8353
 


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

end of thread, other threads:[~2002-10-28 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-28 13:55 c++/8353: Seg fault in cp/decl.c:check_initializer bangerth
2002-10-28 15:06 Paolo Carlini
2002-10-28 15:34 bangerth

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