public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: sallen@ati.com
To: gcc-gnats@gcc.gnu.org
Cc: sallen@ati.com
Subject: c++/4437: nested template and defines cause compiler seg fault
Date: Mon, 01 Oct 2001 12:56:00 -0000	[thread overview]
Message-ID: <20011001194952.5201.qmail@sourceware.cygnus.com> (raw)

>Number:         4437
>Category:       c++
>Synopsis:       nested template and defines cause compiler seg fault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 01 12:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Steve Allen @ Ati.com
>Release:        gcc.3.0.1
>Organization:
>Environment:
System:  sparc-sun-solaris2.7
>Description:
Deeply nested template causes segment fault.  A lot of code is included because I can't seem to narrowing it down to the segfaulting case.  This code works fine on 2.95.3

Version:
        Reading specs from /tools/crayola/gnu/gcc-3.0.1/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/specs
        Configured with: ../configure --prefix=/tools/crayola/gnu/gcc-3.0.1 --with-gnu-as --with-as=/tools/crayola/gnu/bin/as --with-gnu-ld --with-ld=/tools/crayola/gnu/bin/ld --enable-threads=pthreads --enable-shared --enable-version-specific-runtime-libs --enable-languages=c++ : (reconfigured) ../configure --prefix=/tools/crayola/gnu/gcc-3.0.1 --with-gnu-as --with-as=/tools/crayola/gnu/bin/as --with-gnu-ld --with-ld=/tools/crayola/gnu/bin/ld --enable-threads --enable-shared --enable-version-specific-runtime-libs --enable-languages=c++
        Thread model: posix
        gcc version 3.0.1

Command line:
        g++ -I. template.cpp -fno-operator-names -save-temps

Command output:
        In file included from template.cpp:2:
        numbers.h:2025: Internal error: Segmentation Fault
        Please submit a full bug report,
        with preprocessed source if appropriate.
        See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:
g++ -I. template.cpp -fno-operator-names -save-temps
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-10-01 12:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-01 12:56 sallen [this message]
2001-10-02 22:24 aoliva
2001-10-03  7:46 Steven Allen
2003-01-03 14:35 neroden
2003-01-13  0:35 bangerth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011001194952.5201.qmail@sourceware.cygnus.com \
    --to=sallen@ati.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).