[Bug rtl-optimization/88403] The gcse and division/mod by 1000 prevents if-conversion

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88403 --- Comment #3 from Andrew Pinski --- aarch64 started doing the ifcvt in GCC 14.

[Bug target/109436] AArch64: suboptimal codegen in 128 bit constant stores

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109436 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Se

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #7 from cqwrteur --- (In reply to Jason Merrill from comment #6) > (In reply to cqwrteur from comment #5) > > > > Is this a C++ standard defect? There is no inline definition for classes and > > templates that allow multiple definit

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #13 from Kito Cheng --- FYI: PR for riscv-gnu-toolchain: https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1501

[Bug driver/111527] COLLECT_GCC_OPTIONS option hits single-variable limits too early

2024-07-01 Thread deepadeepthi98 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111527 --- Comment #13 from Deepthi H --- Test logs :: :~/$ big_100k_var=$(printf "%0*d" 10 0) Host gcc binary (Without fix):: :~/$ gcc a.c -DA=$big_100k_var -DB=$big_100k_var gcc: fatal error: cannot execute ‘/usr/lib/gcc/x86_64-linux-gnu/11/cc

[Bug target/115739] Building cross-compiler to sparc-wrs-vxworks fails since r15-1594-g55947b32c38a40

2024-07-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115739 Kewen Lin changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment #2

[Bug analyzer/115724] analyzer does not recognise glibc (GNU) extension, non-returning error

2024-07-01 Thread jamie.bainbridge at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115724 --- Comment #3 from Jamie Bainbridge --- Thank you for the speedy response, confirmation, and workaround. I did not think to check if error() was standard or not. Good point. No problems on prioritisation or even disregarding this. When behavi

[Bug analyzer/115724] analyzer does not recognise glibc (GNU) extension, non-returning error

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

[Bug analyzer/115724] analyzer does not recognise non-returning error()

2024-07-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115724 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1 fr

[Bug target/115739] Building cross-compiler to sparc-wrs-vxworks fails since r15-1594-g55947b32c38a40

2024-07-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115739 Kewen Lin changed: What|Removed |Added Last reconfirmed||2024-07-02 Target Milestone|---

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #12 from Kito Cheng --- Qemu has provide two option to fill up all-one to agnostic policy: rvv_ta_all_1s and rvv_ma_all_1s*, I guess we could enable that by default in riscv-gnu-toolchain to discover more potential bugs. * qemu-r

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 --- Comment #10 from Andrew Pinski --- (In reply to Lockal from comment #6) > 2) Specifically clang dislikes calls to host code from device code THERE IS NO device or host code in libstdc++. That in itself a hack on how cuda/ROCm are hacked on.

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread lockalsash at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 --- Comment #9 from Lockal --- Sam James, that's a separate issue - https://bugs.gentoo.org/935314 I modified my /etc/clang/gentoo-hardened.cfg to contain: -Xarch_host -D_GLIBCXX_ASSERTIONS and it works fine, except it does not work and fails

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 --- Comment #8 from Sam James --- Ah, but you're using Clang. But for Clang, we do the same sort of thing: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/clang-common/clang-common-18.1.8.ebuild#n246

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #7 fr

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread lockalsash at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 --- Comment #6 from Lockal --- Oops, did not expect that someone already reported this to llvm/llvm-project. This was noticed as an issue of ROCm, not CUDA. Did not try CUDA, probably won't work with gcc-14 due to multiple reasons (starting wit

[Bug tree-optimization/115723] [14 Regression] SPEC CPU2017 521/621 build error with -Ofast and AVX512 enabled(-ftree-vectorize?)

2024-07-01 Thread edison_chan_gz at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115723 --- Comment #13 from edison --- (In reply to GCC Commits from comment #11) > The master branch has been updated by Richard Biener : > > https://gcc.gnu.org/g:286cda3461d6f5ce7d911d3f26bd4975ea7ea11d > > commit r15-1745-g286cda3461d6f5ce7d911d3

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

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

[Bug target/115741] New: [15] RISC-V: ICE in vectorizable_load, at tree-vect-stmts.cc:11524

2024-07-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115741 Bug ID: 115741 Summary: [15] RISC-V: ICE in vectorizable_load, at tree-vect-stmts.cc:11524 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

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

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

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

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

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

[Bug libstdc++/115740] gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

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

[Bug libstdc++/115740] New: gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code

2024-07-01 Thread lockalsash at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740 Bug ID: 115740 Summary: gcc-14.1.1: __glibcxx_assert_fail const-evaluation breaks clang/hip device code Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severi

[Bug tree-optimization/115710] [11/12/13/14/15 Regression] complex abs does not vectorise

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115710 Andrew Pinski changed: What|Removed |Added URL||https://inbox.sourceware.or

[Bug c/115502] [15 regression] ICE when building Valgrind with -std=c23 (comptypes_same_p, at c/c-typeck.cc:1227) since r15-934-gd2cfe8a73b3c41

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115502 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/115469] [14 Regression] ICE :tree check expected class 'type', have 'exceptional' (error_mark) in poplevel_named_label_1, at cpdecl.cc579

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115469 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/115469] [14/15 Regression] ICE :tree check expected class 'type', have 'exceptional' (error_mark) in poplevel_named_label_1, at cpdecl.cc579

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115469 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c90e785bb6fde02cc009f296332a1469fcc1261a commit r15-1761-gc90e785bb6fde02cc009f296332a1469fcc1261a Author: Marek Polacek Date: We

[Bug target/115739] New: Building cross-compiler to sparc-wrs-vxworks fails since r15-1594-g55947b32c38a40

2024-07-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115739 Bug ID: 115739 Summary: Building cross-compiler to sparc-wrs-vxworks fails since r15-1594-g55947b32c38a40 Product: gcc Version: 14.0 Status: UNCONFIRMED Severi

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler for -Wanalyzer-unsafe-call-within-signal-handler

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

[Bug analyzer/115738] New: Analyzer misses printf-via-function pointer for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115738 Bug ID: 115738 Summary: Analyzer misses printf-via-function pointer for -Wanalyzer-unsafe-call-within-signal-handler Product: gcc Version: unknown Status: UNCONFIRMED

[Bug analyzer/115737] __builtin_printf fools analyzer's -Wanalyzer-unsafe-call-within-signal-handler

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115737 --- Comment #2 from Andrew Pinski --- ASM name can be gotten via DECL_ASSEMBLER_NAME .

[Bug analyzer/115737] __builtin_printf fools analyzer's -Wanalyzer-unsafe-call-within-signal-handler

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

[Bug analyzer/115737] New: __builtin_printf fools analyzer's -Wanalyzer-unsafe-call-within-signal-handler

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115737 Bug ID: 115737 Summary: __builtin_printf fools analyzer's -Wanalyzer-unsafe-call-within-signal-handler Product: gcc Version: unknown Status: UNCONFIRMED Severi

[Bug analyzer/115736] Analyzer is sensitive to printf argument (or puts does not warn) for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115736 Andrew Pinski changed: What|Removed |Added Summary|Analyzer is sensitive to|Analyzer is sensitive to

[Bug analyzer/115736] New: Analyzer is sensitive to printf argument for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115736 Bug ID: 115736 Summary: Analyzer is sensitive to printf argument for -Wanalyzer-unsafe-call-within-signal-handler Product: gcc Version: unknown Status: UNCONFIRMED

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 --- Comment #1 from Sam James --- This is especially interesting as https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.html#index-Wanalyzer-unsafe-call-within-signal-handler -> https://cwe.mitre.org/data/definitions/479.html specifically

[Bug analyzer/115735] New: Analyzer misses trivial syslog() call in signal handler

2024-07-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 Bug ID: 115735 Summary: Analyzer misses trivial syslog() call in signal handler Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-01 Thread dilfridge at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #11 from Andreas K. Huettel --- (In reply to Uroš Bizjak from comment #10) > (In reply to Uroš Bizjak from comment #9) > > Created attachment 58549 [details] > > Proposed patch > > Can someone please regression test the attached pat

[Bug fortran/115700] [11/12/13/14 regression] Bogus warning for associate with assumed-length character array

2024-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||pault at gcc dot gnu.org ---

[Bug fortran/115700] [11/12/13/14 regression] Bogus warning for associate with assumed-length character array

2024-07-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/115716] [11/12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 --- Comment #2 from Marek Polacek --- I suppose the problem is that we do not detect too many template parameters here: template struct S { template struct N { }; }; template<> template // bad struct S::N { }; while clang++ says: q.C:8:1

[Bug target/115734] New: Missed optimization: carry chains with __builtin_addc missed except on x86

2024-07-01 Thread lloyd at randombit dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115734 Bug ID: 115734 Summary: Missed optimization: carry chains with __builtin_addc missed except on x86 Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: n

[Bug target/115733] [avr] Improve __memx address handling

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115733 Georg-Johann Lay changed: What|Removed |Added Severity|normal |enhancement Priority|P3

[Bug tree-optimization/115629] Inefficient if-convert of masked conditionals

2024-07-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115629 --- Comment #6 from Tamar Christina --- (In reply to rguent...@suse.de from comment #5) > > In this case, the second load is conditional on the first load mask, which > > means it's already done an AND. > > And crucially inverting it means you

[Bug target/115733] New: [avr] Improve __memx address handling

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115733 Bug ID: 115733 Summary: [avr] Improve __memx address handling Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/115430] Cannot take address of template function

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115430 --- Comment #5 from Marek Polacek --- Fixed on trunk. I think I'll backport the fix to 14 as well.

[Bug c++/115430] Cannot take address of template function

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115430 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c847dcf94499da62e5a28921b404e6e561645d99 commit r15-1759-gc847dcf94499da62e5a28921b404e6e561645d99 Author: Marek Polacek Date: Tu

[Bug tree-optimization/82450] loop flattening should be done

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82450 --- Comment #8 from Andrew Pinski --- (In reply to Thomas Koenig from comment #7) > If you're looking at this, could you also look at Fortran's way > of handling things, for example the test cases That was my intention to make sure fortran testc

[Bug c++/104392] Unexpected Narrowing Warning when spaceship comparison of unsigned bit field

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104392 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/82450] loop flattening should be done

2024-07-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82450 --- Comment #7 from Thomas Koenig --- If you're looking at this, could you also look at Fortran's way of handling things, for example the test cases subroutine foo(a) implicit none real, dimension(:,:), contiguous, intent(out) :: a a = a +

[Bug c++/94058] defaulted three way comparison operator defined as deleted when a member is a small bitfield of long type.

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94058 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104392] Unexpected Narrowing Warning when spaceship comparison of unsigned bit field

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104392 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:52d71b6b1f0f465a6cf064f61b22fc99453ec132 commit r15-1758-g52d71b6b1f0f465a6cf064f61b22fc99453ec132 Author: Marek Polacek Date: Fr

[Bug c++/94058] defaulted three way comparison operator defined as deleted when a member is a small bitfield of long type.

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94058 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:52d71b6b1f0f465a6cf064f61b22fc99453ec132 commit r15-1758-g52d71b6b1f0f465a6cf064f61b22fc99453ec132 Author: Marek Polacek Date: Fri

[Bug rtl-optimization/105477] RISC-V: Regression: Useless moves in conditional select return

2024-07-01 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105477 --- Comment #3 from Dimitar Dimitrov --- Commit r15-1579-g792f97b44ffc5e improves the generated code: test: bne a2,zero,.L2 mv a1,a0 .L2: mv a0,a1 ret

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Ever confi

[Bug c++/99000] [modules] merging of textual redefinitions: declaration std::__copy_move_a2 conflicts with import

2024-07-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99000 Jason Merrill changed: What|Removed |Added Assignee|nathan at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/115732] Arm32 architecture definitions for v8+ appear to have wrong FPU/SIMD defaults

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115732 --- Comment #3 from Andrew Pinski --- Note many (if not most these days), armv8.x-a and armv9-a SoCs don't have aarch32 (and thumb) support even in EL0.

[Bug target/115732] Arm32 architecture definitions for v8+ appear to have wrong FPU/SIMD defaults

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115732 --- Comment #2 from Andrew Pinski --- (In reply to Alex Rønne Petersen from comment #1) > While here, I also noticed that GCC is missing a fair amount of post-v8 > architecture definitions that LLVM has: > https://github.com/llvm/llvm-project/bl

[Bug driver/115732] Arm32 architecture definitions for v8+ appear to have wrong FPU/SIMD defaults

2024-07-01 Thread alex at alexrp dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115732 Alex Rønne Petersen changed: What|Removed |Added Component|target |driver --- Comment #1 from Alex R

[Bug driver/115732] New: Arm32 architecture definitions for v8+ appear to have wrong FPU/SIMD defaults

2024-07-01 Thread alex at alexrp dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115732 Bug ID: 115732 Summary: Arm32 architecture definitions for v8+ appear to have wrong FPU/SIMD defaults Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity

[Bug c++/66564] [11/12/13/14/15 Regression] ICE on explicit instantiation of nested template class

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564 --- Comment #8 from Marek Polacek --- Patch submission for r0-123991: https://gcc.gnu.org/pipermail/gcc-patches/2013-June/365035.html

[Bug c++/115728] Feature Request: inline assembly improvements for C++

2024-07-01 Thread eric-bugs at omnifarious dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728 --- Comment #4 from eric-bugs at omnifarious dot org --- (In reply to ak from comment #3) > The constexpr asm support is in trunk. It supports templates. > > > >The second is I want finer grain control over marking memory regions as > >needing

[Bug c++/115728] Feature Request: inline assembly improvements for C++

2024-07-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/115730] False positive dangling-reference warning

2024-07-01 Thread igor_anferov at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115730 --- Comment #3 from Igor Anferov --- Thank you Andrew! Thank you for providing the attribute name, I was trying to find something similar, but failed to find https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html page

[Bug c++/66564] [11/12/13/14/15 Regression] ICE on explicit instantiation of nested template class

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.5 Priority|P3

[Bug c++/115727] gcc allows implicit usage of explicit constructor in "std::initializer_list"

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

[Bug c++/115730] False positive dangling-reference warning

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

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 Andrew Pinski changed: What|Removed |Added CC||igor_anferov at icloud dot com --- Comm

[Bug c++/115730] False positive dangling-reference warning

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115730 --- Comment #1 from Andrew Pinski --- Created attachment 58552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58552&action=edit testcase Next time please either put the testcase inline or attach it.

[Bug c++/115728] Feature Request: inline assembly improvements for C++

2024-07-01 Thread eric-bugs at omnifarious dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728 --- Comment #2 from eric-bugs at omnifarious dot org --- (In reply to Richard Biener from comment #1) > I think there's (pending?) support to allow the asm text to be generated by > constexpr evaluation. Not sure if that will help. I would have

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-07-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #5 from cqwrteur --- (In reply to Patrick Palka from comment #3) > I reckon it's not something we can fix/implement in a point release of GCC > 14, but hopefully for 15... Is this a C++ standard defect? There is no inline definition

[Bug c++/115731] New: Coroutine lambda type is incomplete when selecting promise constructor

2024-07-01 Thread henri.vettenranta at bitwise dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115731 Bug ID: 115731 Summary: Coroutine lambda type is incomplete when selecting promise constructor Product: gcc Version: 11.4.0 Status: UNCONFIRMED Keywords: C++-c

[Bug c++/115728] Feature Request: inline assembly improvements for C++

2024-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Version|unknown

[Bug c/115729] case label does not reduce to an integer constant

2024-07-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115729 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org Resol

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #11 from Robin Dapp --- > I believe it is VSETVL PASS doing the fusion, fuse all "vsetvl" according > their > demand field into a single "vsetvli" and put them since beginning. Yes, and the vsetvl fusion is very useful here.

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #10 from JuzheZhong --- (In reply to Robin Dapp from comment #9) > We already merge with operand[0], just the TU is missing as far as I can > tell. > > I'm seeing the following output with my patch: > > vsetivlizero,8

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #9 from Robin Dapp --- We already merge with operand[0], just the TU is missing as far as I can tell. I'm seeing the following output with my patch: vsetivlizero,8,e16,mf4,tu,ma vle16.v v1,0(a1) vmv.

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #8 from JuzheZhong --- I think we should include operands[0] as the "merge/maskoff" operand which we need to depend on and use TU for vec_set pattern Take ARM for example: (define_expand "vec_set" [(match_operand:VALL_F16 0 "regi

[Bug c++/115716] [11/12/13/14/15 regression] internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in tsubst, at cp/pt.cc:16364

2024-07-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115716 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco

[Bug target/87376] [avr] Miscompilation with __memx and long long addition

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87376 --- Comment #7 from Georg-Johann Lay --- I have no idea how to fix this one. The problem is that the DImode move is being expanded into 8 x QImode loads from memx, and there is no way to do stuff similar to PR115726 because we do not have movdi

[Bug c++/115730] New: False positive dangling-reference warning

2024-07-01 Thread igor_anferov at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115730 Bug ID: 115730 Summary: False positive dangling-reference warning Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #7 from Robin Dapp --- I checked. It looks like qemu indeed always implicitly uses TU for vmv.s.x regardless of the actual setting. This behavior masks the bug here.

[Bug libstdc++/88545] std::find compile to memchr in trivial random access cases (patch)

2024-07-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88545 --- Comment #12 from Tamar Christina --- I had a bug in the benchmark, I forgot to set taskset, These are the correct ones: ++---+-+-+ | NEEDLE | scalar 1x | vect| memchr | ++---+-+--

[Bug c/115729] New: case label does not reduce to an integer constant

2024-07-01 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115729 Bug ID: 115729 Summary: case label does not reduce to an integer constant Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/87376] [avr] Miscompilation with __memx and long long addition

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87376 Georg-Johann Lay changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug target/115726] [avr] Wrong code with __memx and local register variables

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115726 Georg-Johann Lay changed: What|Removed |Added CC||saaadhu at gcc dot gnu.org --- Comme

[Bug target/86635] [avr] Miscompilation with __memx and libgcc float function __gtsf2

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86635 Georg-Johann Lay changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115728] New: Feature Request: inline assembly improvements for C++

2024-07-01 Thread eric-bugs at omnifarious dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728 Bug ID: 115728 Summary: Feature Request: inline assembly improvements for C++ Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/115629] Inefficient if-convert of masked conditionals

2024-07-01 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115629 --- Comment #5 from rguenther at suse dot de --- > Am 01.07.2024 um 12:10 schrieb tnfchris at gcc dot gnu.org > : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115629 > > --- Comment #4 from Tamar Christina --- > (In reply to Richard Bie

[Bug target/88236] [avr] Invalid code generated for __memx char pointer deference for avr5 arch

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88236 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |14.2 Resolution|---

[Bug target/115726] [avr] Wrong code with __memx and local register variables

2024-07-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115726 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug target/115726] [avr] Wrong code with __memx and local register variables

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115726 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:53305588cfbf74604bafcc27902e1eded5677ae6 commit r12-10591-g53305588cfbf74604bafcc27902e1eded5677ae6 Author: Georg-Johan

[Bug target/88236] [avr] Invalid code generated for __memx char pointer deference for avr5 arch

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88236 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:53305588cfbf74604bafcc27902e1eded5677ae6 commit r12-10591-g53305588cfbf74604bafcc27902e1eded5677ae6 Author: Georg-Johann

[Bug target/88236] [avr] Invalid code generated for __memx char pointer deference for avr5 arch

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88236 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:743575bfc6cfb3520047bddf969f880455d581b1 commit r13-8882-g743575bfc6cfb3520047bddf969f880455d581b1 Author: Georg-Johann

[Bug target/115726] [avr] Wrong code with __memx and local register variables

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115726 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:743575bfc6cfb3520047bddf969f880455d581b1 commit r13-8882-g743575bfc6cfb3520047bddf969f880455d581b1 Author: Georg-Johann

[Bug target/115726] [avr] Wrong code with __memx and local register variables

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115726 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:7249b3cdc16ae85bcfeb63510b6e5cb7f4a43adb commit r14-10367-g7249b3cdc16ae85bcfeb63510b6e5cb7f4a43adb Author: Georg-Johan

[Bug target/88236] [avr] Invalid code generated for __memx char pointer deference for avr5 arch

2024-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88236 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:7249b3cdc16ae85bcfeb63510b6e5cb7f4a43adb commit r14-10367-g7249b3cdc16ae85bcfeb63510b6e5cb7f4a43adb Author: Georg-Johann

[Bug target/115725] RISC-V: Use wrong AVL for rv64gcv_zfh_zvl512b

2024-07-01 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725 --- Comment #6 from Li Pan --- (In reply to Robin Dapp from comment #5) > > zvl128b => GOOD. > > vec_set_vnx8hi_0: > > vl1re16.v v1,0(a1) > > vsetivlizero,1,e16,m1,ta,ma > > vmv.s.x v1,a2 > > vs1r.v

  1   2   >