public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/105627] New: -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu
@ 2022-05-17 12:19 zsojka at seznam dot cz
  2022-05-18 14:53 ` [Bug debug/105627] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2022-05-17 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105627
           Summary: -fcompare-debug failure at -Og for
                    powerpc64le-unknown-linux-gnu
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: compare-debug-failure
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
                CC: aoliva at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: powerpc64le-unknown-linux-gnu

Created attachment 52985
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52985&action=edit
reduced testcase

Compiler output:
$ powerpc64le-unknown-linux-gnu-gcc -Og -fcompare-debug testcase.c -save-temps
testcase.c: In function 'foo':
testcase.c:10:1: warning: GCC vector returned by reference: non-standard ABI
extension with no compatibility guarantee [-Wpsabi]
   10 | {
      | ^

$ diff -u *gkd
--- a-testcase.c.gkd    2022-05-17 14:16:43.376878594 +0200
+++ a-testcase.gk.c.gkd 2022-05-17 14:16:43.433544950 +0200
@@ -93,25 +93,8 @@
      (expr_list:REG_EQUAL (symbol_ref/u:DI ("*.LC0") [flags 0x82])
         (nil)))
 (insn # 0 0 (set (reg:V16QI 69 5 [194])
-        (vec_select:V16QI (mem/u/c:V16QI (reg/f:DI 6 6 [193]) [  S16 A128])
-            (parallel [
-                    (const_int 8 [0x8])
-                    (const_int 9 [0x9])
-                    (const_int 10 [0xa])
-                    (const_int 11 [0xb])
-                    (const_int 12 [0xc])
-                    (const_int 13 [0xd])
-                    (const_int 14 [0xe])
-                    (const_int 15 [0xf])
-                    (const_int 0 [0])
-                    (const_int 1 [0x1])
-                    (const_int 2 [0x2])
-                    (const_int 3 [0x3])
-                    (const_int 4 [0x4])
-                    (const_int 5 [0x5])
-                    (const_int 6 [0x6])
-                    (const_int 7 [0x7])
-                ]))) "testcase.c":11:5# {*vsx_lxvd2x16_le_V16QI}
+        (mem/u/c:V16QI (and:DI (reg/f:DI 6 6 [193])
+                (const_int -16 [0xfffffffffffffff0])) [  S16 A128]))
"testcase.c":11:5# {vsx_movv16qi_64bit}
      (expr_list:REG_DEAD (reg/f:DI 6 6 [193])
         (nil)))
 (insn # 0 0 (set (reg:V16QI 69 5 [orig:164 _56 ] [164])
@@ -1062,26 +1045,9 @@
...


$ powerpc64le-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-powerpc64le/bin/powerpc64le-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r13-555-20220517114234-g1815462a6e5-checking-yes-rtl-df-extra-powerpc64le/bin/../libexec/gcc/powerpc64le-unknown-linux-gnu/13.0.0/lto-wrapper
Target: powerpc64le-unknown-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl
--with-sysroot=/usr/powerpc64le-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=powerpc64le-unknown-linux-gnu
--with-ld=/usr/bin/powerpc64le-unknown-linux-gnu-ld
--with-as=/usr/bin/powerpc64le-unknown-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r13-555-20220517114234-g1815462a6e5-checking-yes-rtl-df-extra-powerpc64le
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.0 20220517 (experimental) (GCC)

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

end of thread, other threads:[~2022-10-27  2:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17 12:19 [Bug debug/105627] New: -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu zsojka at seznam dot cz
2022-05-18 14:53 ` [Bug debug/105627] " jakub at gcc dot gnu.org
2022-05-19  7:28 ` linkw at gcc dot gnu.org
2022-05-24  6:08 ` cvs-commit at gcc dot gnu.org
2022-05-24  6:22 ` linkw at gcc dot gnu.org
2022-10-27  2:25 ` [Bug target/105627] " pinskia 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).