public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "halcy0n at gentoo dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/25554] New: [4.0 Regression] unrecognizable insn on x86_64 with -O2 -ftracer Date: Sat, 24 Dec 2005 04:26:00 -0000 [thread overview] Message-ID: <bug-25554-10332@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2444 bytes --] When compiling the supplied test case with `gcc -c -O2 -ftracer test.c` with gcc-4.0.3 the following error occurs: test.c: In function mpfr_pow_ui: test.c:18: error: unrecognizable insn: (insn 96 44 46 6 (set (reg:CCZ 17 flags) (compare:CCZ (and:DI (reg/v:DI 66 [ n ]) (const_int 4611686018427387904 [0x4000000000000000])) (const_int 0 [0x0]))) -1 (nil) (expr_list:REG_DEAD (reg/v:DI 66 [ n ]) (nil))) test.c:18: internal compiler error: in extract_insn, at recog.c:2020 This does not occur in 3.4, 4.1, or 4.2. Revision 98597 on gcc-4_1-branch seems to be where it was fixed for 4.1. Here is the testcase I am using: unsigned int __gmpfr_flags; int mpfr_pow_ui (unsigned long int n) { unsigned long m; int inexact; int i; for (m = n, i = 0; m; i++, m >>= 1) ; ((void) (__gmpfr_flags &= 31 ^ 1)); if (n & (1UL << (i-2))) return 0; } Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4/configure --prefix=/home/halcy0n/gcc-test/bin-4/ --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 4.0.3 20051222 (prerelease) -- Summary: [4.0 Regression] unrecognizable insn on x86_64 with -O2 -ftracer Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: halcy0n at gentoo dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25554
next reply other threads:[~2005-12-24 4:26 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-12-24 4:26 halcy0n at gentoo dot org [this message] 2005-12-24 4:38 ` [Bug tree-optimization/25554] [3.4/4.0/4.1/4.2 Regression] unrecognizable insn on x86_64 with -O2 -ftracer ( -fno-tree-dominator-opts on the mainline) pinskia at gcc dot gnu dot org 2005-12-28 16:04 ` jakub at gcc dot gnu dot org 2006-01-04 8:15 ` [Bug target/25554] " jakub at gcc dot gnu dot org 2006-01-04 9:17 ` jakub at gcc dot gnu dot org 2006-01-04 12:29 ` jakub at gcc dot gnu dot org 2006-01-04 12:34 ` jakub at gcc dot gnu dot org 2006-03-01 5:04 ` [Bug target/25554] [3.4 " gdr at gcc dot gnu dot org
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=bug-25554-10332@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).