public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <jbuck@synopsys.com>
To: egcs@cygnus.com (egcs team)
Subject: 971031 internal compiler error (in reload, exceptions-related)
Date: Wed, 05 Nov 1997 14:06:00 -0000	[thread overview]
Message-ID: <199711052151.NAA06629@atrus.synopsys.com> (raw)

Compiling the following program with egcs-971031 on Solaris/sparc
with -O causes an internal compiler error.  Line 548 contains "throw;".

This is a fairly severe bug, as it affects many programs that use vectors
of class objects.

% ~/egcs/bin/gcc -O x2.cxx
/u/jbuck/egcs/include/g++/algobase.h: In function `class SomeClass * __uninitialized_copy_aux<const SomeClass *, SomeClass *>(const class SomeClass *, const class SomeClass *, class SomeClass *, struct __false_type)':
/u/jbuck/egcs/include/g++/algobase.h:548: Internal compiler error.
/u/jbuck/egcs/include/g++/algobase.h:548: Please submit a full bug report to `egcs-bugs@cygnus.com'.

cc1plus blows up in reload_cse_noop_set_p.

--------------------------
#include <algobase.h>

struct SomeClass {
    int data;
};

void foo(const SomeClass* arg1, const SomeClass* arg2, SomeClass* arg3)
{
    __false_type foo;
    __uninitialized_copy_aux(arg1, arg2, arg3, foo);
}

                 reply	other threads:[~1997-11-05 14:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199711052151.NAA06629@atrus.synopsys.com \
    --to=jbuck@synopsys.com \
    --cc=egcs@cygnus.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).