public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: paul.stoeber@stud.tu-ilmenau.de To: gcc-gnats@gcc.gnu.org Subject: optimization/5649: -O2 on powerpc yields ICE, affects linux/drivers/ieee1394/ohci1394.c Date: Sat, 09 Feb 2002 19:46:00 -0000 [thread overview] Message-ID: <200202100339.EAA14151@bruegel.RZ.TU-Ilmenau.DE> (raw) >Number: 5649 >Category: optimization >Synopsis: -O2 on powerpc yields ICE, affects linux/drivers/ieee1394/ohci1394.c >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Sat Feb 09 19:46:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Paul Stoeber >Release: 3.1 20020209 (experimental) >Organization: >Environment: System: Linux manelan061.rz.tu-ilmenau.de 2.4.18-pre9 #2 Sat Feb 9 22:10:54 UTC 2002 ppc unknown Architecture: ppc host: powerpc-unknown-linux-gnu build: powerpc-unknown-linux-gnu target: powerpc-unknown-linux-gnu configured with: ../gcc/configure --prefix=/room/newnew/gcc-inst --enable-languages=c >Description: $ cat bug.c int foo(void); void bar(int x) { if (foo()) { if (x==0) return; if (foo()) { if (foo()) x++; if (x>0) foo(); } } } $ gcc -v -O2 -Wall bug.c Reading specs from /room/newnew/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/specs Configured with: ../gcc/configure --prefix=/room/newnew/gcc-inst --enable-languages=c Thread model: single gcc version 3.1 20020209 (experimental) /room/newnew/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -DPPC -D__ELF__ -Dpowerpc -D__PPC__ -D__ELF__ -D__powerpc__ -D__PPC -D__powerpc -Acpu=powerpc -Amachine=powerpc -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_CALL_SYSV -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian -D_ARCH_PPC -D__unix__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix bug.c -quiet -dumpbase bug.c -O2 -version -o /tmp/ccSidxm6.s GNU CPP version 3.1 20020209 (experimental) (cpplib) (PowerPC GNU/Linux) GNU C version 3.1 20020209 (experimental) (powerpc-unknown-linux-gnu) compiled by GNU C version 3.1 20020209 (experimental). ignoring nonexistent directory "/room/newnew/gcc-inst/powerpc-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /room/newnew/gcc-inst/include /room/newnew/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/include /usr/include End of search list. bug.c: In function `bar': bug.c:7: unrecognizable insn: (insn 82 31 83 (set (reg:SI 0 r0) (plus:SI (lshiftrt:SI (neg:SI (abs:SI (reg:SI 3 r3 [121]))) (const_int 31 [0x1f])) (reg/v:SI 31 r31 [115]))) -1 (nil) (nil)) bug.c:7: Internal compiler error in extract_insn, at recog.c:2129 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-02-10 3:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-09 19:46 paul.stoeber [this message] 2002-03-26 13:15 dje 2002-03-28 14:52 dje
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=200202100339.EAA14151@bruegel.RZ.TU-Ilmenau.DE \ --to=paul.stoeber@stud.tu-ilmenau.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).