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/28780] [4.2 regression] internal compiler error: in build_polynomial_chrec, at tree-chrec.h:108
Date: Sun, 20 Aug 2006 05:12:00 -0000	[thread overview]
Message-ID: <20060820051219.1477.qmail@sourceware.org> (raw)
In-Reply-To: <bug-28780-5606@http.gcc.gnu.org/bugzilla/>



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-08-20 05:12 -------
And here is the testcase for ffv1.i:
typedef struct RangeCoder
{
    unsigned char one_state[256];
} RangeCoder;
static inline void put_rac(RangeCoder *c, unsigned char* const state)
{
  *state= c->one_state[*state];
}
typedef struct PlaneContext{
    unsigned (*state)[32];
} PlaneContext;
static inline void put_symbol(RangeCoder *c, unsigned char *state)
{
    int i;
    const int e;
    put_rac(c, state);
    for(i=e-1; i>=0; i--)
      put_rac(c, state+22+i);
}
int encode_line(void)
{
    PlaneContext * const p;
    RangeCoder * const c;
    int a;
    put_symbol(c, p->state[a]);
}

---------------
Both of these testcases are due to pointers to different "RECORD_TYPE" but of
the same type (the MAIN_VARIANTS are the same), which is the same problem as PR
28776.

*** This bug has been marked as a duplicate of 28776 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


      parent reply	other threads:[~2006-08-20  5:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-19 12:56 [Bug c++/28780] New: " bero at arklinux dot org
2006-08-19 12:57 ` [Bug c++/28780] " bero at arklinux dot org
2006-08-19 13:07 ` bero at arklinux dot org
2006-08-19 13:09 ` bero at arklinux dot org
2006-08-19 13:57 ` [Bug c++/28780] [4.2 regression] " bero at arklinux dot org
2006-08-19 15:18 ` [Bug tree-optimization/28780] " pinskia at gcc dot gnu dot org
2006-08-19 15:24 ` pinskia at gcc dot gnu dot org
2006-08-19 18:54 ` tbm at cyrius dot com
2006-08-19 18:56 ` tbm at gcc dot gnu dot org
2006-08-20  1:40 ` pinskia at gcc dot gnu dot org
2006-08-20  5:12 ` pinskia at gcc dot gnu dot org [this message]

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=20060820051219.1477.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).