[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 Andreas Krebbel changed: What|Removed |Added CC||shinwogud12 at gmail dot com ---

[Bug target/112665] I am getting incorrect output values at optimization level 2 in GCC for the s390x architecture.

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112665 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/112387] RISC-V: failed to SLP INT64 gather load

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112387 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/112387] RISC-V: failed to SLP INT64 gather load

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112387 --- Comment #3 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:e9f0af150358d93b4c4c5f65d662748ae87bd3d0 commit r14-6533-ge9f0af150358d93b4c4c5f65d662748ae87bd3d0 Author: Juzhe-Zhong Date: Thu Dec

[Bug target/110606] ICE output_operand: '%&' used without any local dynamic TLS references on powerpc64le-linux-gnu

2023-12-13 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110606 --- Comment #11 from Jeevitha --- Regarding the test case provided by Matthias Klose: Within the AllocMemory() routine, the compiler aimed to eliminate the entire if block but faced difficulties in removing references to the variable

[Bug tree-optimization/110640] [13 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since GCC-13 since r12-1653-gcb448ade74d

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110640 --- Comment #9 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9e20779a7d8e14e77df6efaeadc6bf3a001336ef commit r14-6532-g9e20779a7d8e14e77df6efaeadc6bf3a001336ef Author: Richard Biener Date:

[Bug tree-optimization/110640] [13 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since GCC-13 since r12-1653-gcb448ade74d

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110640 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/110640] [13 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since GCC-13 since r12-1653-gcb448ade74d

2023-12-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110640 Richard Biener changed: What|Removed |Added Known to work||14.0 Summary|[13/14

[Bug c++/112968] Valgrind error on libstdc++-v3/testsuite/18_support/comparisons/object/93479.cc

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

[Bug target/112904] [14 Regression] ICE in extract_insn, at recog.cc:2791 with -mxop since r14-4964-g7eed861e8ca3f5

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112904 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:585dc19ef051959d688e6ea89b41998600480ecb commit r14-6530-g585dc19ef051959d688e6ea89b41998600480ecb Author: Jakub Jelinek Date:

[Bug c++/112968] Valgrind error on libstdc++-v3/testsuite/18_support/comparisons/object/93479.cc

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112968 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7ff33c609a64319583223d6d39a89e971f993ecf commit r14-6529-g7ff33c609a64319583223d6d39a89e971f993ecf Author: Jakub Jelinek Date:

[Bug c/111153] RISC-V: Incorrect Vector cost model for reduction

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53 JuzheZhong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/111153] RISC-V: Incorrect Vector cost model for reduction

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53 --- Comment #6 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:5e0f67b84a615ba186ab234a9bc43df0df5a50b6 commit r14-6528-g5e0f67b84a615ba186ab234a9bc43df0df5a50b6 Author: Juzhe-Zhong Date: Thu Dec

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread 22s302h0659 at sonline20 dot sen.go.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 --- Comment #5 from 김대영 <22s302h0659 at sonline20 dot sen.go.kr> --- Thank you for your response. Naturally, I anticipated that the issue might be with the s390x architecture cross-compiler. However, unexpectedly, I was unaware that qemu was

[Bug target/113016] New: -mtls-dialect=gnu2 conflicts with -mfdpic but ICEs rather than gives an error

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113016 Bug ID: 113016 Summary: -mtls-dialect=gnu2 conflicts with -mfdpic but ICEs rather than gives an error Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/113015] New: ICE: verify_ssa failed: definition in block 12 does not dominate use in block 13 at -O with _BitInt()

2023-12-13 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113015 Bug ID: 113015 Summary: ICE: verify_ssa failed: definition in block 12 does not dominate use in block 13 at -O with _BitInt() Product: gcc Version: 14.0 Status:

[Bug target/113014] RISC-V: Redundant zeroing instructions in reduction due to r14-3998-g6223ea766daf7c

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113014 --- Comment #1 from JuzheZhong --- Richard S has a late combine PASS which is going to be merged in GCC-14. Since we generate this following RTL int split1: (insn 48 24 49 5 (set (reg:SI 149) (const_int 0 [0])) -1 (nil)) (insn

[Bug tree-optimization/113013] [12/13/14 regression] ICE in fold_convert_loc with -fsanitize=undefined

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013 --- Comment #3 from Andrew Pinski --- The use of __alloc_size__ here is definitely not well defined but GCC should NOT crash.

[Bug tree-optimization/113013] [12/13/14 regression] ICE in fold_convert_loc with -fsanitize=undefined

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4 --- Comment #2 from Andrew Pinski

[Bug c/113014] New: RISC-V: Redundant zeroing instructions in reduction

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113014 Bug ID: 113014 Summary: RISC-V: Redundant zeroing instructions in reduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/113013] [12/13/14 regression] ICE in fold_convert_loc with -fsanitize=undefined

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

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

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/113013] New: [12/13/14 regression] ICE in fold_convert_loc with -fsanitize=undefined

2023-12-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113013 Bug ID: 113013 Summary: [12/13/14 regression] ICE in fold_convert_loc with -fsanitize=undefined Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

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

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 --- Comment #3 from Andrew Pinski --- Note once we remove the -1, GCC does not ICE. I am 99% sure it is undefined to go one before the begining of the array, only one past the end of the array is well defined. Note I am not shocked that xorg

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

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Note I am not 100% sure the above code is well defined due to subtracting > one from the allocated array. and yes this represents exactly what the code does.

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

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

[Bug target/112871] [14 Regression] RISCV ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -01 rv32gc_zicond

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112871 Patrick O'Neill changed: What|Removed |Added CC||jeffreyalaw at gmail dot com ---

[Bug target/113001] [14 Regression] RISCV Zicond ICE: in extract_insn, at recog.cc:2812 with -O2 rv64gcv_zicond

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113001 --- Comment #1 from Patrick O'Neill --- Bisected to r14-3041-g18c453f0e63

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

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug middle-end/113012] New: [14 regression] ICE when building xorg-server with -fsanitize=undefined

2023-12-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012 Bug ID: 113012 Summary: [14 regression] ICE when building xorg-server with -fsanitize=undefined Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #7 from cqwrteur --- (In reply to Andrew Pinski from comment #5) > (In reply to cqwrteur from comment #4) > > (In reply to Andrew Pinski from comment #1) > > > Why are you building libstdc++ sources with clang? I doubt that is > >

[Bug c/113011] main declared with enumerated type is not accepted

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113011 --- Comment #4 from Andrew Pinski --- C23 working draft can be found at https://open-std.org/JTC1/SC22/WG14/www/docs/n3096.pdf .

[Bug c/113011] main declared with enumerated type is not accepted

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

[Bug c/113011] main declared with enumerated type is not accepted

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113011 --- Comment #2 from Andrew Pinski --- >From C99 draft: 5.1.2.2.1 Program startup The function called at program startup is named main.The implementation declares no prototype for this function. It shall be defined with a return type ofintand

[Bug c/113011] main declared with enumerated type is not accepted

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113011 --- Comment #1 from Andrew Pinski --- clang even errors out: :6:1: error: 'main' must return 'int' 6 | enum E main(){} | ^~ | int

[Bug c/113011] New: main declared with enumerated type is not accepted

2023-12-13 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113011 Bug ID: 113011 Summary: main declared with enumerated type is not accepted Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 --- Comment #4 from Edwin Lu --- (In reply to JuzheZhong from comment #3) > (In reply to Edwin Lu from comment #2) > > Re-bisected to r14-6197-g2e7abd09621 > > > > Full steps to reproduce: > > mkdir dump1 > > ./build-gcc-linux-stage2/gcc/xgcc

[Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 --- Comment #2 from Jonathan Wakely --- (In reply to Pavel Novikov from comment #0) > e.g. for `std::variant` the overload > set would be > > void F(std::monostate) {} > void F(bool) {} > void F(int64_t) {} > void F(double) {}

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 --- Comment #3 from JuzheZhong --- (In reply to Edwin Lu from comment #2) > Re-bisected to r14-6197-g2e7abd09621 > > Full steps to reproduce: > mkdir dump1 > ./build-gcc-linux-stage2/gcc/xgcc -B./build-gcc-linux-stage2/gcc/ > -march=rv64gcv

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #6 from Jonathan Wakely --- I think we can just change the declaration in unwind-cxx.h

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 Edwin Lu changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #2

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-13 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 --- Comment #11 from Hans-Peter Nilsson --- (In reply to Tamar Christina from comment #10) > Hi, > > It's not forgotten. I've agreed on a fix with the maintainers that should > solve a bunch of other (older) issues with copysign as well. > >

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/80283] [11/12/13/14 Regression] bad SIMD register allocation

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 --- Comment #38 from Andrew Pinski --- For aarch64, the test from comment #11 is so much worse on the trunk than in GCC 13.2.0.

[Bug libstdc++/112997] _Unwind_Exception conflicts with void*. failed to build with clang

2023-12-13 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Why are you building libstdc++ sources with clang? I doubt that is supported. GCC does not support WebAssembly backend

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 Andrew Pinski changed: What|Removed |Added CC||gkm at rivosinc dot com --- Comment

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

2023-12-13 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 Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/113009] [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 --- Comment #1 from Edwin Lu --- Found issue with bisection script. Currently re-bisecting

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

2023-12-13 Thread gkm at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113010 Bug ID: 113010 Summary: [RISCV] sign-extension lost in comparison with constant embedded in comma-op expression Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/113009] New: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests

2023-12-13 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113009 Bug ID: 113009 Summary: [14] RISC-V: gcc.c-torture/unsorted/dump-noaddr.c flakey tests Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/113008] New: Trivially default constructible requires default member initializer before the end of its enclosing class

2023-12-13 Thread barry.revzin at gmail dot com via Gcc-bugs
tly evaluates to false). Declaring v2 fails to compile entirely: opt/compiler-explorer/gcc-trunk-20231213/include/c++/14.0.0/type_traits:3284:7: required from 'constexpr const bool std::is_trivially_default_constructible_v >' 3284 | = __is_trivially_constructib

[Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 --- Comment #1 from Andrew Pinski --- Created attachment 56874 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56874=edit Full testcase Please next time attach the full testcase (or place it inline) instead of just linking to godbolt.

[Bug libstdc++/113007] New: `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not

2023-12-13 Thread paul.skeptic at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113007 Bug ID: 113007 Summary: `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not Product: gcc Version: 13.2.1 Status:

[Bug c++/101603] [meta-bug] pointer to member functions issues

2023-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 93740, which changed state. Bug 93740 Summary: Template base classes parametrized by pointer-to-member are amibiguous https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 What|Removed

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2023-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/55004] [meta-bug] constexpr issues

2023-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 93740, which changed state. Bug 93740 Summary: Template base classes parametrized by pointer-to-member are amibiguous https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 What|Removed

[Bug c++/99186] std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator of a enum

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99186 --- Comment #7 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d commit r14-6520-g35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d Author: Patrick Palka Date:

[Bug c++/104867] Base class matching ignores type of `auto` template parameter

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104867 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d commit r14-6520-g35ba3add7d0a9fc6ce955ba8ad82b0413e86ad7d Author: Patrick Palka Date:

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 --- Comment #6 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c822ad86984e752734b9c371f9cfef9330334ec4 commit r14-6519-gc822ad86984e752734b9c371f9cfef9330334ec4 Author: Patrick Palka Date:

[Bug middle-end/113006] New: OpenMP 5 - lvalue parsing support for map/to/from clause

2023-12-13 Thread jules at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113006 Bug ID: 113006 Summary: OpenMP 5 - lvalue parsing support for map/to/from clause Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libfortran/113005] New: 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts

2023-12-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113005 Bug ID: 113005 Summary: 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/113004] New: OpenMP 5 - structs are not mapped element-wise by default

2023-12-13 Thread jules at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113004 Bug ID: 113004 Summary: OpenMP 5 - structs are not mapped element-wise by default Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/112956] Valgrind errors on pr88974.c

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

[Bug preprocessor/112956] Valgrind errors on pr88974.c

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112956 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:819bc4f6700847068883eb862dfaed11f30db80b commit r14-6513-g819bc4f6700847068883eb862dfaed11f30db80b Author: Jakub Jelinek Date:

[Bug debug/96997] [10/11 Regression] step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96997 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:063564ecbfc618cd019f86216a0224e144effae1 commit r14-6511-g063564ecbfc618cd019f86216a0224e144effae1 Author: Jason Merrill Date:

[Bug rtl-optimization/113003] ICE: in expand_mult, at expmed.cc:3603 at -O with __builtin_mul_overflow_p() and _BitInt()

2023-12-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113003 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/112941] during GIMPLE pass: bitintlower ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2126 (gimple-lower-bitint.cc:2134) at -O with _BitInt()

2023-12-13 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112941 --- Comment #2 from Zdenek Sojka --- (In reply to Andrew Pinski from comment #1) > Confirmed. > > Slightly more reduced: > ``` > _BitInt (2049) b2049; > unsigned _BitInt (6384) b16384; > > void > foo (signed char t) > { > b2049 = b16384 *

[Bug rtl-optimization/113003] New: ICE: in expand_mult, at expmed.cc:3603 at -O with __builtin_mul_overflow_p() and _BitInt()

2023-12-13 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113003 Bug ID: 113003 Summary: ICE: in expand_mult, at expmed.cc:3603 at -O with __builtin_mul_overflow_p() and _BitInt() Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/113002] New: ICE in commit_one_edge_insertion, at cfgrtl.cc:2095 with new -finline-stringops

2023-12-13 Thread mjires at suse dot cz via Gcc-bugs
rithms: zlib zstd gcc version 14.0.0 20231213 (experimental) (GCC)

[Bug target/113001] New: [14 Regression] RISCV Zicond ICE: in extract_insn, at recog.cc:2812 with -O2 rv64gcv_zicond

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113001 Bug ID: 113001 Summary: [14 Regression] RISCV Zicond ICE: in extract_insn, at recog.cc:2812 with -O2 rv64gcv_zicond Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug fortran/112873] F2023 degree trig functions

2023-12-13 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #17 from Steve Kargl --- On Wed, Dec 13, 2023 at 05:36:55PM +, jvdelisle at gcc dot gnu.org wrote: > > Do we need any other test cases? > I think that we need not added any testcases. The degree trig function have been

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 --- Comment #4 from Ilya Leoshkevich --- Hi, Nina fixed this in v8.0.0 (https://gitlab.com/qemu-project/qemu/-/commit/54fce97cfcaf5463ee5f325bc1f1d4adc2772f38). The fix was backported to v7.2.2

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/112996] Improperly evaluated value of the s390x conditional expression

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112996 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 --- Comment #3 from Andreas Krebbel --- *** Bug 112996 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 Jakub Jelinek changed: What|Removed |Added Attachment #56868|0 |1 is obsolete|

[Bug debug/113000] New: Generate BTF always in early-finish regardless of CO-RE

2023-12-13 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113000 Bug ID: 113000 Summary: Generate BTF always in early-finish regardless of CO-RE Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/112986] s390x gcc O2, O3: Incorrect logic operation in < comparison with the same values

2023-12-13 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112986 Andreas Krebbel changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/112488] [14 Regression] ICE in make_ssa_name_fn with VLA inside type and inlining since r14-1142

2023-12-13 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112488 uecker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/112873] F2023 degree trig functions

2023-12-13 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873 --- Comment #16 from Jerry DeLisle --- (In reply to Steve Kargl from comment #15) --- snip --- > > Jerry, are you starting with the patch submitted by Harald that > fixes the doc issue. It seems 'gmake pdf', which is what I use > to check doc

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:33a3f85ee4b5bc562a84c6896294278e0a5ab160 commit r14-6509-g33a3f85ee4b5bc562a84c6896294278e0a5ab160 Author: Gaius Mulley Date:

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-12-13 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 --- Comment #9 from Arsen Arsenović --- removing EXTRA_HOST_FLAGS from the gettext targets fixed the build on my cfarm112. overall, I'm not sure overriding what subconfigures discover and adjust CC and CFLAGS with is a good idea. it seems

[Bug modula2/112921] module shortreal is missing

2023-12-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112921 --- Comment #2 from Gaius Mulley --- Created attachment 56869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56869=edit Proposed fix containing missing shortreal modules For completeness here are three SHORTREAL modules which match their

[Bug tree-optimization/110640] [13/14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since GCC-13

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

[Bug middle-end/111260] [14 Regression] arm/aarch64: ice in maybe_legitimize_operand with ?: and constants and different types since r14-2667-gceae1400cf24f329393e96dd9720

2023-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/108243] [11/12 Regression] Missed optimization for static const std::string_view(const char*)

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108243 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:958940eb3511e341e57606f5a2f5399bc89533cb commit r14-6506-g958940eb3511e341e57606f5a2f5399bc89533cb Author: Jason Merrill Date:

[Bug c++/71093] use of pseudo-destructor accepted in constant expression

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71093 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:90bc2d09b5bfcc913f79543c3b65202e7246e162 commit r14-6508-g90bc2d09b5bfcc913f79543c3b65202e7246e162 Author: Nathaniel Shead Date:

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 Patrick O'Neill changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/112988] [14] RISC-V vector: Variadic function call causes runtime failure

2023-12-13 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112988 Patrick O'Neill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 --- Comment #5 from Jakub Jelinek --- Created attachment 56868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56868=edit gcc14-pr112994-1.patch Untested patch which adds the first above mentioned pattern.

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 --- Comment #10 from Tamar Christina --- Hi, It's not forgotten. I've agreed on a fix with the maintainers that should solve a bunch of other (older) issues with copysign as well. Since it's a bug fix it's on my list after my stage3 changes.

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change (phi-opt-24.c)

2023-12-13 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 --- Comment #9 from Hans-Peter Nilsson --- (In reply to Tamar Christina from comment #7) > testing patch A month later: any update on that? I didn't see a patch posted, so perhaps there was more work to it. Please leave a note if you're no

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

2023-12-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112994 --- Comment #4 from Jakub Jelinek --- So, don't we want next to the /* Simplify (t * 2) / 2) -> t. */ pattern (dunno why it uses there in the comment 2 when it is actually generic (a * b) / a -> b, doesn't rely on constants) also one (a * b) /

[Bug c++/112318] Deprecated move ctor does not trigger -Wdeprecated-declarations when creating a std::optional

2023-12-13 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112318 S. Davis Herring changed: What|Removed |Added CC||herring at lanl dot gov --- Comment

[Bug tree-optimization/112994] [12/13/14 Regression] Missed optimization for redundancy computation elimination because pattern is broken

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

[Bug tree-optimization/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 --- Comment #13 from GCC Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:373a85a82650d9938adb02a14686049cbcbe6892 commit r14-6498-g373a85a82650d9938adb02a14686049cbcbe6892 Author: Peter Bergner Date:

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #22 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:d702387b1b765f85e19961a0b2a29df14df89bfd commit r14-6497-gd702387b1b765f85e19961a0b2a29df14df89bfd Author: Pan Li Date: Wed Dec 13

  1   2   >