public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37814]  New: M68k/Coldfire ICE with -O: insn does not satisfy its constraints
@ 2008-10-13  2:49 jifl-bugzilla at jifvik dot org
  2008-11-13 13:18 ` [Bug target/37814] " schwab at suse dot de
  2009-04-12 16:22 ` schwab at linux-m68k dot org
  0 siblings, 2 replies; 3+ messages in thread
From: jifl-bugzilla at jifvik dot org @ 2008-10-13  2:49 UTC (permalink / raw)
  To: gcc-bugs

[-- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/37814] M68k/Coldfire ICE with -O: insn does not satisfy its constraints
  2008-10-13  2:49 [Bug target/37814] New: M68k/Coldfire ICE with -O: insn does not satisfy its constraints jifl-bugzilla at jifvik dot org
@ 2008-11-13 13:18 ` schwab at suse dot de
  2009-04-12 16:22 ` schwab at linux-m68k dot org
  1 sibling, 0 replies; 3+ messages in thread
From: schwab at suse dot de @ 2008-11-13 13:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from schwab at suse dot de  2008-11-13 13:17 -------
I cannot reproduce that with 4.4 any more.  Please verify whether your original
test case still fails.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37814


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/37814] M68k/Coldfire ICE with -O: insn does not satisfy its constraints
  2008-10-13  2:49 [Bug target/37814] New: M68k/Coldfire ICE with -O: insn does not satisfy its constraints jifl-bugzilla at jifvik dot org
  2008-11-13 13:18 ` [Bug target/37814] " schwab at suse dot de
@ 2009-04-12 16:22 ` schwab at linux-m68k dot org
  1 sibling, 0 replies; 3+ messages in thread
From: schwab at linux-m68k dot org @ 2009-04-12 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schwab at linux-m68k dot org  2009-04-12 16:22 -------
No answer in 5 months, assuming fixed.


-- 

schwab at linux-m68k dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37814


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-12 16:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-13  2:49 [Bug target/37814] New: M68k/Coldfire ICE with -O: insn does not satisfy its constraints jifl-bugzilla at jifvik dot org
2008-11-13 13:18 ` [Bug target/37814] " schwab at suse dot de
2009-04-12 16:22 ` schwab at linux-m68k dot org

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).