public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
@ 2023-06-05  5:29 sjames at gcc dot gnu.org
  2023-06-05  5:30 ` [Bug bootstrap/110120] " sjames at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-06-05  5:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110120
           Summary: [14 regression] Failed bootstrap on
                    x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal
                    compiler error: RTL check: expected elt 0 type 'e' or
                    'u', have 'E' (rtx parallel) in reload_cse_move2add,
                    at postreload.cc:2030)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

Created attachment 55257
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55257&action=edit
cxx11-wlocale-inst.ii.xz

Last week's snapshot was fine.

```
libtool: compile: 
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc/xgcc
-shared-libgcc
-B/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc
-nostdinc++
-L/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src
-L/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs
-L/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/libsupc++/.libs
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include
-fno-checking -m32
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/../libgcc
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/libsupc++
-std=gnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=cxx11-wlocale-inst.lo -g
-pipe -march=native -fdiagnostics-color=always -Wreturn-type -ggdb3 -O2
-D_GNU_SOURCE -m32 -fcf-protection -mshstk -c
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/src/c++11/cxx11-wlocale-inst.cc
 -fPIC -DPIC -D_GLIBCXX_SHARED -o cxx11-wlocale-inst.o
during RTL pass: postreload
In file included from
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/bits/locale_facets.h:2687,
                 from
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/locale:42,
                 from
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/src/c++11/locale-inst.cc:38,
                 from
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/src/c++11/cxx11-wlocale-inst.cc:37:
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/bits/locale_facets.tcc:
In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_int(_InIt
er, _InIter, std::ios_base&, std::ios_base::iostate&, _ValueT&) const [with
_ValueT = long int; _CharT = wchar_t; _InIter =
std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >]’:
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/bits/locale_facets.tcc:588:7:
internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E'
(rtx parallel) in reload_cse_move2add, at postreload.cc:2030
  588 |       }
      |       ^
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://bugs.gentoo.org/> for instructions.
make[10]: *** [Makefile:668: cxx11-wlocale-inst.lo] Error 1
make[10]: Leaving directory
'/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/c++11'
```

I can reproduce with
'/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc/xgcc
-shared-libgcc
-B/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc
-nostdinc++
-L/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src
-L/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs
-L/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/libsupc++/.libs
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include
-fno-checking -m32
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/../libgcc
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/libsupc++
-std=gnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=cxx11-wlocale-inst.lo -g
-pipe -march=native -fdiagnostics-color=always -Wreturn-type -ggdb3 -O2
-D_GNU_SOURCE -m32 -fcf-protection -mshstk -c
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/libstdc++-v3/src/c++11/cxx11-wlocale-inst.cc
 -fPIC -DPIC -D_GLIBCXX_SHARED -c cxx11-wlocale-inst.ii' with the attached
preprocessed source.

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
@ 2023-06-05  5:30 ` sjames at gcc dot gnu.org
  2023-06-05  5:30 ` sjames at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-06-05  5:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
march is znver2.

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
  2023-06-05  5:30 ` [Bug bootstrap/110120] " sjames at gcc dot gnu.org
@ 2023-06-05  5:30 ` sjames at gcc dot gnu.org
  2023-06-05  5:54 ` pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-06-05  5:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
$ /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/gcc-14-20230604/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/14/python
--enable-languages=c,c++,fortran,rust --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
14.0.0_pre20230604 p1' --with-gcc-major-version-only --enable-esp
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point
--enable-targets=all --enable-libgomp --disable-libssp --disable-libada
--enable-cet --disable-systemtap --enable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --with-zstd --with-isl
--disable-isl-version-check --enable-default-pie --enable-default-ssp
--with-build-config=bootstrap-cet
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20230604 (experimental) (Gentoo Hardened 14.0.0_pre20230604
p1)

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
  2023-06-05  5:30 ` [Bug bootstrap/110120] " sjames at gcc dot gnu.org
  2023-06-05  5:30 ` sjames at gcc dot gnu.org
@ 2023-06-05  5:54 ` pinskia at gcc dot gnu.org
  2023-06-05  6:03 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-05  5:54 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
           Keywords|                            |build, ice-checking,
                   |                            |ice-on-valid-code

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely caused by r14-1526-g3991b2f623d22dea19c

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-06-05  5:54 ` pinskia at gcc dot gnu.org
@ 2023-06-05  6:03 ` pinskia at gcc dot gnu.org
  2023-06-05  6:47 ` sjames at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-05  6:03 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org,
                   |                            |pinskia at gcc dot gnu.org

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> Most likely caused by r14-1526-g3991b2f623d22dea19c

Specifically this part of the change:
-                 if (costs_lt_p (&newcst, &oldcst, speed))
+
+                 /* We perform this replacement only if NEXT is either a
+                    naked SET, or else its single_set is the first element
+                    in a PARALLEL.  */
+                 rtx *setloc = GET_CODE (PATTERN (insn)) == PARALLEL
+                   ? &XEXP (PATTERN (insn), 0) : &PATTERN (insn);
+                 if (*setloc == set && costs_lt_p (&newcst, &oldcst, speed))


XEXP on PARALLEL is not correct. XVECEXP (PATTERN (insn), 0, 0) would be
correct based on the comment.

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-06-05  6:03 ` pinskia at gcc dot gnu.org
@ 2023-06-05  6:47 ` sjames at gcc dot gnu.org
  2023-06-05  6:54 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-06-05  6:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55258
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55258&action=edit
reduced.ii

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-06-05  6:47 ` sjames at gcc dot gnu.org
@ 2023-06-05  6:54 ` rguenth at gcc dot gnu.org
  2023-06-05  7:11 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-06-05  6:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
   Last reconfirmed|                            |2023-06-05
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
requires RTL checking

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2023-06-05  6:54 ` rguenth at gcc dot gnu.org
@ 2023-06-05  7:11 ` pinskia at gcc dot gnu.org
  2023-06-05 23:16 ` hp at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-05  7:11 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 110121 has been marked as a duplicate of this bug. ***

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2023-06-05  7:11 ` pinskia at gcc dot gnu.org
@ 2023-06-05 23:16 ` hp at gcc dot gnu.org
  2023-06-05 23:17 ` hp at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu.org @ 2023-06-05 23:16 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |hp at gcc dot gnu.org

--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> (In reply to Andrew Pinski from comment #3)
> > Most likely caused by r14-1526-g3991b2f623d22dea19c
> 
> Specifically this part of the change:
> -                 if (costs_lt_p (&newcst, &oldcst, speed))
> +
> +                 /* We perform this replacement only if NEXT is either a
> +                    naked SET, or else its single_set is the first element
> +                    in a PARALLEL.  */
> +                 rtx *setloc = GET_CODE (PATTERN (insn)) == PARALLEL
> +                   ? &XEXP (PATTERN (insn), 0) : &PATTERN (insn);
> +                 if (*setloc == set && costs_lt_p (&newcst, &oldcst, speed))
> 
> 
> XEXP on PARALLEL is not correct. XVECEXP (PATTERN (insn), 0, 0) would be
> correct based on the comment.

Oops.  Of course.  Nobody with the obvious patch yet?  I'm on it, need just one
and a half bootstrap...

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2023-06-05 23:16 ` hp at gcc dot gnu.org
@ 2023-06-05 23:17 ` hp at gcc dot gnu.org
  2023-06-06  2:48 ` cvs-commit at gcc dot gnu.org
  2023-06-06  2:50 ` hp at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu.org @ 2023-06-05 23:17 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2023-06-05 23:17 ` hp at gcc dot gnu.org
@ 2023-06-06  2:48 ` cvs-commit at gcc dot gnu.org
  2023-06-06  2:50 ` hp at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-06-06  2:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hans-Peter Nilsson <hp@gcc.gnu.org>:

https://gcc.gnu.org/g:9677cc7496ffe44c5b483658ce30361519576537

commit r14-1559-g9677cc7496ffe44c5b483658ce30361519576537
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Tue Jun 6 01:49:22 2023 +0200

    bootstrap rtl-checking: Fix XVEC vs XVECEXP in postreload.cc

            PR bootstrap/110120
            * postreload.cc (reload_cse_move2add, move2add_use_add2_insn): Use
            XVECEXP, not XEXP, to access first item of a PARALLEL.

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

* [Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030)
  2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2023-06-06  2:48 ` cvs-commit at gcc dot gnu.org
@ 2023-06-06  2:50 ` hp at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu.org @ 2023-06-06  2:50 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

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

--- Comment #10 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2023-06-06  2:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-05  5:29 [Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in reload_cse_move2add, at postreload.cc:2030) sjames at gcc dot gnu.org
2023-06-05  5:30 ` [Bug bootstrap/110120] " sjames at gcc dot gnu.org
2023-06-05  5:30 ` sjames at gcc dot gnu.org
2023-06-05  5:54 ` pinskia at gcc dot gnu.org
2023-06-05  6:03 ` pinskia at gcc dot gnu.org
2023-06-05  6:47 ` sjames at gcc dot gnu.org
2023-06-05  6:54 ` rguenth at gcc dot gnu.org
2023-06-05  7:11 ` pinskia at gcc dot gnu.org
2023-06-05 23:16 ` hp at gcc dot gnu.org
2023-06-05 23:17 ` hp at gcc dot gnu.org
2023-06-06  2:48 ` cvs-commit at gcc dot gnu.org
2023-06-06  2:50 ` hp 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).