public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
Date: Sun, 05 Oct 2003 19:40:00 -0000	[thread overview]
Message-ID: <20031005194045.32052.qmail@sources.redhat.com> (raw)
In-Reply-To: <20031005174231.12519.olh@suse.de>

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-unknown-linux       |
   GCC host triplet|powerpc-unknown-linux       |
 GCC target triplet|powerpc-unknown-linux       |
           Keywords|                            |ice-on-valid-code
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-05 19:40:44
               date|                            |
            Summary|internal compiler error:    |[3.4 regression] ICE tree
                   |tree check: in              |check: in
                   |genrtl_cleanup_stmt, at c-  |genrtl_cleanup_stmt, at c-
                   |semantics.c:761             |semantics.c:761


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-05 19:40 -------
Here's a reduced code snippet that crashes on i686-pc-linux-gnu:
when compiled with "-O":

======================================
struct A
{
    ~A();
};

inline const A foo()
{
    A a;
    return a;
}

A bar()
{
    return foo();
}
======================================

This seems to be a problem with the const qualifier.

I'm removing the target/build/host-triples since this seems
to be a generic problem.

It's a regression that was introduced in August according to Phil's
regression hunter:
: Search converges between 2003-08-20-trunk (#378) and 2003-08-21-trunk (#379).


  parent reply	other threads:[~2003-10-05 19:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: " olh at suse dot de
2003-10-05 17:44 ` [Bug c++/12519] " olh at suse dot de
2003-10-05 19:40 ` reichelt at gcc dot gnu dot org [this message]
2003-10-06 18:27 ` [Bug c++/12519] [3.4 regression] ICE " janis187 at us dot ibm dot com
2003-10-07 19:14 ` jason at gcc dot gnu dot org
2003-10-07 22:09 ` cvs-commit at gcc dot gnu dot org
2003-10-07 22:10 ` cvs-commit at gcc dot gnu dot org
2003-10-07 22:40 ` pinskia at gcc dot gnu dot org
2003-10-08 14:00 ` reichelt at gcc dot gnu dot org
2003-10-08 14:02 ` reichelt at gcc dot gnu dot org

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=20031005194045.32052.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).