public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/96729] New: hang on x86_64-linux-gnu with `-g -O3`
@ 2020-08-21  2:01 cnsun at uwaterloo dot ca
  2020-08-24  8:16 ` [Bug tree-optimization/96729] [11 Regression] hang on x86_64-linux-gnu with `-g -O3` since r11-39-gf9e1ea10e657af9f marxin at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: cnsun at uwaterloo dot ca @ 2020-08-21  2:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96729
           Summary: hang on x86_64-linux-gnu with `-g -O3`
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cnsun at uwaterloo dot ca
  Target Milestone: ---

$ timeout -s 9 60 gcc-trunk -g -O3 t.c 
Killed
$ 
$ cat t.c
int a, b, d, e;
int c[9][4];
int main() {
  for (;;) {
    long g;
    if (e)
      continue;
    d = 3;
    for (; d < 22; d++) {
      a = 0;
      for (; a < 55; a = a + 6) {
        b = 0;
        for (; b < 9; b++) {
          g = 0;
          c[b][g] = 3;
        }
      }
    }
  }
}
$ 
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.uva1EAuUpA-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20200820 (experimental) [master revision
:01cb32abf:04e23a4051fb3c049f85b9e6e2fc58f937337aff] (GCC) 
$ 
$ gcc-trunk -g -O2 t.c
$ 
$

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

end of thread, other threads:[~2020-09-17 17:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21  2:01 [Bug c/96729] New: hang on x86_64-linux-gnu with `-g -O3` cnsun at uwaterloo dot ca
2020-08-24  8:16 ` [Bug tree-optimization/96729] [11 Regression] hang on x86_64-linux-gnu with `-g -O3` since r11-39-gf9e1ea10e657af9f marxin at gcc dot gnu.org
2020-08-25 11:19 ` rguenth at gcc dot gnu.org
2020-08-25 12:37 ` rguenth at gcc dot gnu.org
2020-08-25 12:41 ` rguenth at gcc dot gnu.org
2020-08-25 19:12 ` [Bug tree-optimization/96729] [11 Regression] slow compile " jakub at gcc dot gnu.org
2020-08-25 19:59 ` [Bug debug/96729] " jakub at gcc dot gnu.org
2020-08-26  8:11 ` rguenth at gcc dot gnu.org
2020-08-26  8:31 ` cvs-commit at gcc dot gnu.org
2020-09-11  7:47 ` cvs-commit at gcc dot gnu.org
2020-09-16 19:23 ` cvs-commit at gcc dot gnu.org
2020-09-17 17:59 ` jakub 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).