public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921
@ 2020-11-12  3:00 seurer at gcc dot gnu.org
  2020-11-12  7:17 ` [Bug bootstrap/97806] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: seurer at gcc dot gnu.org @ 2020-11-12  3:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97806
           Summary: [11 regression] bootstrap ICE starting with r11-4921
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:86cca5cc14602814b98e55aae313fbe237af1b04, r11-4921 

commit 86cca5cc14602814b98e55aae313fbe237af1b04
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Nov 11 16:09:17 2020 +0100



/bin/sh ../libtool  --tag=CC   --mode=compile
/home/seurer/gcc/git/build/gcc-test/./prev-gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./prev-gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include  
-fchecking=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1
-DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1
-DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1
-DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1
-DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1
-DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1
-DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1
-DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1
-DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I.
-I/home/seurer/gcc/git/gcc-test/mpfr/src  
-I/home/seurer/gcc/git/build/gcc-test/gmp -DNO_ASM -g -O2 -fchecking=1 -MT
sub1sp.lo -MD -MP -MF .deps/sub1sp.Tpo -c -o sub1sp.lo
/home/seurer/gcc/git/gcc-test/mpfr/src/sub1sp.c
libtool: compile:  /home/seurer/gcc/git/build/gcc-test/./prev-gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./prev-gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
-fchecking=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1
-DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1
-DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1
-DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1
-DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1
-DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1
-DHAVE_NEARBYINT=1 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1
-DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1
-DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I.
-I/home/seurer/gcc/git/gcc-test/mpfr/src
-I/home/seurer/gcc/git/build/gcc-test/gmp -DNO_ASM -g -O2 -fchecking=1 -MT
sub1sp.lo -MD -MP -MF .deps/sub1sp.Tpo -c
/home/seurer/gcc/git/gcc-test/mpfr/src/sub1sp.c -o sub1sp.o
during GIMPLE pass: pre
/home/seurer/gcc/git/gcc-test/mpfr/src/sub1sp.c: In function 'mpfr_sub1sp':
/home/seurer/gcc/git/gcc-test/mpfr/src/sub1sp.c:135:1: internal compiler error:
in clean, at tree-ssa-pre.c:2053
  135 | mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t
rnd_mode)
      | ^~~~~~~~~~~
0x3fffb7c87c6b generic_start_main
        ../csu/libc-start.c:266

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
@ 2020-11-12  7:17 ` rguenth at gcc dot gnu.org
  2020-11-12  7:41 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-12  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Target Milestone|---                         |11.0
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Last reconfirmed|                            |2020-11-12
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine - trying to reproduce on x86_64-linux with in-tree mpfr.

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
  2020-11-12  7:17 ` [Bug bootstrap/97806] " rguenth at gcc dot gnu.org
@ 2020-11-12  7:41 ` rguenth at gcc dot gnu.org
  2020-11-12  7:42 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-12  7:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
OK, confirmed and reducing a testcase.

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
  2020-11-12  7:17 ` [Bug bootstrap/97806] " rguenth at gcc dot gnu.org
  2020-11-12  7:41 ` rguenth at gcc dot gnu.org
@ 2020-11-12  7:42 ` rguenth at gcc dot gnu.org
  2020-11-12  8:00 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-12  7:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
int b;
long c;
int g();
void h(long *);
void i(long *);
void d() {
  int e, f = b - e;
  if (g())
    h(&c + f);
  else
    i(&c + f);
  __builtin_memset(0, 0, f * 8);
}

heh, quite simple - so much for test coverage :/

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-11-12  7:42 ` rguenth at gcc dot gnu.org
@ 2020-11-12  8:00 ` rguenth at gcc dot gnu.org
  2020-11-12  9:48 ` tnfchris at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-12  8:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
OK, happens because topological sorting is not correct for the case where we
have multiple expressions for a value in the set.

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-11-12  8:00 ` rguenth at gcc dot gnu.org
@ 2020-11-12  9:48 ` tnfchris at gcc dot gnu.org
  2020-11-12 10:01 ` cvs-commit at gcc dot gnu.org
  2020-11-12 10:01 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2020-11-12  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at gcc dot gnu.org

--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
*** Bug 97809 has been marked as a duplicate of this bug. ***

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2020-11-12  9:48 ` tnfchris at gcc dot gnu.org
@ 2020-11-12 10:01 ` cvs-commit at gcc dot gnu.org
  2020-11-12 10:01 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-12 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:64326bb428ac750ec3b0f56c06dfb98277cd41b5

commit r11-4937-g64326bb428ac750ec3b0f56c06dfb98277cd41b5
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Nov 12 09:10:51 2020 +0100

    tree-optimization/97806 - fix PRE expression post order

    This fixes the postorder compute for the case of multiple
    expression leaders for a value.

    2020-11-12  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/97806
            * tree-ssa-pre.c (pre_expr_DFS): New overload for visiting
            values, visiting all leaders for a value.  Use a bitmap
            for visited values.
            (sorted_array_from_bitmap_set): Walk over values and adjust.

            * gcc.dg/pr97806.c: New testcase.

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

* [Bug bootstrap/97806] [11 regression] bootstrap ICE starting with r11-4921
  2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2020-11-12 10:01 ` cvs-commit at gcc dot gnu.org
@ 2020-11-12 10:01 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-12 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2020-11-12 10:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12  3:00 [Bug bootstrap/97806] New: [11 regression] bootstrap ICE starting with r11-4921 seurer at gcc dot gnu.org
2020-11-12  7:17 ` [Bug bootstrap/97806] " rguenth at gcc dot gnu.org
2020-11-12  7:41 ` rguenth at gcc dot gnu.org
2020-11-12  7:42 ` rguenth at gcc dot gnu.org
2020-11-12  8:00 ` rguenth at gcc dot gnu.org
2020-11-12  9:48 ` tnfchris at gcc dot gnu.org
2020-11-12 10:01 ` cvs-commit at gcc dot gnu.org
2020-11-12 10:01 ` rguenth 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).