public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Jorn Baayen <jorn@nl.linux.org> To: gcc-gnats@gcc.gnu.org Cc: jorn@nl.linux.org Subject: optimization/4081: "-O2 -march=k6" cflags are broken with gcc 3.0.1 Date: Wed, 22 Aug 2001 06:26:00 -0000 [thread overview] Message-ID: <200108221313.f7MDDip20428@orthanc.hub1> (raw) >Number: 4081 >Category: optimization >Synopsis: "-O2 -march=k6" cflags are broken with gcc 3.0.1 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Wed Aug 22 06:26:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: >Release: 3.0.1 >Organization: >Environment: System: Linux orthanc 2.4.8-ac1 #3 Sun Aug 12 00:11:33 CDT 2001 i586 unknown Architecture: i586 CPU: AMD K6-2 400 Libc: GNU libc 2.2.3 host: i586-pc-linux-gnu build: i586-pc-linux-gnu target: i586-pc-linux-gnu configured with: ../gcc-3.0.1/configure --prefix=/usr --with-gxx-include-dir=/usr/include/g++ --enable-shared --enable-languages=c,c++,f77 >Description: GCC gives an ice on certain pieces of code when compiled with "-O2 -march=k6", it doesn't with "-march=k6" alone. >How-To-Repeat: Compile texinfo 4.0 with CFLAGS set to "-O2 -march=k6", gives the following ice: ... gcc -DINFODIR=\"/usr/info\" -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -O2 -march=k6 -c info-utils.c info-utils.c: In function `printed_representation': info-utils.c:489: Unrecognizable insn: (insn 360 342 344 (parallel[ (set (reg:SI 1 edx [86]) (const_int 0 [0x0])) (clobber (reg:CC 17 flags)) ] ) -1 (nil) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil))) info-utils.c:489: Internal compiler error in insn_default_length, at insn-attrtab.c:223 Please submit a full bug report, with preprocessed source if appropriate. See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions. make[2]: *** [info-utils.o] Error 1 make[2]: Leaving directory `/home/jorn/texinfo-4.0/info' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jorn/texinfo-4.0' make: *** [all-recursive-am] Error 2 [jorn@orthanc texinfo-4.0]$ >Fix: Workaround is ofcourse to optimize with "-O2 -march=i586", as this works properly. >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-08-22 6:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-22 6:26 Jorn Baayen [this message] 2001-10-04 17:57 rodrigc
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=200108221313.f7MDDip20428@orthanc.hub1 \ --to=jorn@nl.linux.org \ --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).