public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing
Date: Mon, 19 Feb 2007 06:53:00 -0000	[thread overview]
Message-ID: <20070219065325.26860.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30840-9596@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-02-19 06:53 -------
Confirmed, reduced testcase as far as I can do it:
typedef struct rxvt_term *rxvt_t;
struct rxvt_salloc {
        struct chain {
                struct chain *next;
        };
        chain *firstline;
        unsigned int firstfree;
        inline void alloc ();
};
struct rxvt_perl_interp {
        bool invoke (rxvt_term *term);
};
extern struct rxvt_perl_interp rxvt_perl;
struct rxvt_term   {
        int term_start;
        int *row_buf;
        rxvt_salloc *talloc;
        void scr_reset (int pend, int qlines);
};
inline void rxvt_salloc::alloc ()
{
        if (firstline)
                firstline = firstline->next;
        else    {
                if (firstfree > 65536)
                        firstfree = sizeof (chain);
                firstfree += firstfree;
        }
}
void rxvt_term::scr_reset (int pend, int qlines) {
        do      {
                int *qline;
                for (int qrow = term_start; qlines--; qrow++)
                {
                        qline = row_buf + qrow;
                        talloc->alloc ();
                        talloc->alloc ();
                }
                qline[0]  &= ~0x0001;
                talloc->alloc ();
                talloc->alloc ();
        }       while (term_start != pend);
        rxvt_perl.invoke (this);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|x86_64-suse-linux           |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-19 06:53:25
               date|                            |
            Summary|ice for legal code with     |[4.3 Regression] ice for
                   |flags -O3 -fno-strict-      |legal code with flags -O3 -
                   |aliasing                    |fno-strict-aliasing
   Target Milestone|---                         |4.3.0


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


  parent reply	other threads:[~2007-02-19  6:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-18 11:27 [Bug c++/30840] New: " dcb314 at hotmail dot com
2007-02-18 11:29 ` [Bug c++/30840] " dcb314 at hotmail dot com
2007-02-18 22:12 ` [Bug tree-optimization/30840] " pinskia at gcc dot gnu dot org
2007-02-19  6:53 ` pinskia at gcc dot gnu dot org [this message]
2007-02-19 11:31 ` [Bug tree-optimization/30840] [4.3 Regression] " rguenth at gcc dot gnu dot org
2007-02-19 12:57 ` rguenth at gcc dot gnu dot org
2007-05-19  8:08 ` tbm at gcc dot gnu dot org
2007-06-07  2:47 ` pinskia at gcc dot gnu dot org
2007-06-07 21:53 ` reichelt at gcc dot gnu dot org
2007-06-29 17:53 ` mmitchel at gcc dot gnu dot org
2007-08-20  9:18 ` pinskia at gcc dot gnu dot org
2007-08-20 11:55 ` pinskia at gcc dot gnu dot org
2007-08-20 11:57 ` pinskia at gcc dot gnu dot org
2007-08-20 12:01 ` pinskia at gcc dot gnu dot org
2007-08-21 19:51 ` reichelt at gcc dot gnu dot org
2007-08-25  9:37 ` tbm at gcc dot gnu dot org
2007-08-25  9:38 ` tbm at gcc dot gnu dot org
2007-10-19 22:14 ` janis at gcc dot gnu dot org
2007-12-11 12:35 ` jakub at gcc dot gnu dot org
2007-12-11 13:20 ` rguenth at gcc dot gnu dot org
2007-12-11 13:41 ` jakub 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=20070219065325.26860.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).