public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c++/2182
Date: Tue, 06 May 2003 00:46:00 -0000	[thread overview]
Message-ID: <20030506004601.21262.qmail@sources.redhat.com> (raw)

The following reply was made to PR inline-asm/2182; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/2182
Date: Mon, 5 May 2003 19:40:40 -0500 (CDT)

 Only my last testcase still ICEs:
 ------------------------
 void foo(unsigned char * destination,
           const unsigned char * Y,
           const unsigned char * Cb,
           const unsigned char * Cr,
           int width, int height, int  stride)
  {
    static unsigned short delta[];
    static short scale[];
  
    asm volatile(
      "emms\n"
      :
      : "r" (destination), "r" (Cb), "r" (Cr), "r" (stride),
      "m" (delta), "m" (scale), "m" (width)
      );
  }
 -------------------------------
 g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c -fpic x.cc -O2
 x.cc: In function `void foo(unsigned char*, const unsigned char*, const
    unsigned char*, const unsigned char*, int, int, int)':
 x.cc:7: error: storage size of `delta' isn't known
 x.cc:8: error: storage size of `scale' isn't known
 x.cc:7: internal compiler error: tree check: expected class 't', have 'x' 
 (
    error_mark) in set_mem_attributes_minus_bitpos, at emit-rtl.c:1889
 Please submit a full bug report,
 
 Seems like an error recovery problem.
 
 W.
 


             reply	other threads:[~2003-05-06  0:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06  0:46 Wolfgang Bangerth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-04  4:46 c++/2182 Ingo Krabbe
2001-04-27  8:36 c++/2182 nathan

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=20030506004601.21262.qmail@sources.redhat.com \
    --to=bangerth@ices.utexas.edu \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@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).