[Bug target/115115] [12/13/14/15 Regression] highway-1.0.7 wrong _mm_cvttps_epi32() constant fold

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

[Bug target/113733] Invalid APX TLS code squence

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

[Bug target/113312] Add __attribute__((no_callee_saved_registers)) for Intel FRED

2024-07-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113312 --- Comment #28 from Hongtao Liu --- __attribute__((no_callee_saved_registers)) is added in GCC14.

[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #5 from Richard Biener --- We also apply a 2/3 factor for an estimate on code reduction due to followup optimization (we've worked on this not long ago - it seems to be critical for some testcases derived from SPEC for example). We'

[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug testsuite/115826] vect-tsvc-s1281.c fails on arm-*-* due to -ffast-math being required for vectorization tests

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115826 Richard Biener changed: What|Removed |Added Target||arm --- Comment #1 from Richard Biener

[Bug target/113312] Add __attribute__((no_callee_saved_registers)) for Intel FRED

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

[Bug tree-optimization/115828] Inefficient loop termination (should use compare against 0)

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115828 --- Comment #3 from Richard Biener --- ivcanon adds the decrementing by one IV as expected: [local count: 53687088]: [local count: 1020054736]: # i_8 = PHI # ivtmp_2 = PHI v ={v} i_8; i_5 = i_8 + -2; ivtmp_1 = ivtmp_2 - 1;

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

2024-07-09 Thread manx-bugzilla at problemloesungsmaschine dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #4 from Jörn Heusipp --- Using '-Q --help=optimizers' to verify, "-O2" is equivalent to " -O1 \ -falign-functions=16 \ -falign-jumps=16:11:8 \ -falign-labels=0:0:8 \ -falign-loops=16:11:8 \ -fcaller-saves \ -fcode-hoisting \ -fcrossj

Mail delivery failed: returning message to sender

2024-07-09 Thread Mail Delivery System
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: gcc-bugs@gcc.gnu.org host gcc.gnu.org [8.43.85.97] SMTP error from remote mail

[Bug libstdc++/115807] C++23 P0943R6 does't qualify std::atomic in #define _Atomic properly

2024-07-09 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115807 Mital Ashok changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/115807] C++23 P0943R6 does't qualify std::atomic in #define _Atomic properly

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

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Last reconfirmed|

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 --- Comment #2 from Richard Biener --- typedef unsigned short v4hi __attribute__((vector_size(8))); typedef unsigned int v4si __attribute__((vector_size(16))); v4hi foo (unsigned short a, unsigned short b, unsigned short c, unsigned short d) {

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 Hongtao Liu changed: What|Removed |Added CC||lin1.hu at intel dot com --- Comment #4 f

[Bug target/115795] RISC-V: vsetvl step causes wrong codegen after fusing info

2024-07-09 Thread jordi.sala at semidynamics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115795 --- Comment #8 from Jordi Sala --- (In reply to JuzheZhong from comment #7) > (In reply to Jordi Sala from comment #6) > > Perfect, that's what I was looking for. I'm thinking of adding a way to tell > > GCC to minimize, maximize or preserve SEW

[Bug rtl-optimization/115835] New: [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e

2024-07-09 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115835 Bug ID: 115835 Summary: [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e Product: gcc Version: unknown Status:

[Bug rtl-optimization/115835] [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e

2024-07-09 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115835 --- Comment #1 from Stefan Schulze Frielinghaus --- Created attachment 58614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58614&action=edit late_combine1

[Bug rtl-optimization/115835] [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e

2024-07-09 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115835 --- Comment #2 from Stefan Schulze Frielinghaus --- Created attachment 58615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58615&action=edit late_combine2

[Bug c++/101232] Bad error message with stray semicolon in initializer

2024-07-09 Thread franek.witt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232 --- Comment #7 from Franciszek Witt --- I believe it might also be worth reporting that a comma or an operator is likely missing in case the braces.require_close failed and the next token is not ';' (this is just a heuristic, some better conditi

[Bug target/115796] [15 Regression] build failure since double_u -> __double_u change

2024-07-09 Thread prlw1 at welche dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115796 --- Comment #5 from prlw1 at welche dot eu --- Confirmed fixed - thanks!

[Bug libstdc++/115807] C++23 P0943R6 does't qualify std::atomic in #define _Atomic properly

2024-07-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115807 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #4 from Jonathan

[Bug middle-end/115832] Very slow compilation with `-fsanitize=undefined -O2` and std::sort

2024-07-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115832 --- Comment #7 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #3) > I looked at the output of -ftime-report, there does not seen anything that > sticks out really. Plus with -fsanitize=undefined just means there will > almost d

[Bug c++/115836] New: ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Bug ID: 115836 Summary: ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Sam James changed: What|Removed |Added CC||awilfox at adelielinux dot org --- Comment

[Bug sanitizer/115837] New: ASAN FPE on unknown address report missing

2024-07-09 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115837 Bug ID: 115837 Summary: ASAN FPE on unknown address report missing Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: san

[Bug libstdc++/115838] New: Some common patterns in libstdc++-14 break many libraries with clang in C++23

2024-07-09 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115838 Bug ID: 115838 Summary: Some common patterns in libstdc++-14 break many libraries with clang in C++23 Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity

[Bug libstdc++/115839] New: Some common patterns in libstdc++-14 break many libraries with clang in C++23

2024-07-09 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115839 Bug ID: 115839 Summary: Some common patterns in libstdc++-14 break many libraries with clang in C++23 Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity

[Bug libstdc++/115839] Some common patterns in libstdc++-14 break many libraries with clang in C++23

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

[Bug libstdc++/115838] Some common patterns in libstdc++-14 break many libraries with clang in C++23

2024-07-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115838 --- Comment #1 from Sam James --- *** Bug 115839 has been marked as a duplicate of this bug. ***

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #2 from Uroš Bizjak --- The testcase compiles OK for me with today's compiler: xgcc (GCC) 15.0.0 20240709 (experimental) [master r15-1905-g23ab7f632f4]

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #3 from Sam James --- Can you try -fPIE or -fPIC? I suspect it's needed but my compiler defaults to it.

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/115840] New: RISC-V with V:‘({anonymous})’ may be used uninitialized

2024-07-09 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115840 Bug ID: 115840 Summary: RISC-V with V:‘({anonymous})’ may be used uninitialized Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug target/115840] RISC-V with V:‘({anonymous})’ may be used uninitialized

2024-07-09 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115840 --- Comment #1 from YunQiang Su --- > If I use `-march=rv64imafdcv`, the problem won't happen. Typo: `-march=rv64imafdc`

[Bug sanitizer/115837] ASAN FPE on unknown address report missing

2024-07-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115837 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/115153] [14/15 Regression] Error: bad immediate value for 8-bit offset - armv7ve

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115153 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:83332e3f808b146ca06dbc6a91d15bd3e5650658 commit r14-10398-g83332e3f808b146ca06dbc6a91d15bd3e5650658 Author: Wilco Dijkst

[Bug target/114890] [14/15 Regression] Big-endian addp intrinsics reorder operands

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114890 --- Comment #2 from GCC Commits --- The releases/gcc-14 branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:72753ec82076d15443c32aac88a8c0fa0ab4bc2f commit r14-10399-g72753ec82076d15443c32aac88a8c0fa0ab4bc2f Author: Alfie Richard

[Bug target/114890] [14/15 Regression] Big-endian addp intrinsics reorder operands

2024-07-09 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114890 Wilco changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug sanitizer/115837] ASAN FPE on unknown address report missing

2024-07-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115837 --- Comment #2 from Jakub Jelinek --- Yeah. You can always make it fatal by -fno-sanitize-recover=integer-divide-by-zero and then already the libubsan runtime will terminate the program. But if you choose to try to recover, the UB just happens

[Bug libstdc++/115838] Some common patterns in libstdc++-14 break many libraries with clang in C++23

2024-07-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115838 --- Comment #2 from Jonathan Wakely --- (In reply to Jean-Michaël Celerier from comment #0) > Issue also posted to the LLVM bugtracker: > https://github.com/llvm/llvm-project/issues/97842 As I just wrote there, I'll consider patches to fix this

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #5 from Uroš Bizjak --- ICE happens in: #1 0x018e82a7 in ix86_expand_int_movcc (operands=0x7fffc140) at ../../git/gcc/gcc/config/i386/i386-expand.cc:3821 3821 out = expand_simple_binop (mode, PLUS, copy

[Bug target/115153] [14/15 Regression] Error: bad immediate value for 8-bit offset - armv7ve

2024-07-09 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115153 Wilco changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/77940] [Coarray] ICE in walk_coarray, at fortran/trans-array.c:6684

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77940 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org

[Bug fortran/83700] [Meta-bug] Fortran Coarray issues

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700 Bug 83700 depends on bug 77940, which changed state. Bug 77940 Summary: [Coarray] ICE in walk_coarray, at fortran/trans-array.c:6684 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77940 What|Removed |Added ---

[Bug fortran/104569] ICE in generate_coarray_sym_init, at fortran/trans-decl.cc:5537 since r8-3365-gb89a63b916340ef2

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104569 Andre Vehreschild changed: What|Removed |Added Resolution|--- |WORKSFORME CC|

[Bug fortran/80774] [11/12/13/14/15 Regression][Coarray] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80774 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org A

[Bug fortran/82904] [11/12/13/14/15 Regression][Coarray] ICE in make_ssa_name_fn, at tree-ssanames.c:261

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82904 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org

[Bug fortran/84244] [11/12/13/14/15 Regression] [Coarray] ICE in recompute_tree_invariant_for_addr_expr, at tree.c:4535

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84244 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org

[Bug fortran/84244] [11/12/13/14/15 Regression] [Coarray] ICE in recompute_tree_invariant_for_addr_expr, at tree.c:4535

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84244 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug fortran/92885] [11/12/13/14/15 Regression] ICE (segfault) with allocatable coarrays

2024-07-09 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92885 Andre Vehreschild changed: What|Removed |Added Resolution|--- |WORKSFORME Assignee|unassi

[Bug target/115457] AArch64 should define __ARM_FEATURE_BF16

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115457 --- Comment #7 from GCC Commits --- The releases/gcc-11 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:d32cfe3352f3863325f8452e83400063b1e71e5b commit r11-11564-gd32cfe3352f3863325f8452e83400063b1e71e5b Author: Kyrylo Tkacho

[Bug target/115475] AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115475 --- Comment #7 from GCC Commits --- The releases/gcc-11 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:ee69d6e1e3bed8c3799c29fad3299bfd2e14f64e commit r11-11565-gee69d6e1e3bed8c3799c29fad3299bfd2e14f64e Author: Kyrylo Tkacho

[Bug target/115457] AArch64 should define __ARM_FEATURE_BF16

2024-07-09 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115457 ktkachov at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug target/115475] AArch64 should define __ARM_FEATURE_SVE_BF16 when appropriate

2024-07-09 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115475 ktkachov at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

Merchandise Manufacturer

2024-07-09 Thread Amy cai via Gcc-bugs
Hi friend, How are you doing? Wanted to reach out to you about private products manufacturing for: *1. Hats/Beanies * *2. Socks * *3. T-shirts/Hoodies * *4. Enamel Pins * *5. Embroidered/Woven/PVC Patches * *6. Bags * *7. Bikinis/Swimwear/Sunglasses * Our factory is based in China. We

[Bug fortran/82904] [11/12/13/14/15 Regression][Coarray] ICE in make_ssa_name_fn, at tree-ssanames.c:261

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82904 --- Comment #15 from Richard Biener --- The issue isn't fixed I think but we now have _F.y = 0; D.4364 = (bitsizetype) (sizetype) NON_LVALUE_EXPR <_F.y> * 8; D.4365 = (sizetype) NON_LVALUE_EXPR <_F.y>; { and that _F mention on the LHS m

[Bug tree-optimization/115841] New: 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 Bug ID: 115841 Summary: 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1 Product: gcc Version: 14.1.1 Status: UNCONFIRMED

[Bug target/115842] New: [15 Regression] 6.5% slowdown of 548.exchange2_r on Intel Ice Lake

2024-07-09 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115842 Bug ID: 115842 Summary: [15 Regression] 6.5% slowdown of 548.exchange2_r on Intel Ice Lake Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: needs-bisec

[Bug tree-optimization/115841] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 Richard Biener changed: What|Removed |Added Keywords||needs-reduction --- Comment #1 from Ri

[Bug tree-optimization/115843] New: 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 Bug ID: 115843 Summary: 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2 Product: gcc Version: 14.1.1 Status: UNCONFIRMED

[Bug tree-optimization/115843] 531.deepsjeng_r fails to verify with -O3 -march=znver4 --param vect-partial-vector-usage=2

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115843 --- Comment #1 from Richard Biener --- I verified that dropping --param vect-partial-vector-usage=2 avoids the verification error.

[Bug c++/115844] New: [14 Regression] Invalid diagnostics for correctly-rejected non-consteval call in consteval function called in a regular lambda

2024-07-09 Thread ali.mpfard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115844 Bug ID: 115844 Summary: [14 Regression] Invalid diagnostics for correctly-rejected non-consteval call in consteval function called in a regular lambda Product: gcc

[Bug tree-optimization/115845] New: 25% runtime regression of 527.cam4_r when enabling --param vect-partial-vector-usage={1,2} ontop of -Ofast --march=znver4

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115845 Bug ID: 115845 Summary: 25% runtime regression of 527.cam4_r when enabling --param vect-partial-vector-usage={1,2} ontop of -Ofast --march=znver4 Product: gcc Ve

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Uroš Bizjak changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com

[Bug tree-optimization/115845] 25% runtime regression of 527.cam4_r when enabling --param vect-partial-vector-usage={1,2} ontop of -Ofast --march=znver4

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115845 Richard Biener changed: What|Removed |Added CC||crazylht at gmail dot com Ke

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #7 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #6) > Proposed patch. Here is the problem: The compiler enters emit_store_flag_1 with: op0=(subreg:SF (reg:SI 424 [ _676 ]) 0) op1=(reg:SF 1308) First, the function doe

[Bug c++/111592] [11/12/13/14/15 Regression] ICE on expanding argument pack into variadic constructor

2024-07-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111592 --- Comment #5 from Simon Martin --- The bug was introduced via https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9efe5fbde1e8; I will submit a patch momentarily.

[Bug target/115362] wrong sign caused by substraction operand swap of two dot product operands

2024-07-09 Thread jondaniel879 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115362 --- Comment #24 from Jon Daniel --- The C++ analog is the difference between std::reduce and std::accumulate but for sub operands.

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #8 from Uroš Bizjak --- Some more explanation: Later in emit_store_flag_1 we have: if (icode != CODE_FOR_nothing) { do_pending_stack_adjust (); rtx tem = emit_cstore (target, icode, code, mode, comp

[Bug libstdc++/115846] New: std::optional> is constant expression even in C++20 mode

2024-07-09 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 Bug ID: 115846 Summary: std::optional> is constant expression even in C++20 mode Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c/115847] New: ICE: tree check: expected none of vector_type, have vector_type in element_precision, at tree.cc:6808 with attribute simd

2024-07-09 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115847 Bug ID: 115847 Summary: ICE: tree check: expected none of vector_type, have vector_type in element_precision, at tree.cc:6808 with attribute simd Product: gcc Ve

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-09 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 Torbjorn SVENSSON changed: What|Removed |Added CC||azoff at gcc dot gnu.org --- Commen

[Bug lto/115848] New: ICE: 'verify_type' failed with -flto and custom attribute

2024-07-09 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115848 Bug ID: 115848 Summary: ICE: 'verify_type' failed with -flto and custom attribute Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Uroš Bizjak changed: What|Removed |Added Attachment #58618|0 |1 is obsolete|

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |11.5

[Bug target/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #10 from Sam James --- Created attachment 58620 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58620&action=edit reduced.ii

[Bug c/115848] ICE: 'verify_type' failed with -flto and strub attribute and typedef of the function type

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

[Bug middle-end/115847] SIMD attribute on a function which returns a vector causes an ICE

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115847 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE: tree check: e

[Bug c++/115844] [14 Regression] Invalid diagnostics for correctly-rejected non-consteval call in consteval function called in a regular lambda

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

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #1 from Andrew Pinski --- I think it is due to: include/std/optional: _GLIBCXX20_CONSTEXPR ~_Storage() { } Which was done in r12-4389-g476f305b6cf11d (for https://wg21.link/p2231 ).

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #2 from Andrew Pinski --- My reading of the paper makes me think this is a libc++ bug because even though std::unique_ptr is not constexpr std::optional> is still if there was optional (value) is not set/use. Especially since std::o

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #3 from Andrew Pinski --- Note here is a more reduced and easier to understand testcase (use a custom class ratehr than unique_ptr): ``` #include struct f { ~f(){} }; // static_assert([] { // f p; // non-constant condition for

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > My reading of the paper makes me think this is a libc++ bug And Microsoft's STD libc++ too.

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #5 from Andrew Pinski --- Note I think the `intent` of std::optional is have it similar to something like myoptional (not exactly but you should get the idea) below: ``` struct f { ~f(){} }; struct myoptional { f *t = nullptr;

[Bug target/115840] RISC-V with V:‘({anonymous})’ may be used uninitialized

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

[Bug libstdc++/115838] libstdc++-14 with clang 17 (18 is ok) in C++23 mode is broken due to limited C++23 support in clang 17 (unknown references in constexpr)

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115838 Andrew Pinski changed: What|Removed |Added Summary|Some common patterns in |libstdc++-14 with clang 17

[Bug tree-optimization/115833] SLP of signed short multiply goes wrong

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115833 --- Comment #5 from Andrew Pinski --- >It seems the very bad code generation is mostly from constructing the V4HImode vectors going via GPRs with shifts and ORs. On x86_64 that is true but aarch64 that is definitely not true: fmovs

[Bug c++/115844] [14 Regression] Invalid diagnostics for correctly-rejected non-consteval call in consteval function called in a regular lambda

2024-07-09 Thread ali.mpfard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115844 --- Comment #2 from Ali Mohammad Pur Fard --- > clang gives the same error message Then perhaps their diagnostic is also not the best. > See https://wg21.link/p2564 >From my interpretation of their given rules, this lambda should not qualify:

[Bug fortran/59104] Wrong result with SIZE specification expression

2024-07-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #8 from anlauf at gcc dot gnu.org --- Paul, are you planning to backport your fix?

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-07-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #10) > Leave open partly because it is awaiting backporting to 14-branch but also > because there are remaining, pre-existing issues involving parentheses >

[Bug libstdc++/115585] [12/13/14 Regression] --disable-libstdcxx-verbose causes undefined symbol: _ZSt21__glibcxx_assert_failPKciS0_S0_, version GLIBCXX_3.4.30

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115585 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:85a39a8aaf683766f8160b982ed4d7b8c44aede0 commit r14-10400-g85a39a8aaf683766f8160b982ed4d7b8c44aede0 Author: Jonathan Wa

[Bug libstdc++/115807] C++23 P0943R6 does't qualify std::atomic in #define _Atomic properly

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115807 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c94c8ff5f5769ab59cbdd46c8669aa7e3ac83a44 commit r14-10401-gc94c8ff5f5769ab59cbdd46c8669aa7e3ac83a44 Author: Jonathan Wak

[Bug target/115849] New: RISC-V should improve handling of -0.0 when -fno-signed-zeros is enabled

2024-07-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115849 Bug ID: 115849 Summary: RISC-V should improve handling of -0.0 when -fno-signed-zeros is enabled Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug c/115850] New: gcc generates invalid warning

2024-07-09 Thread joseph.weening at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115850 Bug ID: 115850 Summary: gcc generates invalid warning Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug tree-optimization/115850] gcc generates invalid warning

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

[Bug sanitizer/99673] [11/13/14/15 Regression] bogus -Wstringop-overread warning with address sanitizer due to member address substitution

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99673 Andrew Pinski changed: What|Removed |Added CC||joseph.weening at gmail dot com --- Comm

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 115850, which changed state. Bug 115850 Summary: gcc generates invalid warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115850 What|Removed |Added ---

[Bug tree-optimization/109968] False Warning stringop-overread at -O2

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109968 Andrew Pinski changed: What|Removed |Added CC||joseph.weening at gmail dot com --- Com

  1   2   >