public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/99685] New: gcc.target/powerpc/divkc3-1.c and mulkc3-1.c fails for 32 bits
Date: Sat, 20 Mar 2021 18:33:11 +0000	[thread overview]
Message-ID: <bug-99685-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99685

            Bug ID: 99685
           Summary: gcc.target/powerpc/divkc3-1.c and mulkc3-1.c fails for
                    32 bits
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
powerpc.exp=gcc.target/powerpc/divkc3-1.c"
FAIL: gcc.target/powerpc/divkc3-1.c execution test
# of expected passes            1
# of unexpected failures        1

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
powerpc.exp=gcc.target/powerpc/mulkc3-1.c"
FAIL: gcc.target/powerpc/mulkc3-1.c execution test
# of expected passes            1
# of unexpected failures        1


(gdb) run
Starting program: /home/seurer/gcc/git/build/gcc-10-test/./divkc3-1.exe 

Program received signal SIGABRT, Aborted.
0x0fd4b7c8 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
55        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) where
#0  0x0fd4b7c8 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:55
#1  0x0fd4d584 in __GI_abort () at abort.c:90
#2  0x10000650 in main () at
/home/seurer/gcc/git/gcc-10-test/gcc/testsuite/gcc.target/powerpc/divkc3-1.c:20


  z = divide (5.0q + 5.0jq, 2.0q + 1.0jq);
  a = 3.0q + 1.0jq;
  if (z != a)
    abort ();  // line 20

These two tests both fail when compiled for 32 bits but work fine for 64 bits. 
Are they valid for 32 bits?

They also fail in gcc 10 but back in gcc 9 they were marked as unsupported.

             reply	other threads:[~2021-03-20 18:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-20 18:33 seurer at gcc dot gnu.org [this message]
2022-05-17 20:55 ` [Bug testsuite/99685] gcc.target/powerpc/divkc3-1.c and mulkc3-1.c fail " cvs-commit at gcc dot gnu.org
2022-05-17 21:31 ` pthaugen at gcc dot gnu.org
2022-10-03 20:56 ` bergner at gcc dot gnu.org
2022-10-17 19:45 ` cvs-commit at gcc dot gnu.org
2022-10-17 20:10 ` cvs-commit at gcc dot gnu.org
2022-10-17 20:15 ` cvs-commit at gcc dot gnu.org
2022-10-17 20:47 ` pthaugen at gcc dot gnu.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-99685-4@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: link
Be 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).