public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jifl-bugzilla at jifvik dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/37814] New: M68k/Coldfire ICE with -O: insn does not satisfy its constraints Date: Mon, 13 Oct 2008 02:49:00 -0000 [thread overview] Message-ID: <bug-37814-8116@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1823 bytes --] Compile the below (cut-down) testcase with: m68k-elf-gcc -c fptest.c -mcpu=5282 -fomit-frame-pointer -O (gcc 4.3.2) and you will get: -=-=-=-=-=- fptest.c: In function do_test: fptest.c:21: error: insn does not satisfy its constraints: (insn 31 114 32 2 fptest.c:11 (set (reg:SI 8 %a0 [62]) (plus:SI (plus:SI (mult:SI (reg/f:SI 15 %sp) (const_int 4 [0x4])) (reg:SI 9 %a1)) (const_int 128 [0x80]))) 451 {*lea} (nil)) fptest.c:21: internal compiler error: in reload_cse_simplify_operands, at postreload.c:395 -=-=-=-=-=- The testcase has been trimmed down such that just about any further change, or change in the command line args, makes it disappear. An earlier (larger) version closer to the original code would also fail at -O2 and -O3. -=-=-=-=-=-=-=-=-=-=-=- static double fpt3_values[100]; void do_test( void ) { int count = 100; int loops = 200; double *values = fpt3_values; unsigned int i, j; volatile double sum = 0.0; unsigned int seed; seed = ((unsigned int)&i)*count; for( i = 0; i < count; i++ ) values[i] = (double)seed; for( j = 0; j < loops ; j++ ) { for( i = 0; i < count; i++ ) sum += (((values[i%count])*(values[(i+1)%count]))); } } -- Summary: M68k/Coldfire ICE with -O: insn does not satisfy its constraints Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jifl-bugzilla at jifvik dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: m68k-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37814
next reply other threads:[~2008-10-13 2:49 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-13 2:49 jifl-bugzilla at jifvik dot org [this message] 2008-11-13 13:18 ` [Bug target/37814] " schwab at suse dot de 2009-04-12 16:22 ` schwab at linux-m68k 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-37814-8116@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).