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 tree-optimization/38369] [4.3 regression] ICE (SIGSEGV in number_of_iterations_exit)
Date: Sun, 28 Dec 2008 18:01:00 -0000	[thread overview]
Message-ID: <20081228175745.11577.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38369-11764@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from reichelt at gcc dot gnu dot org  2008-12-28 17:57 -------
Shorter testcase:

=========================================
struct A
{
  A()
  {
    for (int* p = x; p != x+1; ++p)
      *p = 0;
  }

  A foo()
  {
    A a;
    a.x[0] = x[0];
    return a;
  }

  int x[1];
};

struct B
{
  B() : a(A().foo()) {}
  A a;
};

B b;
=========================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
      Known to fail|4.3.3                       |4.3.0 4.3.3


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


  parent reply	other threads:[~2008-12-28 18:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 10:12 [Bug tree-optimization/38369] New: " doko at ubuntu dot com
2008-12-02 10:13 ` [Bug tree-optimization/38369] " doko at ubuntu dot com
2008-12-02 10:16 ` doko at ubuntu dot com
2008-12-02 12:11 ` rguenth at gcc dot gnu dot org
2008-12-04 13:00 ` rguenth at gcc dot gnu dot org
2008-12-04 13:10 ` rguenth at gcc dot gnu dot org
2008-12-05 12:48 ` rguenth at gcc dot gnu dot org
2008-12-28 18:01 ` reichelt at gcc dot gnu dot org [this message]
2008-12-28 18:02 ` reichelt at gcc dot gnu dot org
2009-01-24 10:27 ` rguenth at gcc dot gnu dot org
2009-06-18 15:01 ` rguenth at gcc dot gnu dot org
2009-07-09 14:46 ` mikpe at it dot uu dot se
2009-08-04 12:45 ` rguenth at gcc dot gnu dot org
2010-05-22 18:27 ` rguenth at gcc dot gnu dot org
     [not found] <bug-38369-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 11:55 ` rguenth at gcc dot gnu.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=20081228175745.11577.qmail@sourceware.org \
    --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).