[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #2 from Hongtao.liu --- (In reply to H.J. Lu from comment #1) > SLP thinks that it needs 4 stores to store 4 bytes of integer constant. > But it takes only 1 4-byte store. I think we can simplify that at combine. Failed to match

[Bug rtl-optimization/106032] [10/11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Andrew Pinski changed: What|Removed |Added Summary|[12/13 Regression] wrong|[10/11/12/13 Regression]

[Bug rtl-optimization/106032] [12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |rtl-optimization --- Comment #3 from

[Bug tree-optimization/106032] [12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Andrew Pinski changed: What|Removed |Added Version|unknown |13.0 Known to work|

[Bug tree-optimization/106032] wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/PnTzaKsf4

[Bug tree-optimization/106032] New: wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220619 (experimental) [master r13-1166-g4390e7bfbc6] (GCC) [641] % [641] % gcctk -O1 small.c; ./a.out [642] % [642] % gcctk -Os small.c [643] % ./a.out Segmentation fault [644] % [644] % cat small.c int a, b, c

[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132

2022-06-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954 --- Comment #5 from anlauf at gcc dot gnu.org --- The following patch fixes the ICE and regtests OK: diff --git a/gcc/fortran/decl.cc b/gcc/fortran/decl.cc index bd586e75008..3e04f45e9ac 100644 --- a/gcc/fortran/decl.cc +++

[Bug c++/105931] [12/13 regression] ICE in cxx_eval_constant_expression

2022-06-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105931 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105982] [13 Regression] internal compiler error: in lookup_template_class, at cp/pt.cc:10361

2022-06-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105982 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/106031] New: ICE on container map empty aggregate.

2022-06-19 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106031 Bug ID: 106031 Summary: ICE on container map empty aggregate. Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug c/106030] ice in emit_move_insn, at expr.cc:4026

2022-06-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 --- Comment #1 from David Binderman --- I should mention that this code is fine on x86_64, but breaks on arm-32 native and cross.

[Bug c++/77306] Unable to specify visibility for explicit template instantiations

2022-06-19 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77306 Thiago Macieira changed: What|Removed |Added CC||thiago at kde dot org --- Comment #3

[Bug c++/106023] Would like to control the ELF visibility of template explicit instantiations

2022-06-19 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106023 Thiago Macieira changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/106030] New: ice in emit_move_insn, at expr.cc:4026

2022-06-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 Bug ID: 106030 Summary: ice in emit_move_insn, at expr.cc:4026 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/106025] Incorrect optimization at -O2 leads to infinite test execution time

2022-06-19 Thread mikpelinux at gmail dot com via Gcc-bugs
--- Comment #1 from Mikael Pettersson --- I can reproduce with gcc version 13.0.0 20220619 at -O2 on x86_64-pc-linux-gnu, but not with gcc version 12.1.1 20220618 or gcc-11. I tried -fsanitize=undefined to see if the code had any UB, but that was silent _and_ masked the problem.

[Bug analyzer/106003] RFE: -fanalyzer could complain about misuse of file-descriptors

2022-06-19 Thread mir at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106003 Immad Mir changed: What|Removed |Added Last reconfirmed||2022-06-19 Status|UNCONFIRMED

[Bug middle-end/105998] [10/11/12 Regression] ICE: in as_a, at machmode.h:365 with vector arithmetics since r9-1971-g315aa691f486bf

2022-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105998 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e8df0d960b36146c8e193b269f9f7ae7dc76e08b commit r12-8496-ge8df0d960b36146c8e193b269f9f7ae7dc76e08b Author: Jakub Jelinek

[Bug c++/106001] [12/13 Regression] ICE: expected expression 'static_cast(1)' of kind static_cast_expr since r12-1128-gef8176e0fac935

2022-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106001 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:566e599c8194f789b077eb94a5e45ced2de5b31e commit r12-8495-g566e599c8194f789b077eb94a5e45ced2de5b31e Author: Jakub Jelinek

[Bug middle-end/105951] [12 Regression] ICE in emit_store_flag, at expmed.cc:6027

2022-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105951 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:86e10e471fddfcacb0c02d02f30ab5bb2038e504 commit r12-8494-g86e10e471fddfcacb0c02d02f30ab5bb2038e504 Author: Jakub Jelinek

[Bug tree-optimization/105739] [10 Regression] Miscompilation of Linux kernel update.c

2022-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105739 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bf4ba940673b80961c5979078f9d37a7bef2f5ff commit r12-8493-gbf4ba940673b80961c5979078f9d37a7bef2f5ff Author: Jan Hubicka

[Bug c++/105871] ICE: in wide_int_to_tree_1, at tree.cc:1777 with __builtin_shufflevector() in C++ code

2022-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105871 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0ddeeb11e45b9b7e9ebc18292a42769304bf3e44 commit r12-8492-g0ddeeb11e45b9b7e9ebc18292a42769304bf3e44 Author: Jakub Jelinek

[Bug tree-optimization/106012] rsqrtps and rcpps instructiona generated even if -fno-reciprocal-math specified

2022-06-19 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106012 vincenzo Innocente changed: What|Removed |Added Summary|rsqrtss instruction |rsqrtps and rcpps

[Bug c++/106029] New: gcc doesn't report full stack trace for static_assert()

2022-06-19 Thread realazthat at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106029 Bug ID: 106029 Summary: gcc doesn't report full stack trace for static_assert() Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug lto/105933] LTO ltrans object files does not have proper st_bind and st_visibility

2022-06-19 Thread ishitatsuyuki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105933 --- Comment #2 from Tatsuyuki Ishi --- Created attachment 53164 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53164=edit A source that fails to link when ltrans is grabbed separatedly and passed to link Here's a minimized test case from

[Bug libstdc++/106028] New: std::filesystem::path lacks conversion to native mbs

2022-06-19 Thread goughostt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106028 Bug ID: 106028 Summary: std::filesystem::path lacks conversion to native mbs Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3