public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59462] New: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS
@ 2013-12-10 23:13 sje at gcc dot gnu.org
  2014-01-17 18:07 ` [Bug target/59462] " sje at gcc dot gnu.org
  2014-01-21 18:56 ` sje at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sje at gcc dot gnu.org @ 2013-12-10 23:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59462
           Summary: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails
                    on MIPS
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sje at gcc dot gnu.org
                CC: rsandifo at gcc dot gnu.org
            Target: mips*-*-*

The test c-c++-common/cilk-plus/AN/builtin_func_double2.c is failing on both of
my mips targets (mips-mti-elf and mips-mti-linux-gnu).  Here is a cutdown
test case:

int foo(void)
{
  int y, i;
  double array[100];
  for (i = 0; i < 100; i++)
    {
      array[i] = (double) i;
    }
  y = __sec_reduce_any_nonzero (array[:]);
  return y;
}

And here is the failure when compiled with g++ -O2 -ftree-vectorize -fcilkplus.
For some reason the same code compiled with C instead of C++ works.

install-mips-mti-elf/bin/mips-mti-elf-g++ -c -O2 -ftree-vectorize -fcilkplus
q.c
/tmp/cc3IU2hd.s: Assembler messages:
/tmp/cc3IU2hd.s:45: Error: invalid operands `movz $2,$4,$fcc0'


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

end of thread, other threads:[~2014-01-21 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-10 23:13 [Bug target/59462] New: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS sje at gcc dot gnu.org
2014-01-17 18:07 ` [Bug target/59462] " sje at gcc dot gnu.org
2014-01-21 18:56 ` sje at gcc dot gnu.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).