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

            Bug ID: 69737
           Summary: [5 Regression] FAIL: gcc.c-torture/execute/pr64682.c
                    -O2  execution test
           Product: gcc
           Version: 5.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: segher at kernel dot crashing.org
  Target Milestone: ---

On  ia32, x86-64 and x32, r233160 caused:

FAIL: gcc.c-torture/execute/pr64682.c   -O2  execution test
FAIL: gcc.c-torture/execute/pr64682.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
FAIL: gcc.c-torture/execute/pr64682.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.c-torture/execute/pr64682.c   -O3 -fomit-frame-pointer  execution
test
FAIL: gcc.c-torture/execute/pr64682.c   -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  execution test
FAIL: gcc.c-torture/execute/pr64682.c   -O3 -fomit-frame-pointer
-funroll-loops  execution test
FAIL: gcc.c-torture/execute/pr64682.c   -O3 -g  execution test

It only happens on gcc-5-branch, not on trunk:

/export/build/gnu/gcc-5/build-x86_64-linux/gcc/
/export/gnu/import/git/sources/gcc-release/gcc/testsuite/gcc.c-torture/execute/pr64682.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -w -lm -o
./pr64682.exe
[hjl@gnu-skl-1 testsuite]$ gdb ./pr64682.exe
GNU gdb (GDB) Fedora 7.10.1-30.fc23
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./pr64682.exe...(no debugging symbols found)...done.
(gdb) r
Starting program:
/export/build/gnu/gcc-5/build-x86_64-linux/gcc/testsuite/pr64682.exe
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.22-7.0.fc23.x86_64

Program received signal SIGABRT, Aborted.
0x00007ffff774c3b8 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff774c3b8 in raise () from /lib64/libc.so.6
#1  0x00007ffff774dfba in abort () from /lib64/libc.so.6
#2  0x00000000004005dd in foo ()
#3  0x00000000004004b6 in main ()
(gdb)

Reply via email to