[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155

Martin Jambor  changed:

   What|Removed |Added

 CC||jamborm at gcc dot gnu.org

--- Comment #6 from Martin Jambor  ---
Yep, almost certainly an instance of missed unsharing and thus a duplicate for
PR 103099.  Sorry for the breakage.

[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155

Andrew Pinski  changed:

   What|Removed |Added

   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=103099,
   ||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=103107
 Resolution|--- |FIXED
   Target Milestone|--- |12.0
 Status|WAITING |RESOLVED

--- Comment #5 from Andrew Pinski  ---
Fixed by r12-5003-g239d82d4c05b30632 which makes sense based on the backtrace
being inside the inliner and -g is needed.

[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155

--- Comment #4 from Andrew Pinski  ---
(In reply to Andrew Pinski from comment #3)
> I am able to reproduce this at r12-4982-g962ff7d2849 as described in the
> bug, trying to see if a latter revision fixed the problem.

It is also broken at r12-4993 but not at r12-5076.  Still bisecting.

[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155

--- Comment #3 from Andrew Pinski  ---
I am able to reproduce this at r12-4982-g962ff7d2849 as described in the bug,
trying to see if a latter revision fixed the problem.

[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-09 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155

--- Comment #2 from Arseny Solokha  ---
It ICEs on both my machines, but I cannot reproduce it on godbolt. Give me some
time to see if I manage to get something meaningful out of it w/ gdb.

% gcc-12.0.0 -v
Using built-in specs.
COLLECT_GCC=gcc-12.0.0
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/configure
--host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/12.0.0
--includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/12.0.0/include
--datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/12.0.0
--mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/12.0.0/man
--infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/12.0.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/12.0.0/include/g++-v12
--with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/12.0.0/python
--enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror
--with-system-zlib --disable-nls --disable-libunwind-exceptions
--enable-checking=yes --disable-esp --enable-libstdcxx-time
--disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--with-multilib-list=m64 --disable-fixed-point --enable-targets=all
--enable-libgomp --disable-libssp --disable-libada --disable-systemtap
--enable-valgrind-annotations --disable-vtable-verify --disable-libvtv
--without-zstd --enable-lto --with-isl --disable-isl-version-check
--disable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20211107 (experimental) (GCC)

[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-09 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155

Martin Liška  changed:

   What|Removed |Added

   Last reconfirmed||2021-11-09
 Ever confirmed|0   |1
 Status|UNCONFIRMED |WAITING

--- Comment #1 from Martin Liška  ---
Hm, I can't reproduce the problem, both for the partially reduced testcase and
the including line.