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

            Bug ID: 103189
           Summary: [12 regression] g++.dg/tree-ssa/pta-delete-1.C etc.
                    FAIL
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: ebotcazou at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-sun-solaris2.11

Between 20211109 (78dd0de956cbc5a021d3c5e3eb39308c3207936e) and 20211110
(86ffc845b2d0bff59832dcf3cf6518f1358e30ac),
several tests regressed on Solaris/SPARC (32 and 64-bit):

+FAIL: g++.dg/tree-ssa/pta-delete-1.C  -std=gnu++14 execution test
+FAIL: g++.dg/tree-ssa/pta-delete-1.C  -std=gnu++17 execution test
+FAIL: g++.dg/tree-ssa/pta-delete-1.C  -std=gnu++2a execution test
+FAIL: g++.dg/tree-ssa/pta-delete-1.C  -std=gnu++98 execution test

+FAIL: gcc.dg/torture/pr45967-2.c   -O2  execution test
+FAIL: gcc.dg/torture/pr45967-2.c   -O2 -flto  execution test
+FAIL: gcc.dg/torture/pr45967-2.c   -O2 -flto -flto-partition=none  execution
test
+FAIL: gcc.dg/torture/pr45967-2.c   -Os  execution test
+FAIL: gcc.dg/torture/pr45967-3.c   -O2  execution test
+FAIL: gcc.dg/torture/pr45967-3.c   -O2 -flto  execution test
+FAIL: gcc.dg/torture/pr45967-3.c   -O2 -flto -flto-partition=none  execution
test
+FAIL: gcc.dg/torture/pr45967-3.c   -Os  execution test
+FAIL: gcc.dg/torture/pr45967.c   -O2  execution test
+FAIL: gcc.dg/torture/pr45967.c   -O2 -flto  execution test
+FAIL: gcc.dg/torture/pr45967.c   -O2 -flto -flto-partition=none  execution
test
+FAIL: gcc.dg/torture/pr45967.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
+FAIL: gcc.dg/torture/pr45967.c   -O3 -g  execution test
+FAIL: gcc.dg/torture/pr45967.c   -Os  execution test

In both cases, the tests abort, but running under gdb this makes no sense:

* pta-delete-1.C:

Thread 2 received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0xfec5344c in __lwp_sigqueue () from /lib/libc.so.1
(gdb) where
#0  0xfec5344c in __lwp_sigqueue () from /lib/libc.so.1
#1  0xfeb9028c in raise () from /lib/libc.so.1
#2  0xfeb60578 in abort () from /lib/libc.so.1
#3  0x00010e1c in main () at
/vol/gcc/src/hg/master/local/gcc/testsuite/g++.dg/tree-ssa/pta-delete-1.C:23

  yet gdb shows that y = 2 at this point.

* pr45967.c:

Thread 2 received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0xfec5344c in __lwp_sigqueue () from /lib/libc.so.1
(gdb) where
#0  0xfec5344c in __lwp_sigqueue () from /lib/libc.so.1
#1  0xfeb9028c in raise () from /lib/libc.so.1
#2  0xfeb60578 in abort () from /lib/libc.so.1
#3  0x00010c94 in main () at
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/torture/pr45967.c:19

  Again, the test aborts although gdb shows i = 1.

Unless someone has an idea what might have caused this, I'll have to run a
reghunt.

Reply via email to