public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/110796] New: builtin_iseqsig fails some tests in armv8l-linux-gnueabihf
@ 2023-07-24 22:36 thiago.bauermann at linaro dot org
  2023-07-24 22:39 ` [Bug target/110796] " pinskia at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: thiago.bauermann at linaro dot org @ 2023-07-24 22:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110796
           Summary: builtin_iseqsig fails some tests in
                    armv8l-linux-gnueabihf
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thiago.bauermann at linaro dot org
                CC: fxcoudert at gcc dot gnu.org
  Target Milestone: ---
            Target: armv8l-unknown-linux-gnueabihf

Commit 34cf27a64e7a "Add __builtin_iseqsig()" introduced the mentioned builtin
along with some new tests. Unfortunately they have some failures in
armv8l-linux-gnueabihf:

Running gcc:gcc.dg/torture/dg-torture.exp ...
FAIL: gcc.dg/torture/builtin-iseqsig-1.c -Os  execution test
FAIL: gcc.dg/torture/builtin-iseqsig-2.c -Os  execution test
FAIL: gcc.dg/torture/builtin-iseqsig-3.c -Os  execution test

gcc.log doesn't have any hint on what actually went wrong. E.g.:

Executing on host:
/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc/xgcc
-B/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc/
/home/thiago.bauermann/src/gcc/gcc/testsuite/gcc.dg/torture/builtin-iseqsig-1.c
   -fdiagnostics-plain-output    -Os  -fsignaling-nans  -lm  -o
./builtin-iseqsig-1.exe    (timeout = 300)
spawn -ignore SIGHUP
/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc/xgcc
-B/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc/
/home/thiago.bauermann/src/gcc/gcc/testsuite/gcc.dg/torture/builtin-iseqsig-1.c
-fdiagnostics-plain-output -Os -fsignaling-nans -lm -o ./builtin-iseqsig-1.exe
PASS: gcc.dg/torture/builtin-iseqsig-1.c   -Os  (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc::/home/thiago.bauermann/.cache/builds/gcc-native-aarch32/gcc
Execution timeout is: 300
spawn [open ...]
FAIL: gcc.dg/torture/builtin-iseqsig-1.c   -Os  execution test

The problem is still present in trunk as of commit 2a3556376c69 "match.pd:
Implement missed optimization (~X | Y) ^ X -> ~(X & Y) [PR109986]" from today.

Reproduced on Ubuntu 22.04 with:

$ ~/src/gcc/configure \
      --disable-bootstrap \
      --disable-multilib \
      --with-mode=thumb \
      --with-arch=armv8-a \
      --with-float=hard \
      --with-fpu=neon-fp-armv8 \
  && make -j 60 \
  && make -C gcc check-c RUNTESTFLAGS=gcc.dg/torture/dg-torture.exp

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

end of thread, other threads:[~2024-01-05 14:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-24 22:36 [Bug middle-end/110796] New: builtin_iseqsig fails some tests in armv8l-linux-gnueabihf thiago.bauermann at linaro dot org
2023-07-24 22:39 ` [Bug target/110796] " pinskia at gcc dot gnu.org
2023-07-24 22:50 ` thiago.bauermann at linaro dot org
2023-07-25 15:13 ` fxcoudert at gcc dot gnu.org
2023-07-25 16:44 ` thiago.bauermann at linaro dot org
2023-07-25 16:50 ` fxcoudert at gcc dot gnu.org
2023-07-25 17:13 ` rearnsha at gcc dot gnu.org
2023-07-25 17:14 ` thiago.bauermann at linaro dot org
2023-07-25 17:17 ` fxcoudert at gcc dot gnu.org
2023-07-25 17:18 ` rearnsha at gcc dot gnu.org
2023-07-25 17:48 ` thiago.bauermann at linaro dot org
2023-07-26 16:58 ` rearnsha at gcc dot gnu.org
2023-08-02 10:38 ` rearnsha at gcc dot gnu.org
2024-01-05 14:49 ` xry111 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).