public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/95118] New: gcc-10 and master -O3 -fopt-info-vec causes gcc to hang
@ 2020-05-13 22:09 slyfox at inbox dot ru
  2020-05-13 22:10 ` [Bug tree-optimization/95118] " slyfox at inbox dot ru
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: slyfox at inbox dot ru @ 2020-05-13 22:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95118
           Summary: gcc-10 and master -O3 -fopt-info-vec causes gcc to
                    hang
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at inbox dot ru
  Target Milestone: ---

The bug originally reported by Adrien Dessemond as
https://bugs.gentoo.org/722774 where gzip-1.10's ./configure CFLAGS="-O3 -pipe
-march=native -fomit-frame-pointer -fopt-info-vec -mindirect-branch=thunk
-mindirect-branch-register" makes gcc hang.

Minimal reproducer against gcc-10.1.0 anf gcc-master is:

  // $ cat bug.c
  void a();
  void b() {
    union {
      int c[4];
      long double d;
    } e = {{0, 0, 4}};
    a(e.d);
  }

$ /usr/bin/x86_64-pc-linux-gnu-gcc-10.1.0 -o conftest -O3 -fopt-info-vec -c
bug.c
<hung>

Reproducible on the following gcc config against master:

Reading specs from /home/slyfox/dev/git/gcc-native-quick/gcc/specs
COLLECT_GCC=/home/slyfox/dev/git/gcc-native-quick/gcc/xgcc
COLLECT_LTO_WRAPPER=/home/slyfox/dev/git/gcc-native-quick/gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++ --disable-bootstrap
--with-multilib-list=m64
--prefix=/home/slyfox/dev/git/gcc-native-quick/../gcc-native-quick-installed
--disable-nls --without-isl --disable-libsanitizer --disable-libvtv
--disable-libgomp --disable-libstdcxx-pch --disable-libunwind-exceptions
CFLAGS='-O1 ' CXXFLAGS='-O1 ' --with-sysroot=/usr/x86_64-HEAD-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200513 (experimental) (GCC)

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

end of thread, other threads:[~2021-12-23  6:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 22:09 [Bug tree-optimization/95118] New: gcc-10 and master -O3 -fopt-info-vec causes gcc to hang slyfox at inbox dot ru
2020-05-13 22:10 ` [Bug tree-optimization/95118] " slyfox at inbox dot ru
2020-05-13 22:11 ` slyfox at inbox dot ru
2020-05-13 23:36 ` slyfox at inbox dot ru
2020-05-14  0:15 ` admnd at protonmail dot com
2020-05-14  6:50 ` [Bug tree-optimization/95118] [10/11 Regression] " rguenth at gcc dot gnu.org
2020-05-14  8:51 ` cvs-commit at gcc dot gnu.org
2020-05-14  8:51 ` [Bug tree-optimization/95118] [10 " rguenth at gcc dot gnu.org
2020-06-23 11:06 ` cvs-commit at gcc dot gnu.org
2020-06-23 11:07 ` rguenth at gcc dot gnu.org
2021-12-23  6:49 ` 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).