[Bug c++/107267] ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253

2022-10-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 --- Comment #4 from David Binderman --- Trying a git bisect with git hash 93b3ab6c0c6a44df.

[Bug c++/107276] New: ICE Deducting return type from ill-formed structured binding name

2022-10-15 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107276 Bug ID: 107276 Summary: ICE Deducting return type from ill-formed structured binding name Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-inval

[Bug tree-optimization/107275] New: [13 Regression] Recent ifcvt changes resulting in references to SSA_NAME on free list

2022-10-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107275 Bug ID: 107275 Summary: [13 Regression] Recent ifcvt changes resulting in references to SSA_NAME on free list Product: gcc Version: 13.0 Status: UNCONFIRMED Se

[Bug tree-optimization/107274] Incorrect -Wuninitialized on indexed initialization

2022-10-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107274 --- Comment #1 from Andrew Pinski --- Strict aliasing issue. Store is via char but load is via long to a char array.

[Bug tree-optimization/107274] New: Incorrect -Wuninitialized on indexed initialization

2022-10-15 Thread keegan at undefinedbehaviour dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107274 Bug ID: 107274 Summary: Incorrect -Wuninitialized on indexed initialization Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug tree-optimization/107273] wrong code at -O3 on x86_64-linux-gnu

2022-10-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221015 (experimental) [master r13-3311-gbaeec7cc83b] (GCC) [629] % [629] % gcctk -O1 small.c; ./a.out [630] % [630] % gcctk -Os small.c [631] % timeout -s 9 5

[Bug tree-optimization/107273] wrong code at -O3 on x86_64-linux-gnu

2022-10-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221015 (experimental) [master r13-3311-gbaeec7cc83b] (GCC) [571] % [571] % gcctk -O0 small.c; ./a.out [572] % [572] % gcctk -O1 small.c [573] % timeout -s 9 5 ./a.out

[Bug tree-optimization/107273] wrong code at -O3 on x86_64-linux-gnu

2022-10-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221015 (experimental) [master r13-3311-gbaeec7cc83b] (GCC) [516] % [516] % gcctk -O1 small.c; ./a.out [517] % [517] % gcctk -Os small.c [518] % ./a.out Illegal

[Bug tree-optimization/107273] New: wrong code at -O3 on x86_64-linux-gnu

2022-10-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221015 (experimental) [master r13-3311-gbaeec7cc83b] (GCC) [539] % [539] % gcctk -O2 small.c; ./a.out [540] % [540] % gcctk -O3 small.c [541] % ./a.out

[Bug tree-optimization/107269] wrong code at -O1 and above with "-fno-tree-ccp" on x86_64-linux-gnu

2022-10-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
algorithms: zlib gcc version 13.0.0 20221015 (experimental) [master r13-3311-gbaeec7cc83b] (GCC) [643] % [643] % gcctk -O1 small.c; ./a.out [644] % [644] % gcctk -O1 -fno-tree-ccp small.c [645] % ./a.out Aborted [646] % [646] % cat small.c char a; unsigned b; int d = 39381789, e, f, g = 1; long h, i; int

[Bug fortran/107272] New: ICE in gfc_compare_string and others (related to pr107217)

2022-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107272 Bug ID: 107272 Summary: ICE in gfc_compare_string and others (related to pr107217) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pr

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #28 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #27) > (In reply to anlauf from comment #25) > > (In reply to Mikael Morin from comment #24) > > > First, the ARITH_INVALID_TYPE should be renamed as it has

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-15 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #27 from Mikael Morin --- (In reply to anlauf from comment #25) > (In reply to Mikael Morin from comment #24) > > First, the ARITH_INVALID_TYPE should be renamed as it has now a broader > > usage (ARITH_OP_NOT_LITERAL_VALUE is a bit l

[Bug fortran/107141] ICE: Segmentation fault (in contains_struct_check)

2022-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141 --- Comment #3 from anlauf at gcc dot gnu.org --- Placing the subroutine into a module also avoids the error.

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #33 from Segher Boessenkool --- (In reply to H.J. Lu from comment #32) > > There is no actual comparison with 0, that is just notation. > > True. But simplify-rtx.cc simplifies > > (ltu (reg 17) (const_int 0)) > > to false when r

[Bug fortran/107141] ICE: Segmentation fault (in contains_struct_check)

2022-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 anlauf at gcc dot gnu.org changed: What|Removed |Added Attachment #53706|0 |1 is obsolete|

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #25 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #24) > First, the ARITH_INVALID_TYPE should be renamed as it has now a broader > usage (ARITH_OP_NOT_LITERAL_VALUE is a bit long, ARITH_OP_NOT_CONSTANT is a

[Bug c++/107255] declaration and definition of a template function which vary in use of concept auto syntax are interpreted as ambiguous overloads

2022-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107255 --- Comment #2 from Jonathan Wakely --- (In reply to Jiang An from comment #1) > I think two declarations are functionally-equivalent but not equivalent. Yes, I think you're right. Similarly, these are not equivalent despite looking superficial

[Bug target/107271] New: [13 Regression] ICE: in expand_vec_perm_shufps_shufps, at config/i386/i386-expand.cc:19676 with __builtin_shuffle()

2022-10-15 Thread zsojka at seznam dot cz via Gcc-bugs
in/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-3311-20221015001738-gbaeec7cc83b-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221015 (experimental) (GCC)

[Bug c++/107267] ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253

2022-10-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 --- Comment #3 from David Binderman --- Reduced C++ code is template struct integral_constant { static constexpr int value = __v; }; template using __bool_constant = integral_constant<__v>; template struct __conditional { template using

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-15 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #24 from Mikael Morin --- (In reply to anlauf from comment #21) > > Yeah, I was getting just rather close to this one... > Sorry, I didn't want to take it out of your hands. It seemed that no real solution was emerging. (In reply t

[Bug c++/107255] declaration and definition of a template function which vary in use of concept auto syntax are interpreted as ambiguous overloads

2022-10-15 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107255 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from Jian