[Bug tree-optimization/106010] New: Miss vectorization for complex type copy.

2022-06-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106010 Bug ID: 106010 Summary: Miss vectorization for complex type copy. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/106009] [modules] internal compiler error: in mark_by_value, at cp/module.cc:4775

2022-06-16 Thread overlord624 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106009 --- Comment #1 from John Smith --- Created attachment 53159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53159=edit preprocessed with -save-temps

[Bug c++/106009] New: [modules] internal compiler error: in mark_by_value, at cp/module.cc:4775

2022-06-16 Thread overlord624 at gmail dot com via Gcc-bugs
Target: x86_64-pc-linux-gnu Configured with: /media/extra/sources/gcc/configure --host=x86_64-pc-linux-gnu --prefix=/media/extra --disable-multilib --enable-threads --enable-tls --enable-languages=c,c++ --disable-nls Thread model: posix Supported LTO compression algorithms: zlib zstd gcc versio

[Bug middle-end/106008] [11/12 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106008 H.J. Lu changed: What|Removed |Added Version|12.0|11.2.1 Summary|[12 Regression]

[Bug tree-optimization/95821] Failure to optimize strchr to use memchr for string constant

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95821 --- Comment #4 from H.J. Lu --- Created attachment 53157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53157=edit A patch

[Bug middle-end/106008] [12 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106008 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/101482] operator== for basic_string and __versa_string should check sizes first

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101482 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0 Status|ASSIGNED

[Bug libstdc++/105995] QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug libstdc++/105995] QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:98a0d72a610a87e8e383d366e50253ddcc9a51dd commit r13-1139-g98a0d72a610a87e8e383d366e50253ddcc9a51dd Author: Jonathan Wakely

[Bug libstdc++/101482] operator== for basic_string and __versa_string should check sizes first

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101482 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:51309d1158b85560a975819260776c0ca68fd142 commit r13-1138-g51309d1158b85560a975819260776c0ca68fd142 Author: Jonathan Wakely

[Bug middle-end/106008] New: [12 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106008 Bug ID: 106008 Summary: [12 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

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

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106001 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/103798] memchr with a (small) constant string should be expanded inline.

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103798 --- Comment #2 from H.J. Lu --- Created attachment 53154 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53154=edit A patch Like this?

[Bug target/105991] [12/13 Regression] rldicl+sldi+add generated instead of rldimi

2022-06-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 --- Comment #3 from Marek Polacek --- Regtest/bootstrap passed on powerpc64le-unknown-linux-gnu. I did not test Ada.

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

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106001 --- Comment #2 from Jakub Jelinek --- Actually valid testcase: typedef int V __attribute__((vector_size (2 * sizeof (int; template void foo () { V v {}; v = __builtin_shufflevector (v, v, static_cast(1), static_cast(0)); } void bar

[Bug analyzer/106007] New: RFE: analyzer should complain about exec/system of tainted args

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106007 Bug ID: 106007 Summary: RFE: analyzer should complain about exec/system of tainted args Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/106006] New: RFE: analyzer should treat data from a socket as "tainted"

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106006 Bug ID: 106006 Summary: RFE: analyzer should treat data from a socket as "tainted" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/106005] New: (F2023) Support for REDUCTION clause in DO CONCURRENT loop

2022-06-16 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106005 Bug ID: 106005 Summary: (F2023) Support for REDUCTION clause in DO CONCURRENT loop Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/106004] New: [13 Regression] ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in arm_print_operand, at config/arm/arm.cc:24202

2022-06-16 Thread zsojka at seznam dot cz via Gcc-bugs
x Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220616 (experimental) (GCC)

[Bug c++/105996] [10/11/12/13 Regression] reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 --- Comment #3 from Jakub Jelinek --- Or can we say just call cp_convert instead of build_reinterpret_cast in that case?

[Bug target/105992] memcmp(p, q, 7) == 0 can be optimized better on x86

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105992 --- Comment #3 from H.J. Lu --- (In reply to Hongtao.liu from comment #1) > I'm wondering would targetm.overlap_op_by_pieces_p helps here. The code is generated by targetm.overlap_op_by_pieces_p. It compares 4 byte at a time with branches.

[Bug c++/105996] [10/11/12/13 Regression] reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

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

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106003 --- Comment #1 from David Malcolm --- See also this mailing list thread: https://gcc.gnu.org/pipermail/gcc/2022-June/238801.html

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

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106003 Bug ID: 106003 Summary: RFE: -fanalyzer could complain about misuse of file-descriptors Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/105992] memcmp(p, q, 7) == 0 can be optimized better on x86

2022-06-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105992 --- Comment #2 from H.J. Lu --- (In reply to Hongtao.liu from comment #1) > I'm wondering would targetm.overlap_op_by_pieces_p helps here. It is related to PR 103798.

[Bug target/105991] [12/13 Regression] rldicl+sldi+add generated instead of rldimi

2022-06-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 --- Comment #2 from Marek Polacek --- (In reply to Roger Sayle from comment #1) > The following patch appears to correct this for me on a cross-compiler to > powerpcle64, but it's tricky for me to do a full bootstrap/regression test. Thanks

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

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105998 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Component|c++

[Bug analyzer/105888] RFE: -fanalyzer should complain when an on-stack address escapes/outlives the function

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105888 --- Comment #1 from David Malcolm --- See also CWE-562: Return of Stack Variable Address https://cwe.mitre.org/data/definitions/562.html

[Bug tree-optimization/105973] Wrong branch prediction for if (COND) { if(x) noreturn1(); else noreturn2(); }

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105973 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug rtl-optimization/105988] [10/11/12/13 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1064 since r6-4873-gebedc9a3414d8422

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105988 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[10/11/12/13

[Bug target/105980] [11/12/13 Regression] ICE in final_scan_insn_1, at final.cc:2811

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105980 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/105820] [13 Regression] ICE in invert, at value-range.cc:1971

2022-06-16 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105820 --- Comment #4 from Andrew Macleod --- Well, thats not really the problem here. We are casting [irange] gimple_code [2, 2] to a gimple_code, and getting: [irange] gimple_code VARYING Couple of issues.. one, we shouldnt bother casting

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105972 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug ipa/105978] ICE: nodes with unreleased memory found since r9-4254-g12485662c00914ed

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105978 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-06-16 Ever confirmed|0

[Bug analyzer/105892] RFE: -fanalyzer could complain about pointer subtraction of pointers to different memory chunks

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105892 --- Comment #1 from David Malcolm --- See also CWE 469: https://cwe.mitre.org/data/definitions/469.html

[Bug analyzer/106000] RFE: -fanalyzer should complain about definite buffer overflows/underflows

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 --- Comment #2 from David Malcolm --- See also: https://cwe.mitre.org/data/definitions/468.html

[Bug analyzer/105900] RFE: -fanalyzer could check malloc sizes when casting the result to a pointer

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 --- Comment #2 from David Malcolm --- See also: https://cwe.mitre.org/data/definitions/467.html

[Bug rtl-optimization/105952] [12/13 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.cc:5680

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105952 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/106001] [12/13 Regression] ICE: nexpected expression 'static_cast(1)' of kind static_cast_expr

2022-06-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106001 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 Kewen Lin changed: What|Removed |Added Attachment #53126|0 |1 is obsolete|

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #6 from Kewen Lin --- (In reply to Kewen Lin from comment #4) > (In reply to Richard Biener from comment #2) > > (In reply to Kewen Lin from comment #1) > > > Created attachment 53126 [details] > > > move_applying > > > > LGTM

[Bug tree-optimization/105990] Dead code elimination failed at -O3

2022-06-16 Thread Painololo at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105990 John Klein changed: What|Removed |Added CC||Painololo at protonmail dot com ---

[Bug analyzer/106000] RFE: -fanalyzer should complain about definite buffer overflows/underflows

2022-06-16 Thread Painololo at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 John Klein changed: What|Removed |Added CC||Painololo at protonmail dot com ---

[Bug lto/105877] GNU strip breaks -flto -g .o files

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105877 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/105925] [11/12/13 Regression] Could not convert '{{0, 0.0}}' from '' to 'X' since r12-954-g84fd1b5dff70cd74

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105925 Martin Liška changed: What|Removed |Added Summary|[11/12/13 Regression] Could |[11/12/13 Regression] Could

[Bug analyzer/101837] [11/12 Regression] ICE with -O3 -fsanitize=undefined -fanalyzer since r11-7941-ge4bb1bd60a9fd1be

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101837 Martin Liška changed: What|Removed |Added CC||girgias at php dot net --- Comment #6

[Bug analyzer/105919] Internal compiler error when using -fanalyzer on php-src

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105919 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/105925] [11/12/13 Regression] Could not convert '{{0, 0.0}}' from '' to 'X'

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105925 Martin Liška changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug analyzer/101837] [11/12 Regression] ICE with -O3 -fsanitize=undefined -fanalyzer since r11-7941-ge4bb1bd60a9fd1be

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101837 Martin Liška changed: What|Removed |Added CC||jehova at existiert dot net --- Comment

[Bug c++/105925] [11/12/13 Regression] Could not convert '{{0, 0.0}}' from '' to 'X'

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105925 Martin Liška changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/106002] New: RFE: complain about incorrect checks of return values (CWE-253)

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106002 Bug ID: 106002 Summary: RFE: complain about incorrect checks of return values (CWE-253) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug c++/105921] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18362

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105921 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/105998] [10/11/12/13 Regression] ICE: in as_a, at machmode.h:365 with vector arithmetics

2022-06-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105998 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/105912] internal compiler error: in extract_call_expr, at cp/call.cc:7114

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105912 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug middle-end/105902] Documentation for the RTL front-end was never added

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105902 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106001] New: [12 Regression] ICE: nexpected expression 'static_cast(1)' of kind static_cast_expr

2022-06-16 Thread doko at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with the gcc-12 branch 20220616 on x86_64-linux-gnu, building the spoa package: $ cat

[Bug analyzer/106000] New: RFE: -fanalyzer should complain about definite buffer overflows/underflows

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 Bug ID: 106000 Summary: RFE: -fanalyzer should complain about definite buffer overflows/underflows Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/105822] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2579

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105822 Martin Liška changed: What|Removed |Added CC||aoliva at gcc dot gnu.org,

[Bug analyzer/105900] RFE: -fanalyzer could check malloc sizes when casting the result to a pointer

2022-06-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 --- Comment #1 from David Malcolm --- See https://cwe.mitre.org/data/definitions/131.html e.g. example 5. See also: https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-mallocoverflow-c (CWE 131's example 2 has a case of this)

[Bug fortran/105807] ICE / error when defining a class containing polymorphic components

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105807 Martin Liška changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug target/105981] [10/11/12 regression] Wrong code from gen_cpymem_ldrd_strd() with -mbig-endian

2022-06-16 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105981 Richard Earnshaw changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/105798] Add new -Wshadow for data member

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105798 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last

[Bug target/105981] [10/11/12 regression] Wrong code from gen_cpymem_ldrd_strd() with -mbig-endian

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105981 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:20ece449e06f2d0dd0c50db0203d13b4e4ff2d96 commit r10-10850-g20ece449e06f2d0dd0c50db0203d13b4e4ff2d96 Author: Richard

[Bug target/105981] [10/11/12 regression] Wrong code from gen_cpymem_ldrd_strd() with -mbig-endian

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105981 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:2a9c9ed732d6a7f4565a286bdeb953f08fbe8fb9 commit r11-10074-g2a9c9ed732d6a7f4565a286bdeb953f08fbe8fb9 Author: Richard

[Bug target/105981] [10/11/12 regression] Wrong code from gen_cpymem_ldrd_strd() with -mbig-endian

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105981 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:723c1d6284ca9f79cc35bf7bf49f391417773f83 commit r12-8488-g723c1d6284ca9f79cc35bf7bf49f391417773f83 Author: Richard

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 105983, which changed state. Bug 105983 Summary: Failure to optimize (b != 0) && (a >= b) as well as the same pattern with binary and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105983 What|Removed

[Bug tree-optimization/105983] Failure to optimize (b != 0) && (a >= b) as well as the same pattern with binary and

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105983 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/105984] [13 Regression] wrong code with __builtin_mul_overflow_p() at -O1

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105984 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/105983] Failure to optimize (b != 0) && (a >= b) as well as the same pattern with binary and

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105983 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9642d07c35f14b9917cd115e8a9f0210fbcdcf4f commit r13-1134-g9642d07c35f14b9917cd115e8a9f0210fbcdcf4f Author: Jakub Jelinek Date:

[Bug middle-end/105984] [13 Regression] wrong code with __builtin_mul_overflow_p() at -O1

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105984 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:74e6a40335765077e235269f19d2d9905d0d9e44 commit r13-1133-g74e6a40335765077e235269f19d2d9905d0d9e44 Author: Jakub Jelinek Date:

[Bug c++/105999] New: Wrong requires result inside lambda in a class

2022-06-16 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999 Bug ID: 105999 Summary: Wrong requires result inside lambda in a class Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/105995] QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/105995] QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 --- Comment #3 from Jonathan Wakely --- Right, you can only use std::string as a local variable in a constexpr function. I don't think it's expected to work as a constexpr variable.

[Bug c++/105996] [12/11/12/13 Regression] reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 Jonathan Wakely changed: What|Removed |Added Summary|reinterpret_cast in |[12/11/12/13 Regression]

[Bug c++/105997] A possible optimization bug

2022-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 --- Comment #6 from Andrew Pinski --- Also people who assume the compiler is broken ask them to try -fsanitize=address and other sanitizers really. Gcc does is more "sensitive" to undefined behavior and more bugs in the user code does happen.

[Bug c++/105997] A possible optimization bug

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > If anybody wants to turn it into a proper bug report, the original commit > (and description) is at > https://github.com/zynaddsubfx/zynaddsubfx/commit/ >

[Bug c++/105998] New: [10/11/12/13 Regression] ICE: in as_a, at machmode.h:365 with vector arithmetics

2022-06-16 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105998 Bug ID: 105998 Summary: [10/11/12/13 Regression] ICE: in as_a, at machmode.h:365 with vector arithmetics Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/105997] A possible optimization bug

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 --- Comment #4 from Jonathan Wakely --- (In reply to Andreas Schwab from comment #2) > This line is definitely a bug in ZynAddSubFX: > > 1154:bool is_dir = fn->d_type & DT_DIR; > > d_type is not a bitfield. Not all systems even have

[Bug c++/105997] A possible optimization bug

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 --- Comment #3 from Jonathan Wakely --- If anybody wants to turn it into a proper bug report, the original commit (and description) is at https://github.com/zynaddsubfx/zynaddsubfx/commit/22a5f8da76c16c47c3814eedaec8f9fe0ff4248b

[Bug c++/105997] A possible optimization bug

2022-06-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 --- Comment #2 from Andreas Schwab --- This line is definitely a bug in ZynAddSubFX: 1154:bool is_dir = fn->d_type & DT_DIR; d_type is not a bitfield.

[Bug c++/105997] A possible optimization bug

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-16 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 Arnd Bergmann changed: What|Removed |Added CC||arnd at linaro dot org --- Comment #19

[Bug libstdc++/101482] operator== for basic_string and __versa_string should check sizes first

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101482 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-06-16

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

2022-06-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105951 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] ICE in |[12 Regression] ICE in

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2022-06-16 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 HaoChen Gui changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

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

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105951 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6a27c430468cb85454b19cef881a1422580657ff commit r13-1132-g6a27c430468cb85454b19cef881a1422580657ff Author: Jakub Jelinek Date:

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #17 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:8d1c6e7038b0c281ac2678f2f615806a7aac9174 commit r13-1131-g8d1c6e7038b0c281ac2678f2f615806a7aac9174 Author: Haochen Gui Date: Mon

[Bug c++/105997] New: A possible optimization bug

2022-06-16 Thread zhonghao at pku dot org.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105997 Bug ID: 105997 Summary: A possible optimization bug Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/105996] New: reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2022-06-16 Thread jdapena at igalia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 Bug ID: 105996 Summary: reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug driver/105564] Bad error for -ftrivial-auto-var-init without a choice argument

2022-06-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105564 --- Comment #6 from Jonathan Wakely --- Nice, thanks

[Bug target/105991] [12/13 Regression] rldicl+sldi+add generated instead of rldimi

2022-06-16 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105991 Roger Sayle changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/105992] memcmp(p, q, 7) == 0 can be optimized better on x86

2022-06-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105992 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com,

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-06-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #19 from Hongtao.liu --- I'm wondering would targetm.overlap_op_by_pieces_p helps here.

[Bug libstdc++/105995] QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 --- Comment #2 from Jiang An --- (In reply to Andrew Pinski from comment #1) > C++20 supports dynamic allocation for constexpr. Yeah, but a constexpr variable can't hold dynamically allocated memory. Dynamically allocated memory must be

[Bug libstdc++/105995] QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 --- Comment #1 from Andrew Pinski --- C++20 supports dynamic allocation for constexpr.

[Bug libstdc++/105995] New: QoI: constexpr basic_string variable must use all of its SSO buffer

2022-06-16 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105995 Bug ID: 105995 Summary: QoI: constexpr basic_string variable must use all of its SSO buffer Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/105993] [13 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 with -O -mxop

2022-06-16 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105993 --- Comment #2 from Uroš Bizjak --- Created attachment 53149 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53149=edit Patch to fix the failure The patch fixes this particular failure by using (match_dup X). In general, rtx_equal_p

[Bug driver/105564] Bad error for -ftrivial-auto-var-init without a choice argument

2022-06-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105564 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug driver/105564] Bad error for -ftrivial-auto-var-init without a choice argument

2022-06-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105564 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:ab66fd016d8efa250c471692f826b07e4a55e237 commit r13-1128-gab66fd016d8efa250c471692f826b07e4a55e237 Author: Martin Liska Date:

[Bug libstdc++/101482] The resolution of #32907 is too restricted

2022-06-16 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101482 --- Comment #1 from Jiang An --- Partially fixed together with bug #62187.

  1   2   >