public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: pthomas@suse.de
To: gcc-gnats@gcc.gnu.org
Cc: aj@suse.de, mark@codesourcery.com
Subject: c++/6439: c++ fails with ICE in instantiate_virtual_regs_1, at function.c:3947
Date: Wed, 24 Apr 2002 09:56:00 -0000	[thread overview]
Message-ID: <20020424164959.13382.qmail@sources.redhat.com> (raw)


>Number:         6439
>Category:       c++
>Synopsis:       c++ fails with ICE in instantiate_virtual_regs_1, at function.c:3947
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 24 09:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Philipp Thomas, SuSE Linux Ag
>Release:        3.1 20020415
>Organization:
>Environment:
i486-suse-linux-gnu
>Description:
gcc fails with ICE when compiling the attached code:

Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.1/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --libdir=/usr/lib --enable-checking i486-suse-linux
Thread model: posix
gcc version 3.1 20020415 (prerelease)
 /usr/lib/gcc-lib/i486-suse-linux/3.1/cc1plus -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i486__ b.cc -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase b.cc -version -o /tmp/ccU4tsN9.s
GNU CPP version 3.1 20020415 (prerelease) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.1 20020415 (prerelease) (i486-suse-linux)
        compiled by GNU C version 3.1 20020415 (prerelease).
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/g++
 /usr/include/g++/i486-suse-linux
 /usr/include/g++/backward
 /usr/local/include
 /usr/lib/gcc-lib/i486-suse-linux/3.1/include
 /usr/i486-suse-linux/include
 /usr/include
End of search list.
b.cc: In function `void foo()':
b.cc:8: Internal compiler error in instantiate_virtual_regs_1, at function.c: 3947
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="bug2.cc"
Content-Disposition: inline; filename="bug2.cc"

#define DMAX(a,b) ({double _a = (a), _b = (b); _a > _b ? _a : _b; })

void foo(void)
{
	double xl, dy;
	
    xl = DMAX(dy, 0.0);
}


             reply	other threads:[~2002-04-24 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-24  9:56 pthomas [this message]
2002-04-24 15:34 mmitchel

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=20020424164959.13382.qmail@sources.redhat.com \
    --to=pthomas@suse.de \
    --cc=aj@suse.de \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=mark@codesourcery.com \
    /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).