[Bug testsuite/115892] [15 regression] gcc.target/aarch64/sve/acle/general/cpy_1.c test failure

2024-07-14 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115892 Surya Kumari Jangala changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNE

[Bug testsuite/115894] [15 regression] gcc.target/arm/pr111235.c test failure

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115894 --- Comment #1 from GCC Commits --- The master branch has been updated by Surya Kumari Jangala : https://gcc.gnu.org/g:60ba989220d9dec07d82009b0dafe684e652577f commit r15-2036-g60ba989220d9dec07d82009b0dafe684e652577f Author: Surya Kumari Jang

[Bug tree-optimization/115872] [12/13/14/15 regression] ICE in fab pass (error: missing definition with -g & -O3)

2024-07-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 Hongtao Liu changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/115872] [12/13/14/15 regression] ICE in fab pass (error: missing definition with -g & -O3)

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:13bfc385b0baebd22aeabb0d90915f2e9b18febe commit r14-10422-g13bfc385b0baebd22aeabb0d90915f2e9b18febe Author: liuhongt Date:

[no subject]

2024-07-14 Thread บางเวลา บางอารมณ์ via Gcc-bugs
สำหรับเจ้าของกิจการ ที่มี Project ต่อยอดเพิ่มกำไรให้ธุรกิจ แต่ยังหาทุนทรัพย์ไม่ทัน (เราช่วยคุณได้) ✔️สำหรับเจ้าของธุรกิจที่มีการจดทะเบียน ใบประกอบกิจการ ✔️อนุมัติสูงสุด 5,000,000 บาท ✔️ไม่เช็คเครดิต บูโรเอกสารไม่ยุ่งยาก ไม่ต้องมีบุคคลค้ำประกัน ✔️อัตราดอกเบี้ยเริ่มต้น1.5% ✔️ตัดต้นลดดอกเบี้ยทันที ถ้า

[Bug tree-optimization/115872] [12/13/14/15 regression] ICE in fab pass (error: missing definition with -g & -O3)

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:9a1cdaa5e8441394d613f5f3401e7aab21efe8f0 commit r13-8913-g9a1cdaa5e8441394d613f5f3401e7aab21efe8f0 Author: liuhongt Date:

[Bug tree-optimization/115872] [12/13/14/15 regression] ICE in fab pass (error: missing definition with -g & -O3)

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 --- Comment #3 from GCC Commits --- The releases/gcc-12 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:e1427b39d28f382d21e7a0ea1714b3250e0a6e5d commit r12-10617-ge1427b39d28f382d21e7a0ea1714b3250e0a6e5d Author: liuhongt Date:

[Bug testsuite/115892] [15 regression] gcc.target/aarch64/sve/acle/general/cpy_1.c test failure

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115892 --- Comment #1 from GCC Commits --- The master branch has been updated by Surya Kumari Jangala : https://gcc.gnu.org/g:8b1492012e5a11e9400e30ee4ae9195c08a2a81e commit r15-2034-g8b1492012e5a11e9400e30ee4ae9195c08a2a81e Author: Surya Kumari Jang

[Bug rtl-optimization/115932] New: [15 Regression] performance regression after r15-1619-g3b9b8d6cfdf593

2024-07-14 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115932 Bug ID: 115932 Summary: [15 Regression] performance regression after r15-1619-g3b9b8d6cfdf593 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/115931] New: mips: vec_pack_usat_m's pattern is wrong at gcc/config/mips/loongson-mmi.md:167

2024-07-14 Thread lin1.hu at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115931 Bug ID: 115931 Summary: mips: vec_pack_usat_m's pattern is wrong at gcc/config/mips/loongson-mmi.md:167 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity

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

2024-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #14 from Sam James --- (In reply to Uroš Bizjak from comment #12) > (In reply to Andreas K. Huettel from comment #11) > > > Can someone please regression test the attached patch? > > > > More in a bit, but: > Any progress with testi

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-14 Thread user202729 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #16 from user202729 --- (In reply to Jonathan Wakely from comment #14) > So something like this, and then use it in containers instead of > _Alloc_traits::destroy > > template > _GLIBCXX20_CONSTEXPR > void > _Destroy_s

[Bug c++/115706] Compiling headers as header units fails depending on order.

2024-07-14 Thread devdude2 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 --- Comment #8 from Dev Dude --- Hmmm it seems adding an attachment lost my comment. I'll try to remember most of it. First, thanks Nathaniel for your polite comments. Much appreciated. I'm not sure why Sam is mentioning multiple bugs because

[Bug target/115889] [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1 since r15-1368-g6d0b7b69d14302

2024-07-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115889 Hongtao Liu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-07-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115889, which changed state. Bug 115889 Summary: [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1 since r15-1368-g6d0b7b69d14302 https://gcc.gnu.org/bu

[Bug target/115889] [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1 since r15-1368-g6d0b7b69d14302

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115889 --- Comment #8 from GCC Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:02a3bf5e2f0c18078bf67fc0002219edba1d76ff commit r15-2030-g02a3bf5e2f0c18078bf67fc0002219edba1d76ff Author: Hongyu Wang Date: Sat J

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #12 from LIU Hao --- Created attachment 58662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58662&action=edit test patch

[Bug c++/115706] Compiling headers as header units fails depending on order.

2024-07-14 Thread devdude2 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 --- Comment #7 from Dev Dude --- Created attachment 58661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58661&action=edit A script to try to build gcc module headers A script to try to build gcc module headers, used in absence of knowing

[Bug c++/115930] New: ICE: tree check: expected type_argument_pack or nontype_argument_pack, have integer_type in template_parm_natural_p, at cp/mangle.cc:1828

2024-07-14 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115930 Bug ID: 115930 Summary: ICE: tree check: expected type_argument_pack or nontype_argument_pack, have integer_type in template_parm_natural_p, at cp/mangle.cc:1828 Product: g

[Bug c++/115706] Compiling headers as header units fails depending on order.

2024-07-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org S

[Bug c/115185] Missing "too long" warning when string-array size doesn't include NULL byte

2024-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115185 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Target Mileston

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

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 115902, which changed state. Bug 115902 Summary: [14/15 Regression] Can't call immediate function within "if consteval" when optimizing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115902 What|Removed

[Bug c++/115583] [14/15 Regression] C++23: Call to consteval function in `if consteval` immediate function context rejected at -O1 since r14-4140

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115583 Andrew Pinski changed: What|Removed |Added CC||gcc at nospam dot scs.stanford.edu ---

[Bug c++/115902] [14/15 Regression] Can't call immediate function within "if consteval" when optimizing

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

[Bug c++/115902] [14/15 Regression] Can't call immediate function within "if consteval" when optimizing

2024-07-14 Thread gcc at nospam dot scs.stanford.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115902 --- Comment #3 from David Mazières --- This might be the same as Bug 115583.

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

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

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 Sam James changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug c++/109682] coroutines: ICE in morph_fn_to_coro on wrong return type for get_return_object_on_allocation_failure

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109682 --- Comment #3 from Arsen Arsenović --- further reduced reproducer (this one should also be fully valid): #include #include struct test { test () {} test (int) {} struct promise_type { test get_return_object () { return {}; }

[Bug tree-optimization/115925] [14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115925 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.2 Version|unknown

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115929 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Version|unknown

[Bug rtl-optimization/115927] [15 regression] wrong code at -O{2,3} with "-fno-tree-vrp" on x86_64-linux-gnu (nondeterministic behavior)

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

[Bug rtl-optimization/115929] [15 regression] ICE on valid code at -O{2,3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240714 (experimental) (GCC) [552] % [552] % gcctk -O2 -fno-gcse -fschedule-insns -fno-guess-branch-probability -fno-tree-fre -fno-tree-ch small.c during RTL pass: late_combine small.c: In function ‘main’: small.c:42:1: internal

[Bug tree-optimization/114864] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-dce -fno-tree-fre" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114864 --- Comment #6 from Andrew Pinski --- *** Bug 115926 has been marked as a duplicate of this bug. ***

[Bug ipa/115926] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-fre" on x86_64-linux-gnu

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

[Bug rtl-optimization/115929] New: ICE on valid code at -O{2, 3} with "-fschedule-insns" on x86_64-linux-gnu: Segmentation fault

2024-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
igure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240714 (experimental) (GCC) [537] % [5

[Bug ipa/115926] [12/13/14/15 regression] wrong code at -O1 with "-fno-tree-fre" on x86_64-linux-gnu

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115926 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa --- Comment #1 from Andrew Pinski

[Bug rtl-optimization/115928] New: ICE on valid code at -O2 with "-fgcse-sm" on x86_64-linux-gnu: in merge_clobber_groups, at rtl-ssa/accesses.cc:757

2024-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-gnu Configured with: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version

[Bug tree-optimization/115927] New: wrong code at -O{2,3} with "-fno-tree-vrp" on x86_64-linux-gnu (nondeterministic behavior)

2024-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
igure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240714 (experimental) (GCC) [583] % [5

[Bug tree-optimization/115926] New: wrong code at -O1 with "-fno-tree-fre" on x86_64-linux-gnu

2024-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240714 (experimental) (GCC) [517] % [517] % gcctk -O1 small.c; ./a.out [518] % [518] % gcct

[Bug middle-end/115924] Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 --- Comment #3 from Andrew Pinski --- Note better example: ``` #include uint32_t f(uint32_t i2, uint32_t aa, uint32_t aa1) { return ((i2 >> 17) + (aa >> 17) + (aa1 >> 17)) << 17; } uint32_t fa(uint32_t i2, uint32_t aa, uint32_t aa1) {

[Bug tree-optimization/115925] New: wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2024-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
ecking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240714 (experimental) (GCC) [522] % [522] % gcctk -O2 small.c; ./a.out [52

[Bug middle-end/115924] Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 --- Comment #2 from Andrew Pinski --- Note clang also falls over for 3 additions and swapping the order of the addition just slightly. ``` #include int32_t f(int32_t i2, int32_t aa, int32_t aa1) { return ((i2 >> 17) + (aa >> 17) + (aa1 >>

[Bug middle-end/115924] Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #1 from Andrew P

[Bug c++/109682] coroutines: ICE in morph_fn_to_coro on wrong return type for get_return_object_on_allocation_failure

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109682 Arsen Arsenović changed: What|Removed |Added Last reconfirmed||2024-07-14 Status|UNCONFI

[Bug tree-optimization/115924] New: Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands

2024-07-14 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115924 Bug ID: 115924 Summary: Failure to optimize back and forth shifts of several operands by the same amount with operations in the middle to ands Product: gcc Versi

[Bug c++/105989] Coroutine frame space for temporaries in a co_await expression is not reused

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105989 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug fortran/99798] ICE when compiling a variant of pr87907

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99798 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:c80a7460239037d8cf8426dbb7d03c6ddac09bab commit r14-10420-gc80a7460239037d8cf8426dbb7d03c6ddac09bab Author: Mikael Morin Da

[Bug c++/115706] Compiling headers as header units fails depending on order.

2024-07-14 Thread devdude2 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 --- Comment #5 from Dev Dude --- I'm not sure what's difficult about me posing a question about what the correct way is to build module headers so they all build properly, and also providing my own script to show what I'm doing in absence of kno

[Bug other/115705] dubious macro definition ‘__attr_dealloc_fclose’ [-Winvalid-imported-macros]

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

[Bug c++/115706] Compiling headers as header units fails depending on order.

2024-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 --- Comment #4 from Sam James --- I'd really suggest filing one bug per issue in future. Making it very clear what a specific bug is about and how to reproduce with a standalone attachment is good too (your last issue at least seems to need your

[Bug c++/115706] Compiling headers as header units fails depending on order.

2024-07-14 Thread devdude2 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115706 --- Comment #3 from Dev Dude --- Hello, any update on this bug? Has anyone run the script I provided in the prior post for building the module headers? Or can anyone comment on the correct way to build module headers? I can't progress on modules

[Bug other/115705] dubious macro definition ‘__attr_dealloc_fclose’ [-Winvalid-imported-macros]

2024-07-14 Thread devdude2 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115705 --- Comment #4 from Dev Dude --- (In reply to Andrew Pinski from comment #3) > Confirmed; suspended. > > We should do a fix includes once this has been fixed in glibc. Any follow up / update on this. The related glibc bug says that should be a

[Bug c++/102707] template coroutine generated code failed

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102707 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/115915] gcc fails to detect invalid friend declaration of classes in different namespaces

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

[Bug c++/115923] New: different diagnostic if using qualified name vs not for missing template arguments

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115923 Bug ID: 115923 Summary: different diagnostic if using qualified name vs not for missing template arguments Product: gcc Version: 15.0 Status: UNCONFIRMED Keywo

[Bug c++/115915] gcc fails to detect invalid friend declaration of classes in different namespaces

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115915 --- Comment #1 from Andrew Pinski --- The question is does that friend is naming `::extent` or is naming `std_1::extent` using the `using namespace` statement. I suspect GCC and EDG think it is `::extent` while clang and MSVC think it is `std_1:

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

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

[Bug c/109828] [13/14/15 Regression] static compound literal with flexible array in initializer leads to invalid size and ICE

2024-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109828 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com --- C

[Bug c/115920] ICE: in tree_to_poly_int64, at tree.cc:3319

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

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 --- Comment #4 from Sam James --- (In reply to Andreas Schwab from comment #3) > dup > > *** This bug has been marked as a duplicate of bug 115916 *** This came first and it has a smaller testcase? The other is fine too, of course though.

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 Andreas Schwab changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug middle-end/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 Andreas Schwab changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment

[Bug middle-end/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 Andreas Schwab changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #3

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 Andreas Schwab changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug ada/115918] Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115918 --- Comment #2 from Arsen Arsenović --- Created attachment 58660 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58660&action=edit fail.log but with the patchlet applied No, at least not entirely.

[Bug target/115922] New: Missed optimization: MIPS: clear bit 15

2024-07-14 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115922 Bug ID: 115922 Summary: Missed optimization: MIPS: clear bit 15 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/115921] New: Missed optimization: and->ashift might be cheaper than ashift->and on typical RISC targets

2024-07-14 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921 Bug ID: 115921 Summary: Missed optimization: and->ashift might be cheaper than ashift->and on typical RISC targets Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug rtl-optimization/115912] [15 regression] Harfbuzz testsuite fails (mvar_partial_instance test) since r15-1901-g98914f9eba5f19

2024-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115912 --- Comment #2 from Sam James --- Surrounding this template from src/hb-open-type.hh w/ optimize("O0") cures it: ``` template struct HBFixed : Type { static constexpr float shift = (float) (1 << fraction_bits); static_assert (Type::static_s

[Bug libstdc++/113460] Segfault in __builtin_coro_destroy when using std::generator to concate ranges

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113460 --- Comment #4 from Arsen Arsenović --- actually, it seems to be the comma, not the fold; the following also fails: #include #include #include #include using namespace std; template [[nodiscard]] auto concat(Range1&& range1, Range2&& ran

[Bug c++/115914] SIGSEGV when std::generator co_yield different ranges of elements

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115914 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Reso

[Bug libstdc++/113460] Segfault in __builtin_coro_destroy when using std::generator to concate ranges

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113460 Arsen Arsenović changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment

[Bug c/115920] New: ICE: in tree_to_poly_int64, at tree.cc:3319

2024-07-14 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115920 Bug ID: 115920 Summary: ICE: in tree_to_poly_int64, at tree.cc:3319 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/115919] New: ICE: in tsubst_expr, at cp/pt.cc:20300

2024-07-14 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115919 Bug ID: 115919 Summary: ICE: in tsubst_expr, at cp/pt.cc:20300 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug ada/115918] Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115918 --- Comment #1 from Andreas Schwab --- Does the pseudo patch in PR115876#c7 help?

[Bug ada/115918] New: Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115918 Bug ID: 115918 Summary: Bootstrap failure in GNAT with --with-build-config=bootstrap-lto --enable-languages=c,ada,c++,lto Product: gcc Version: 15.0

[Bug ada/115917] New: GNAT fails to bootstrap with LTO and -Werror=lto-type-mismatch due to C_Version_String and gnat_version_string on x86_64-pc-linux-gnu

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115917 Bug ID: 115917 Summary: GNAT fails to bootstrap with LTO and -Werror=lto-type-mismatch due to C_Version_String and gnat_version_string on x86_64-pc-linux-gnu Product: gcc

[Bug middle-end/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 --- Comment #2 from Andreas Schwab --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876#c7 It broke the ASHIFT case. -return mask >> INTVAL (XEXP (x, 1)); +return (HOST_WIDE_INT)mask >> INTVAL (XEXP (x, 1));

[Bug middle-end/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 Sergei Trofimovich changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug libstdc++/113460] Segfault in __builtin_coro_destroy when using std::generator to concate ranges

2024-07-14 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113460 --- Comment #2 from Arsen Arsenović --- this is a double-free it would seem. but, the following works: #include #include #include #include using namespace std; template [[nodiscard]] auto concat(Range1&& range1, Range2&& range2) -> gene

[Bug middle-end/115916] New: [15 Regression] wrong code on highway-1.2.0

2024-07-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240714 (experimental) (GCC)

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #11 from LIU Hao --- The function template `std::discard_block_engine::operator()` is instantiated in both translation units. The two specializations use different sets of caller-saved registers. Specifically, the specialization in '

[Bug c++/115915] New: gcc fails to detect invalid friend declaration of classes in different namespaces

2024-07-14 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115915 Bug ID: 115915 Summary: gcc fails to detect invalid friend declaration of classes in different namespaces Product: gcc Version: 13.2.0 Status: UNCONFIRMED Keyw

[Bug c++/115914] SIGSEGV when std::generator co_yield different ranges of elements

2024-07-14 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115914 --- Comment #2 from 康桓瑋 --- (In reply to Andrew Pinski from comment #1) > I suspect this is a dup of bug 113460. Definitely.

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #7 from Andreas Schwab --- It broke the ASHIFT case. -return mask >> INTVAL (XEXP (x, 1)); +return (HOST_WIDE_INT)mask >> INTVAL (XEXP (x, 1));

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

2024-07-14 Thread gasper.azman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #30 from Gašper Ažman --- I don't really understand what you meant by "they have corresponding object parameters" - you mean that the object parameters are equal in both constraint and type? "Corresponding" to my recollection is only

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #6 from Andreas Schwab --- Probably that broke the sign extensions in carry_backpropagate.

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #5 from Andreas Schwab --- Note that the return type of carry_backpropagate should be unsigned as well, but that does not fix the crash.

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #4 from Andreas Schwab --- This breaks build for m68k: libtool: compile: /daten/aranym/gcc/test/Build/./gcc/xgcc -shared-libgcc -B/daten/aranym/gcc/test/Build/./gcc -nostdinc++ -L/daten/aranym/gcc/test/Build/m68k-linux/libstdc++-v3

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #10 from LIU Hao --- (In reply to LIU Hao from comment #9) > The bug exists around the initialization of a global variable in 'file2.cpp': This is incorrect. The argument to `operator new` is `4` so the bug happens for initializatio

[Bug rtl-optimization/115049] [14/15 Regression] Silent severe miscompilation around inline functions

2024-07-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #9 from LIU Hao --- Created attachment 58656 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58656&action=edit reduced testcase After spending four days on this, I have reduced a testcase. `./test.sh` should reproduce the segfa

[Bug c/115185] Missing "too long" warning when string-array size doesn't include NULL byte

2024-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115185 --- Comment #12 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:44c9403ed1833ae71a59e84f9e37af3182be0df5 commit r15-2026-g44c9403ed1833ae71a59e84f9e37af3182be0df5 Author: Alejandro Colomar Date

[Bug c++/115902] [14/15 Regression] Can't call immediate function within "if consteval" when optimizing

2024-07-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115902 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comme