[Bug tree-optimization/113301] [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113301 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug tree-optimization/113297] during GIMPLE pass: esra ICE: in smallest_mode_for_size, at stor-layout.cc:356 with _BitInt() with -fstack-check=generic

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113297 --- Comment #2 from Richard Biener --- another option might be to punt for _BitInt

[Bug target/113296] [14 Regression] SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 Richard Biener changed: What|Removed |Added Summary|SPEC 2006 434.zeusmp|[14 Regression] SPEC 2006

[Bug c++/113303] New: One can assign to const reference in a template partial specialization

2024-01-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113303 Bug ID: 113303 Summary: One can assign to const reference in a template partial specialization Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: norma

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #6 from JuzheZhong --- I have tried generic-ooo: https://compiler-explorer.com/z/44dcePczz There are still a few vectorized codes in the last couple lines of assembler: vsetivlizero,4,e32,m1,ta,ma addwa

[Bug tree-optimization/113302] `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113302 --- Comment #2 from Andrew Pinski --- This should also optimize to that: ``` int j(int x) { int t = x == -1; int t1 = x == 1; return t | -t1; } ```

[Bug tree-optimization/113302] `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113302 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug tree-optimization/113302] New: `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113302 Bug ID: 113302 Summary: `x == 1 ? 1 : (x == -1 ? -1 : 0)` should be optimized to `((unsigned)t) + 1 <= 2 ? 0` Product: gcc Version: 14.0 Status: UNCONFIRMED Ke

[Bug tree-optimization/113301] [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113301 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4 See Also|

[Bug tree-optimization/113301] New: [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12

2024-01-09 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113301 Bug ID: 113301 Summary: [12/13/14 Regression] Missed optimization: (1/(x+1))/2 => 0 since gcc-12 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/113100] [14 regression] many strub tests fail after r14-6737-g4e0a467302fea5

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113100 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/113156] [11/12/13/14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 --- Comment #7 from Andrew Pinski --- Created attachment 57021 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57021&action=edit Patch which seems to fix it I cannot test this patch fully but this seems to fix it. Signed-off-by: Andrew P

[Bug target/111480] new test case g++.target/powerpc/altivec-19.C fails

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111480 Kewen Lin changed: What|Removed |Added Component|testsuite |target Keywords|testsuite-fail

[Bug testsuite/112751] [14 regression] gcc.target/powerpc/pcrel-sibcall-1.c fails after r14-5628-g53ba8d669550d3

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112751 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/112606] [14 Regression] powerpc64le-linux-gnu: 'FAIL: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp'

2024-01-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112606 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/113156] [11/12/13/14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0 Known to work|

[Bug target/113156] [14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-01-10 Status|UNCONFIRM

[Bug testsuite/111480] new test case g++.target/powerpc/altivec-19.C fails

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111480 --- Comment #1 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:6660904c3f5872262f466b5cbbd48fb11e9fe966 commit r14-7091-g6660904c3f5872262f466b5cbbd48fb11e9fe966 Author: Kewen Lin Date: Tue Jan 9

[Bug testsuite/112751] [14 regression] gcc.target/powerpc/pcrel-sibcall-1.c fails after r14-5628-g53ba8d669550d3

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112751 --- Comment #3 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:57792c33042d17605a6b6ad9027f5e6d5199eb26 commit r14-7092-g57792c33042d17605a6b6ad9027f5e6d5199eb26 Author: Kewen Lin Date: Tue Jan 9

[Bug target/112606] [14 Regression] powerpc64le-linux-gnu: 'FAIL: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp'

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112606 --- Comment #6 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cf5f6a048e376ab0d2f7bc283c158605e1166061 commit r14-7090-gcf5f6a048e376ab0d2f7bc283c158605e1166061 Author: Kewen Lin Date: Tue Jan 9

[Bug target/113156] [14 Regression] AVR build broken due to ICE while compiling libgcc, started with r14-6201-gf0a90c7d7333fc

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 --- Comment #4 from Andrew Pinski --- Created attachment 57020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57020&action=edit preprocessed source Exact command line: ``` /home/apinski/src/upstream-full-cross/gcc/objdir-avrr/./gcc/xgcc -

[Bug middle-end/113100] [14 regression] many strub tests fail after r14-6737-g4e0a467302fea5

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113100 --- Comment #3 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cb62101787555b7b32607b431fdfe6fcc8f3830f commit r14-7089-gcb62101787555b7b32607b431fdfe6fcc8f3830f Author: Kewen Lin Date: Tue Jan 9

[Bug tree-optimization/113104] Suboptimal loop-based slp node splicing across iterations

2024-01-09 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113104 Feng Xue changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/113300] GCC rejects valid program involving copy list initialization A a = {} of a class with explicit and non explicit default constructors

2024-01-09 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113300 --- Comment #4 from Jason Liam --- (In reply to Andrew Pinski from comment #1) > There is a C++ defect report in this area even ... Looks like that gcc and clang are non-compliant here as per this discussion in CWG issue list: https://github.co

[Bug c++/113300] GCC rejects valid program involving copy list initialization A a = {} of a class with explicit and non explicit default constructors

2024-01-09 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113300 Jason Liam changed: What|Removed |Added Summary|GCC rejects valid program |GCC rejects valid program

[Bug c++/113300] GCC rejects valid program involving explicit and non explicit default constructors

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113300 Andrew Pinski changed: What|Removed |Added Summary|GCC rejects valid program |GCC rejects valid program

[Bug c++/113300] GCC rejects valid program involving explicit and non explicit default constructors

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113300 --- Comment #1 from Andrew Pinski --- There is a C++ defect report in this area even ...

[Bug c++/113300] New: GCC rejects valid program involving explicit and non explicit default constructors

2024-01-09 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113300 Bug ID: 113300 Summary: GCC rejects valid program involving explicit and non explicit default constructors Product: gcc Version: 14.0 Status: UNCONFIRMED Sever

[Bug debug/99178] Emit .debug_names

2024-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99178 --- Comment #5 from Tom Tromey --- (In reply to David Blaikie from comment #4) I don't remember filing this bug. At the time maybe I thought it would be worthwhile to have "end to end" .debug_names generation, that is, to try to have the index

[Bug debug/99178] Emit .debug_names

2024-01-09 Thread dblaikie at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99178 David Blaikie changed: What|Removed |Added CC||dblaikie at gmail dot com --- Comment #4

[Bug target/113247] RISC-V: Performance bug in SHA256 after enabling RVV vectorization

2024-01-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247 --- Comment #5 from JuzheZhong --- (In reply to Robin Dapp from comment #4) > The other option is to assert that all tune models have at least a vector > cost model rather than NULL... But not falling back to the builtin costs > still makes sen

[Bug target/113289] Error caused by attribute __always_inline__

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113289 --- Comment #2 from Andrew Pinski --- Note the improved diagnostic for the error message is PR 90798 (and PR 82094).

[Bug libstdc++/113294] constexpr error from accessing inactive union member in basic_string after move assignment

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113294 --- Comment #1 from Andrew Pinski --- Note this might be a front-end issue ...

[Bug c++/113272] Wrong specialization of class template selected

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113272 --- Comment #3 from Andrew Pinski --- Ok, this behavior is interesting: ``` int g = 0; int g1 = 0; template struct A { void f() { g++; } }; template < const auto * a> struct A{ void f(){ g1++; } }; int x = 0; const int x1 = 0; int main()

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #7 from Jonathan Wakely --- Actually, if we don't care about upstream any more, we can improve the pre-C++20 version too: template using __are_random_access_iterators = std::__or_>...>;

[Bug libstdc++/113299] New: [C++23] Implement P2408R5, Ranges iterators as inputs to non-Ranges algorithms

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113299 Bug ID: 113299 Summary: [C++23] Implement P2408R5, Ranges iterators as inputs to non-Ranges algorithms Product: gcc Version: unknown Status: UNCONFIRMED Severi

[Bug c++/113298] RFE: allow suppressing warnings for void * conversions with -fpermissive

2024-01-09 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113298 --- Comment #2 from H. Peter Anvin --- You're not wrong per se. Arguably the problem (and many others) would be better solved by allowing user-specified conversations that are not member functions. In that case one could do: // Set the properti

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #6 from Jonathan Wakely --- The proposed change will compile very slowly, something like this would be better: --- a/libstdc++-v3/include/pstl/execution_impl.h +++ b/libstdc++-v3/include/pstl/execution_impl.h @@ -19,13 +19,24 @@ nam

[Bug c++/113298] RFE: allow suppressing warnings for void * conversions with -fpermissive

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113298 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug tree-optimization/113265] [11/12/13/14 Regression] Missed optimization for redundancy computation elimination may be due to constant propagation about 0 too late

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/113265] [11/12/13/14 Regression] Missed optimization for redundancy computation elimination may be due to constant propagation about 0 too late

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113265 Andrew Pinski changed: What|Removed |Added Known to fail||8.1.0 Summary|[Regression] M

[Bug libstdc++/113258] Pre-C++17 code that replaces malloc/free crashes when mixed with post-C++17 code that uses the align_val_t variants of new/delete

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113258 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug tree-optimization/113144] [14 regression] ICE when building dpkg-1.21.15 in verify_dominators (error: dominator of 9 should be 48, not 12)

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113144 --- Comment #15 from Tamar Christina --- (In reply to Martin Jambor from comment #13) > The testcase below segfaults when compiled with master configured with > release checking. However, it is very likely affected by this bug (it > fails with

[Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113010 Andrew Pinski changed: What|Removed |Added Target Milestone|13.3|---

[Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression

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

[Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113010 --- Comment #4 from Andrew Pinski --- (In reply to Greg McGary from comment #3) > This fixes it, though I would like second look from someone more familiar > with the combiner: I almost sure this is still an issue with WORD_REGISTER_OPERATIONS

[Bug c++/110343] [C++26] P2558R2 - Add @, $, and ` to the basic character set

2024-01-09 Thread emsr at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 --- Comment #6 from Ed Smith-Rowland --- Created attachment 57019 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57019&action=edit Add a flag to only allow new chars in c++26. Here s a patch that adds and checks a flag in libcpp and also

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #23 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:07d09f0af100a9873982fba663800d87bfd73585 commit r14-7077-g07d09f0af100a9873982fba663800d87bfd73585 Author: waffl3x Date: Sun Jan

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #24 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:bfad006b88ec26e91b7edf9cf9ad4aaf9b8a9727 commit r14-7078-gbfad006b88ec26e91b7edf9cf9ad4aaf9b8a9727 Author: waffl3x Date: Sun Jan

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #22 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f8bf6a69e260a5f1aa0dbf89a6e4bcdf1a24af5d commit r14-7076-gf8bf6a69e260a5f1aa0dbf89a6e4bcdf1a24af5d Author: waffl3x Date: Sun Jan

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #20 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f9fbf93dc82525a0f54a2293b7ec92d65776bf19 commit r14-7074-gf9fbf93dc82525a0f54a2293b7ec92d65776bf19 Author: waffl3x Date: Sun Jan

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2024-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #21 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fbc980d85149409ce62c22f48d3693113803929e commit r14-7075-gfbc980d85149409ce62c22f48d3693113803929e Author: waffl3x Date: Sun Jan

[Bug target/113010] [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression

2024-01-09 Thread gkm at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113010 Greg McGary changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE

[Bug libstdc++/112477] [13/14 Regression] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread fdumont at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org --

[Bug target/112886] We need a new print_operand output modifier for vector double

2024-01-09 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112886 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > I narrored down to 2 commits which introduced this: > r14-6177-g724a873b145d20 works > r14-6179-gc1c267dfcdccd5 fails I am 99% sure it was introduced by r14-617

[Bug c++/113298] RFE: allow suppressing warnings for void * conversions with -fpermissive

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113298 --- Comment #1 from Jonathan Wakely --- (In reply to H. Peter Anvin from comment #0) > Having individual -W options for the various -fpermissive events would allow > the programmer to pick what extensions to allow unconditionally, which to > war

[Bug c++/113298] New: RFE: allow suppressing warnings for void * conversions with -fpermissive

2024-01-09 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113298 Bug ID: 113298 Summary: RFE: allow suppressing warnings for void * conversions with -fpermissive Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 --- Comment #7 from Andrew Pinski --- I narrored down to 2 commits which introduced this: r14-6177-g724a873b145d20 works r14-6179-gc1c267dfcdccd5 fails

[Bug libstdc++/112477] [13/14 Regression] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 --- Comment #7 from Giuseppe D'Angelo --- Hi, To be honest I didn't even notice it was a regression, but you're absolutely right, I can't reproduce my problem with GCC 12, only with GCC 13 (both in C++17 mode).

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

2024-01-09 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 --- Comment #10 from dave.anglin at bell dot net --- On 2024-01-09 2:56 p.m., dave.anglin at bell dot net wrote: > I have to think issue is with get_identifier().  Will have to do another build > to debug further. The new code in process_pending_

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

2024-01-09 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 --- Comment #9 from dave.anglin at bell dot net --- On 2024-01-09 1:00 p.m., jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 > > --- Comment #8 from Jakub Jelinek --- > Note, normally TREE_SYMBOL_REFERENCED

[Bug c++/110343] [C++26] P2558R2 - Add @, $, and ` to the basic character set

2024-01-09 Thread emsr at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 --- Comment #5 from Ed Smith-Rowland --- Probably should. I'll see how to do that. I might have to set up the lang flag and all that unless someone beats me to it. I was going to say that the error on the stringification is possibly correct. Th

[Bug ipa/113293] Incorrect code after inlining function containing extended asm

2024-01-09 Thread dories.spirits_0p at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 --- Comment #4 from KBDeveloper --- (In reply to Alexander Monakov from comment #3) > (In reply to KBDeveloper from comment #2) > > > > Ah, that makes sense. I had assumed that taking the address of arg would > > force gcc to store it in memory

[Bug libstdc++/113283] missing C++26 freestanding headers.

2024-01-09 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283 Christopher Di Bella changed: What|Removed |Added CC||cjdb.ns at gmail dot com --- Com

[Bug tree-optimization/113144] [14 regression] ICE when building dpkg-1.21.15 in verify_dominators (error: dominator of 9 should be 48, not 12)

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113144 --- Comment #14 from Tamar Christina --- Yeah I'll test. Richi approved the fix today and I'll commit after a final regtest

[Bug tree-optimization/113297] during GIMPLE pass: esra ICE: in smallest_mode_for_size, at stor-layout.cc:356 with _BitInt() with -fstack-check=generic

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113297 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug tree-optimization/113297] during GIMPLE pass: esra ICE: in smallest_mode_for_size, at stor-layout.cc:356 with _BitInt() with -fstack-check=generic

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113297 Jakub Jelinek changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Summary|GC ICE with C++

[Bug c++/110343] [C++26] P2558R2 - Add @, $, and ` to the basic character set

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4

[Bug c++/110343] [C++26] P2558R2 - Add @, $, and ` to the basic character set

2024-01-09 Thread emsr at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 --- Comment #3 from Ed Smith-Rowland --- Created attachment 57018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57018&action=edit Get the raw string literal to compile. I just added the new characters to lex_raw_string and got const cha

[Bug ipa/113291] [14 Regression] compilation never (?) finishes with recursive always_inline functions at -O and above

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113291 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-01-09 Ever confirmed|0

[Bug c++/110343] [C++26] P2558R2 - Add @, $, and ` to the basic character set

2024-01-09 Thread emsr at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 --- Comment #2 from Ed Smith-Rowland --- The example in the paper: -- /* gcc -E charset.c > charhelp.c gcc -o charhelp charhelp.c */ #include #define STR(x) #x int main() { printf("%s

[Bug ipa/113293] Incorrect code after inlining function containing extended asm

2024-01-09 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug ada/112958] [12/13/14 regression] s-exnllf.ads etc. don't compile on 32-bit FreeBSD/x86

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112958 --- Comment #4 from Eric Botcazou --- Someone motivated enough should add a specific libgnat/s-dorepr__freebsd.adb unit where Rep64 is an array of two Interfaces.Unsigned_64 and the AND operation on line 88 is performed on the first component.

[Bug ada/112958] [12/13/14 regression] s-exnllf.ads etc. don't compile on 32-bit FreeBSD/x86

2024-01-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112958 Eric Botcazou changed: What|Removed |Added Summary|[14 regression] |[12/13/14 regression]

[Bug tree-optimization/110603] [14 Regression] GCC, ICE: internal compiler error: in verify_range, at value-range.cc:1104 since r14-255

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110603 Jakub Jelinek changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug tree-optimization/113297] New: during GIMPLE pass: esra ICE: in smallest_mode_for_size, at stor-layout.cc:356 with _BitInt() with -fstack-check=generic

2024-01-09 Thread zsojka at seznam dot cz via Gcc-bugs
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-7023-20240109134751-gab6224dfe12-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20240109 (experimental) (GCC)

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 --- Comment #8 from Jakub Jelinek --- Note, normally TREE_SYMBOL_REFERENCED should be set through something like output_addr_const (or whatever else) -> assemble_name -> assemble_name_resolve -> mark_referenced. Why doesn't trigger that on PA?

[Bug ipa/113291] [14 Regression] compilation never (?) finishes with recursive always_inline functions at -O and above

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113291 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-09 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 --- Comment #4 from Alex Coplan --- So debugging the PGO/LTO failure of cactuBSSN (from SPEC CPU 2017) shows that we can miss updating uses immediately following an stp insn in the case that we insert a new stp insn (as opposed to updating an ex

[Bug target/113296] New: SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 Bug ID: 113296 Summary: SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto Product: gcc Version: 14.0 Status: UNCONFIRMED Sev

[Bug target/113295] [14 Regression] SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113295 Andrew Pinski changed: What|Removed |Added Summary|SPEC 2006 416.gamess|[14 Regression] SPEC 2006

[Bug target/113295] New: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113295 Bug ID: 113295 Summary: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto Product: gcc Version: 14.0 Status: UNCONFIRMED S

[Bug ipa/113293] Incorrect code after inlining function containing extended asm

2024-01-09 Thread dories.spirits_0p at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 --- Comment #2 from KBDeveloper --- (In reply to Andrew Pinski from comment #1) > The inline-asm is not marking as clobbering memory. > > In this case since you just pass the address of the variable, gcc does not > know the inline-asm will read

[Bug tree-optimization/113144] [14 regression] ICE when building dpkg-1.21.15 in verify_dominators (error: dominator of 9 should be 48, not 12)

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113144 --- Comment #13 from Martin Jambor --- The testcase below segfaults when compiled with master configured with release checking. However, it is very likely affected by this bug (it fails with checking compiler like testcases for this issue do) a

[Bug ipa/113293] Incorrect code after inlining function containing extended asm

2024-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Keywords|

[Bug libstdc++/113294] New: constexpr error from accessing inactive union member in basic_string after move assignment

2024-01-09 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113294 Bug ID: 113294 Summary: constexpr error from accessing inactive union member in basic_string after move assignment Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/113249] RISC-V: regression testsuite errors -mtune=generic-ooo

2024-01-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113249 --- Comment #4 from Robin Dapp --- > One of the reasons I've been testing things with generic-ooo is because > generic-ooo had initial vector pipelines defined. For cleaning up the > scheduler, I copied over the generic-ooo pipelines into generi

[Bug ipa/113293] New: Incorrect code after inlining function containing extended asm

2024-01-09 Thread dories.spirits_0p at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113293 Bug ID: 113293 Summary: Incorrect code after inlining function containing extended asm Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/113225] bpf: attribute((kernel_helper)) adds inconsistent BTF extern function decl entry.

2024-01-09 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113225 Jose E. Marchesi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/103524] [meta-bug] modules issue

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99187, which changed state. Bug 99187 Summary: [modules] ICE exporting thread_local static local variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99187 What|Removed |Added ---

[Bug c++/99187] [modules] ICE exporting thread_local static local variable

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99187 Patrick Palka changed: What|Removed |Added Assignee|ppalka at gcc dot gnu.org |nathanieloshead at gmail dot com

[Bug libstdc++/112477] [13/14 Regression] Assignment of value-initialized iterators differs from value-initialization

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Jonathan Wakely changed: What|Removed |Added Summary|Assignment of |[13/14 Regression]

[Bug c++/104234] ICE with -fmodules-ts and std::map/_Rb_tree

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104234 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Assignee|ppalka at g

[Bug c++/103524] [meta-bug] modules issue

2024-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 104234, which changed state. Bug 104234 Summary: ICE with -fmodules-ts and std::map/_Rb_tree https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104234 What|Removed |Added ---

[Bug c++/113292] New: [modules] internal error when compiling header to module containing static thread_local variable

2024-01-09 Thread nov.ondrej at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113292 Bug ID: 113292 Summary: [modules] internal error when compiling header to module containing static thread_local variable Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug rtl-optimization/113287] wrong code with __builtin_mul_overflow_p() and _BitInt() with -O3 -msse4

2024-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113287 --- Comment #4 from Tamar Christina --- Ok, definitely mine :) I've miss identified that the exit doesn't leave the loop. Quick hack fixes the issue. I'll work on a proper one tomorrow morning.

[Bug target/113059] [14 regression] fftw fails tests for -O3 -m32 -march=znver2 since r14-6210-ge44ed92dbbe9d4

2024-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113059 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/113012] [13 regression] ICE when building xorg-server with -fsanitize=undefined

2024-01-09 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 --- Comment #11 from Siddhesh Poyarekar --- Yes, I'll test and push the 13 backport by the end of the week if there are no reported regressions on trunk.

  1   2   3   >