public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: ming@mpi-sb.mpg.de To: gcc-gnats@gcc.gnu.org Subject: optimization/9508: internal compiler error Date: Thu, 30 Jan 2003 16:06:00 -0000 [thread overview] Message-ID: <20030130155613.31229.qmail@sources.redhat.com> (raw) >Number: 9508 >Category: optimization >Synopsis: internal compiler error >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jan 30 16:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: ming@mpi-sb.mpg.de >Release: gcc3.2.1 >Organization: >Environment: >Description: Compile this source -------------- void BayerNearestNeighbor(unsigned char *outG, int sx, int sy) { int i,j; for (i=1;i<sy-2;i+=2)//every two lines for (j=0;j<sx-1;j+=2) outG[(i*sx+j+1)*3]=outG[((i+1)*sx+j+1)*3]; } ------------- It will produce such error message: TestGcc32Bug.c: In function `BayerNearestNeighbor': TestGcc32Bug.c:10: unrecognizable insn: (insn 277 147 286 (set (reg:SI 122) (ashift:SI (reg/v:SI 59) (const_int 1 [0x1]))) -1 (nil) (nil)) TestGcc32Bug.c:10: Internal compiler error in extract_insn, at recog.c:2148 >How-To-Repeat: Use this commandline: /usr/bin/gcc-3.2 -v -O6 -DNDEBUG -fomit-frame-pointer -falign-functions=4 -fexpensive-optimizations -fschedule-insns2 -finline-functions -funroll-loops -mfpmath=sse -march=pentium4 -mcpu=pentium4 -DCPU=686 -o TestGcc32Bug.o -c TestGcc32Bug.c >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2003-01-30 16:06 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-30 16:06 ming [this message] 2003-02-16 15:41 ebotcazou
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=20030130155613.31229.qmail@sources.redhat.com \ --to=ming@mpi-sb.mpg.de \ --cc=gcc-gnats@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: linkBe 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).