public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: paul.stoeber@in.stud.tu-ilmenau.de To: gcc-gnats@gcc.gnu.org Subject: optimization/4483: powerpc, -O2, ICE (affects building linux kernel) Date: Fri, 05 Oct 2001 11:36:00 -0000 [thread overview] Message-ID: <200110051835.UAA08505@clouet.rz.tu-ilmenau.de> (raw) >Number: 4483 >Category: optimization >Synopsis: powerpc, -O2, ICE (affects building linux kernel) >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Oct 05 11:36:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Paul Stoeber >Release: 3.1 20010930 (experimental) >Organization: >Environment: System: Linux tulgey 2.4.9-pre3 #10 Wed Oct 3 16:18:13 UTC 2001 ppc unknown Architecture: ppc host: powerpc-unknown-linux-gnu build: powerpc-unknown-linux-gnu target: powerpc-unknown-linux-gnu configured with: ../gcc/configure --prefix=/home/wtq/gcc-inst --enable-languages=c >Description: input file ice.c: ------------------------------------------------------- int ugh(int to, int from, int size) { } static inline int grmpf(int to, int from, int n) { if (n <= 0x80000000UL) { return ugh(to, from, n); } return n; } static inline int blchh(int to, int from, int n) { if ( n == 0 || (n <= 0x80000000UL)&&(to <= 0x80000000UL-n)) { return ugh(to, from, n); } return n; } void func(void) { int x = 42; grmpf(7, 11, x); blchh(13, 17, x); } ------------------------------------------------------- command line: ------------------------------------------------------- /home/wtq/gcc-inst/bin/gcc -v -O2 -c ice.c ------------------------------------------------------- standard error: ------------------------------------------------------- Reading specs from /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/specs Configured with: ../gcc/configure --prefix=/home/wtq/gcc-inst --enable-languages=c Thread model: single gcc version 3.1 20010930 (experimental) /home/wtq/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__CHAR_UNSIGNED__ -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 ice.c -quiet -dumpbase ice.c -O2 -version -o /tmp/ccbSU2fj.s GNU CPP version 3.1 20010930 (experimental) (cpplib) (PowerPC GNU/Linux) GNU C version 3.1 20010930 (experimental) (powerpc-unknown-linux-gnu) compiled by GNU C version 2.95.2 20000220 (Debian GNU/Linux). ignoring nonexistent directory "/home/wtq/gcc-inst/powerpc-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /home/wtq/gcc-inst/include /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/include /usr/include End of search list. ice.c: In function `func': ice.c:27: Could not split insn (insn 95 23 94 (set (reg:SI 9 r9 [95]) (const_int -2147483690 [0xffffffff7fffffd6])) 289 {*movsi_internal1} (insn_list:REG_DEP_ANTI 23 (nil)) (expr_list:REG_EQUIV (const_int -2147483690 [0xffffffff7fffffd6]) (nil))) ice.c:27: Internal compiler error in final_scan_insn, at final.c:2912 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:[~2001-10-05 11:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-10-05 11:36 paul.stoeber [this message] 2002-02-03 16:05 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=200110051835.UAA08505@clouet.rz.tu-ilmenau.de \ --to=paul.stoeber@in.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).