[Bug target/111078] csneg is not used for (cset) * 2 - 1

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111078 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/98477] aarch64: Unnecessary GPR -> FPR moves for conditional select

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98477 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/112454] csinc (csel is though) is not being used when there is matches twice

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112454 --- Comment #3 from Andrew Pinski --- -1/~0 has the same issue as mentioned: ``` int finv(int a, int b, int c, int d) { return (a == 2 ? -1 : b) + (c == 3 ? -1 : d); } ```

[Bug target/112454] csinc (csel is though) is not being used when there is matches twice

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112454 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/112416] absu is not detected

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112416 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/112519] [14 Regression] wrong code with __builtin_sub_overflow_p() on x86_64-pc-linux-gnu

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112519 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/112518] [14 Regression] wrong code with __builtin_mul_overflow_p() and int128_t on x86_64-pc-linux-gnu

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112518 --- Comment #5 from Andrew Pinski --- Works for me with r14-5566-g841008d3966c0f .

[Bug middle-end/112560] [14 Regression] ICE in try_combine on pr112494.c

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112560 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/112560] [14 Regression] ICE in try_combine on pr112494.c

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112560 --- Comment #1 from Andrew Pinski --- This code seems to originally was added with https://gcc.gnu.org/pipermail/gcc-patches/2011-April/311365.html The discussion on the patch continues into May:

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661 due to reassoc not handling maybe_undefs

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #10 from Andrew Pinski --- I have a patch but I don't like it since it requires to touch gimple-if-to-switch.cc since that uses init_range_entry. Maybe someone else can come up with a better patch.

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-11-17 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org ---

[Bug analyzer/106147] RFE: -fanalyzer could complain about some cases of infinite loops and infinite recursion

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106147 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:841008d3966c0fe7a80ec10703a50fbdab7620ac commit r14-5566-g841008d3966c0fe7a80ec10703a50fbdab7620ac Author: David Malcolm Date:

[Bug c++/112588] ICE in make_decl_rtl when returning str literal when string header imported in module

2023-11-17 Thread nathanieloshead at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112588 Nathaniel Shead changed: What|Removed |Added CC||nathanieloshead at gmail dot com

[Bug ipa/112601] [11/12/13/14 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-11-18

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #9 from Andrew Pinski --- Adding -fdisable-tree-reassoc2 causes the problem not to happen so yes it is a bug in reassoc. If I get some time next week I will look into adding the support.

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #8 from Andrew Pinski --- tree-ssa-reassoc.cc needs to call mark_ssa_maybe_undefs and checks ssa_name_maybe_undef_p similar to the way tree-ssa-ifcombine.cc does it.

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #7 from Andrew Pinski --- Wait a minute, h might be uninitialized. So the issue is inside reassociate which is must not have recognized that iftmp.7_30 is defined by a maybe an uninitialized variable ...

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #6 from Andrew Pinski --- forwprop3 does: ``` _12 = ~iftmp.7_30; h_40 = (unsigned int) _12; ... if (h_40 == 4294967295) ``` into: ``` _75 = (unsigned int) iftmp.7_30; if (iftmp.7_30 == 0) ``` Which as far as I can tell

[Bug jit/112603] Allow setting the personality function

2023-11-17 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112603 --- Comment #1 from Antoni --- Created attachment 56628 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56628=edit Patch

[Bug jit/112603] New: Allow setting the personality function

2023-11-17 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112603 Bug ID: 112603 Summary: Allow setting the personality function Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #5 from Andrew Pinski --- Looking into what is going wrong.

[Bug jit/112602] Support vector permutation and access

2023-11-17 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112602 --- Comment #1 from Antoni --- Created attachment 56627 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56627=edit Patch

[Bug ipa/112601] [11/12/13/14 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Known to fail|

[Bug jit/112602] New: Support vector permutation and access

2023-11-17 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112602 Bug ID: 112602 Summary: Support vector permutation and access Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit

[Bug libstdc++/112596] GCC regex error in Opentelemetry C++

2023-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112596 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-11-17

[Bug ipa/112601] New: ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2023-11-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
ibsanitizer --disable-libstdcxx-pch --enable-languages=c,c++ --disable-libgomp --disable-libquadmath --disable-libvtv CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231117 (experimental) (GCC)

[Bug c++/106650] [C++23] P2280 - Using unknown references in constant expressions

2023-11-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106650 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2023-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112600 --- Comment #2 from Jonathan Wakely --- For similar saturating subtraction functions: unsigned sub_sat(unsigned x, unsigned y) noexcept { unsigned z; if (!__builtin_sub_overflow(x, y, )) return z; return 0; } unsigned

[Bug middle-end/112600] Failed to optimize saturating addition using __builtin_add_overflow

2023-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112600 --- Comment #1 from Jonathan Wakely --- Similar results for aarch64 with GCC: add_sat(unsigned int, unsigned int): addsw0, w0, w1 bcs .L7 ret .L7: mov w0, -1 ret add_sat2(unsigned int,

[Bug middle-end/112600] New: Failed to optimize saturating addition using __builtin_add_overflow

2023-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112600 Bug ID: 112600 Summary: Failed to optimize saturating addition using __builtin_add_overflow Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112599 --- Comment #1 from Patrick O'Neill --- Related issues: 128: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 256: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 512: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 1024:

[Bug target/112598] RISC-V regression testsuite errors with rv64gcv_zvl512b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 --- Comment #1 from Patrick O'Neill --- Related issues: 128: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 256: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 512: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 1024:

[Bug target/112597] RISC-V regression testsuite errors with rv64gcv_zvl256b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 --- Comment #1 from Patrick O'Neill --- Related issues: 128: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 256: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 512: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 1024:

[Bug target/112583] RISC-V regression testsuite errors with rv64gcv_zvl128b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 --- Comment #1 from Patrick O'Neill --- Related issues: 128: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 256: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 512: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 1024:

[Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112599 Bug ID: 112599 Summary: RISC-V regression testsuite errors with rv64gcv_zvl1024b Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112598] New: RISC-V regression testsuite errors with rv64gcv_zvl512b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598 Bug ID: 112598 Summary: RISC-V regression testsuite errors with rv64gcv_zvl512b Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112597] New: RISC-V regression testsuite errors with rv64gcv_zvl256b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597 Bug ID: 112597 Summary: RISC-V regression testsuite errors with rv64gcv_zvl256b Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112578] LoongArch: Wrong code -with -mlsx -fno-fp-int-builtin-inexact

2023-11-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112578 Xi Ruoyao changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/112596] New: GCC regex error in

2023-11-17 Thread svraghavan7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112596 Bug ID: 112596 Summary: GCC regex error in Product: gcc Version: 9.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug middle-end/112552] [14 Regression] ICE: in expand_insn, at optabs.cc:8305

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #8 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:231bb992592a9e1bd7ce6583131acb1874c8e34e commit r14-5564-g231bb992592a9e1bd7ce6583131acb1874c8e34e Author: Robin Dapp Date: Thu

[Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with on internal compiler error: in expand_insn, at optabs.cc:8305 after g:01c18f58d37865d5f3bbe93e666183b54ec608c7

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 --- Comment #12 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:231bb992592a9e1bd7ce6583131acb1874c8e34e commit r14-5564-g231bb992592a9e1bd7ce6583131acb1874c8e34e Author: Robin Dapp Date: Thu

[Bug middle-end/112584] Suboptimal stack usage on third memcpy

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112584 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/112590] structural constexpr class fails to instantiate

2023-11-17 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590 --- Comment #3 from Janez Zemva --- Sorry for my last comment. I have prepared a more involved example: https://github.com/user1095108/ca/blob/master/consttests.cpp If test(); is commented out, everything compiles, otherwise not.

[Bug c++/112590] structural constexpr class fails to instantiate

2023-11-17 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590 --- Comment #2 from Janez Zemva --- Very nice, but if I write: int main() { static constexpr S<10> s; return 0; } there will still be a compile error.

[Bug middle-end/112589] man gcc does not specify the default behavior of -fcf-protection when used without arguments

2023-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112589 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/112590] structural constexpr class fails to instantiate

2023-11-17 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590 Mital Ashok changed: What|Removed |Added CC||mital at mitalashok dot co.uk ---

[Bug c++/112595] New: ICE on invalid code: Literal class NTTP aggregate initialized with self-referential pointer

2023-11-17 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112595 Bug ID: 112595 Summary: ICE on invalid code: Literal class NTTP aggregate initialized with self-referential pointer Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/112594] New: Non-type template parameter created with converting constructor sometimes has original type

2023-11-17 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112594 Bug ID: 112594 Summary: Non-type template parameter created with converting constructor sometimes has original type Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug libstdc++/112591] variant allows for creating multiple empty objects at same address

2023-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112591 --- Comment #2 from Jonathan Wakely --- Ug. The C++20 behaviour is correct, but fixing it for C++17 is an ABI change. I think we need to do it though. It should work to change the C++17 variant to use a union of __aligned_membuf and

[Bug libstdc++/112593] New: FAIL: 26_numerics/headers/cmath/equivalent_functions.cc on Solaris 11.3

2023-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112593 Bug ID: 112593 Summary: FAIL: 26_numerics/headers/cmath/equivalent_functions.cc on Solaris 11.3 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/112592] New: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216)

2023-11-17 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112592 Bug ID: 112592 Summary: FAIL: c-c++-common/pr111309-1.c -std=gnu++14 (internal compiler error: in expand_fn_using_insn, at internal-fn.cc:216) Product: gcc

[Bug libstdc++/112591] variant allows for creating multiple empty objects at same address

2023-11-17 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112591 --- Comment #1 from Barry Revzin --- Basically, in C++17, Sub looks like this: struct Sub17 : Empty { aligned_membuf storage; unsigned char index; }; But in C++20 it turns into: struct Sub20 : Empty { union { Empty storage; };

[Bug libstdc++/112591] New: variant allows for creating multiple empty objects at same address

2023-11-17 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112591 Bug ID: 112591 Summary: variant allows for creating multiple empty objects at same address Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112590] New: structural constexpr class fails to instantiate

2023-11-17 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590 Bug ID: 112590 Summary: structural constexpr class fails to instantiate Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/107571] Missing fallthrough attribute diagnostics

2023-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107571 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/107571] Missing fallthrough attribute diagnostics

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107571 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:52eedfa00960f2d255ec542626e3531a65aa8bb8 commit r14-5561-g52eedfa00960f2d255ec542626e3531a65aa8bb8 Author: Jakub Jelinek Date:

[Bug other/112589] New: man gcc does not specify the default behavior of -fcf-protection when used without arguments

2023-11-17 Thread ago at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112589 Bug ID: 112589 Summary: man gcc does not specify the default behavior of -fcf-protection when used without arguments Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug c++/112588] New: ICE in make_decl_rtl when returning str literal when string header imported in module

2023-11-17 Thread nickbegg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112588 Bug ID: 112588 Summary: ICE in make_decl_rtl when returning str literal when string header imported in module Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b

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

[Bug tree-optimization/83171] __builtin_popcountl ((unsigned long long)unsigned_var) is not being optimized to __builtin_popcount (unsigned_var)

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83171 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6dd4c703be17fa5dd56136d067e7fdc4a61584b3 commit r14-5557-g6dd4c703be17fa5dd56136d067e7fdc4a61584b3 Author: Jakub Jelinek Date:

[Bug tree-optimization/112566] Some ctz/popcount/parity/ffs optimizations

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112566 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6dd4c703be17fa5dd56136d067e7fdc4a61584b3 commit r14-5557-g6dd4c703be17fa5dd56136d067e7fdc4a61584b3 Author: Jakub Jelinek Date:

[Bug tree-optimization/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #48 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:172a72da368146e0fe34194020eb7a6636db4438 commit r14-5556-g172a72da368146e0fe34194020eb7a6636db4438 Author: Jakub Jelinek Date:

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Bug 112281 depends on bug 112585, which changed state. Bug 112585 Summary: [14 Regression] wrong code at -O3 on x86_64-linux-gnu since r14-5444 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585 What|Removed

[Bug tree-optimization/112585] [14 Regression] wrong code at -O3 on x86_64-linux-gnu since r14-5444

2023-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/112585] [14 Regression] wrong code at -O3 on x86_64-linux-gnu since r14-5444

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:04abafe9831f6867af1211ecae853ff373235b2d commit r14--g04abafe9831f6867af1211ecae853ff373235b2d Author: Richard Biener Date:

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Richard Biener changed: What|Removed |Added Summary|[12/13 Regression] wrong|[12/13/14 Regression] wrong

[Bug target/111657] Memory copy with structure assignment from named address space should be improved

2023-11-17 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657 --- Comment #9 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > I'd say it is a user error to invoke memcpy/memset etc. with pointers to > non-default address spaces, and for aggregate copies the middle-end should > ensure

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-17 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #13 from Jorn Wolfgang Rennecke --- Before we can consider any costs, we first have to know what they are. Is there any manual for a hardware implementation that specifies costs?

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-17 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||amylaar at gcc dot gnu.org

[Bug target/53372] [avr] Section attribute ignored with address space

2023-11-17 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53372 Georg-Johann Lay changed: What|Removed |Added Keywords||addr-space Target Milestone|---

[Bug target/53372] [avr] Section attribute ignored with address space

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53372 --- Comment #2 from CVS Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:adb1f8b0eda99e8a1d21bda5955cbe1df5517e63 commit r13-8080-gadb1f8b0eda99e8a1d21bda5955cbe1df5517e63 Author: Georg-Johann

[Bug c++/112587] -save-temps with p1689 dep output causes null ptr dereference

2023-11-17 Thread nickbegg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112587 --- Comment #2 from Nick Begg --- Created attachment 56621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56621=edit Full output from invocation

[Bug c++/112587] -save-temps with p1689 dep output causes null ptr dereference

2023-11-17 Thread nickbegg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112587 --- Comment #1 from Nick Begg --- Created attachment 56620 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56620=edit preprocessed source

[Bug c++/112587] New: -save-temps with p1689 dep output causes null ptr dereference

2023-11-17 Thread nickbegg at gmail dot com via Gcc-bugs
uses a crash. It seems to crash before a bug report is written out. This is the version - GNU C++23 (GCC) version 14.0.0 20231117 (experimental) (x86_64-pc-linux-gnu) (git rev ba3f5b8465ef7b278ea33ff94cd85b9638058635) This is the cmdline used to launch gcc (launched from cmake/ninja) - /home/nic

[Bug target/111657] Memory copy with structure assignment from named address space should be improved

2023-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/53372] [avr] Section attribute ignored with address space

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53372 --- Comment #1 from CVS Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:68221c54a9752dbf131c231413edfd21046f8dad commit r14-5552-g68221c54a9752dbf131c231413edfd21046f8dad Author: Georg-Johann Lay

[Bug target/112578] LoongArch: Wrong code -with -mlsx -fno-fp-int-builtin-inexact

2023-11-17 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112578 --- Comment #2 from chenglulu --- (In reply to Xi Ruoyao from comment #1) > I've made a patch and it's under testing. > > I've seen some "random" gcc.dg/torture/builtin-fp-int-inexact.c failures > recently but maybe it's not related, we don't

[Bug target/112578] LoongArch: Wrong code -with -mlsx -fno-fp-int-builtin-inexact

2023-11-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112578 Xi Ruoyao changed: What|Removed |Added Last reconfirmed||2023-11-17 See Also|

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs) since r14-4661

2023-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug tree-optimization/112585] wrong code at -O3 on x86_64-linux-gnu since r14-5444

2023-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585 Richard Biener changed: What|Removed |Added Blocks||112281 Version|unknown

[Bug tree-optimization/112585] wrong code at -O3 on x86_64-linux-gnu since r14-5444

2023-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585 --- Comment #2 from Richard Biener --- Confirmed. In .optimized all loops are unrolled and we have e.0_103 = e; _105 = (int) e.0_103; a[2] = _105; ... _7 = a[2]; if (_7 != 1) goto ; [0.00%] else goto ; [100.00%]

[Bug tree-optimization/112585] wrong code at -O3 on x86_64-linux-gnu since r14-5444

2023-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|wrong code at

[Bug fortran/112586] New: [F2023] Add "A statement shall not have more than one million characters." warning

2023-11-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112586 Bug ID: 112586 Summary: [F2023] Add "A statement shall not have more than one million characters." warning Product: gcc Version: 14.0 Status: UNCONFIRMED

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

2023-11-17 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231117 (experimental) (GCC) [564] % [564] % gcctk -O2 small.c; ./a.out [565] % [565] % gcctk -O3 small.c [566] % ./a.out Aborted [567

[Bug middle-end/112572] [14 regression] LLVM miscompiled since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112572 --- Comment #7 from Jakub Jelinek --- In any case, it would be useful to narrow it to a single CU, if you know libLLVMCodeGen.so.17 is bad and have trees built by good vs. bad revision, take the link line of that library, amend all .o objects

[Bug tree-optimization/112584] New: Suboptimal stack usage on third memcpy

2023-11-17 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112584 Bug ID: 112584 Summary: Suboptimal stack usage on third memcpy Product: gcc Version: 13.2.1 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug middle-end/112581] [14 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (generated code hangs)

2023-11-17 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581 --- Comment #3 from Uroš Bizjak --- (In reply to Andrew Pinski from comment #1) > It might be one of the x86 specific target patches ... I don't think so, these patches deal specifically with high registers, and: $ grep %.h pr112581.s finds

[Bug target/111449] memcmp (p,q,16) == 0 can be optimized better on ppc64 with vector comparison instructions

2023-11-17 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111449 HaoChen Gui changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/111449] memcmp (p,q,16) == 0 can be optimized better on ppc64 with vector comparison instructions

2023-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111449 --- Comment #3 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:cd295a80c91040fd4d826528c8e8e07fe909ae62 commit r14-5548-gcd295a80c91040fd4d826528c8e8e07fe909ae62 Author: Haochen Gui Date: Fri

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 Kostadin Shishmanov changed: What|Removed |Added Attachment #56602|0 |1 is obsolete|

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 Kostadin Shishmanov changed: What|Removed |Added Attachment #56603|0 |1 is obsolete|

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 Kostadin Shishmanov changed: What|Removed |Added Attachment #56614|0 |1 is obsolete|

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 Kostadin Shishmanov changed: What|Removed |Added Attachment #56613|0 |1 is obsolete|

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 --- Comment #11 from Kostadin Shishmanov --- I think the gcc builds might be a bit more different than just the commit reverted, so I am going to redo everything and upload the attachments again with just that difference.

[Bug target/112583] New: RISC-V regression testsuite errors with rv64gcv_zvl128b

2023-11-17 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 Bug ID: 112583 Summary: RISC-V regression testsuite errors with rv64gcv_zvl128b Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 --- Comment #10 from Kostadin Shishmanov --- Created attachment 56614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56614=edit dump of the first bad pass with the commit reverted

[Bug rtl-optimization/112568] [14 Regression] Miscompilation of radeonsi (mesa) with -march=raptorlake (-mavx) since r14-5355-g3cd3a09b3f91a1

2023-11-17 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112568 --- Comment #9 from Kostadin Shishmanov --- Created attachment 56613 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56613=edit dump of the first bad pass with the problematic commit