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

2024-07-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115847 --- Comment #3 from Jakub Jelinek --- Yeah, the Intel ABI for this only handles scalar integral/pointer/enum/bool/floating point types and _Complex, and our variant thereof doesn't even handle _Complex. Returning arrays is returning pointers, so

[Bug tree-optimization/115252] The SLP vectorizer failed to perform automatic vectorization on pixel_sub_wxh of x264

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

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

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

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

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115842 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Version|14.0

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

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

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2024-07-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #35 from Uroš Bizjak --- (In reply to Mayshao-oc from comment #34) > Can we extend this patch to Zhaoxin processors as well? Just post the enablement patch to gcc-patches@ mailing list.

[Bug target/110456] vectorization with loop masking prone to STLF issues

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110456 Richard Biener changed: What|Removed |Added Blocks||26163 --- Comment #3 from Richard Bien

[Bug target/110456] vectorization with loop masking prone to STLF issues

2024-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110456 --- Comment #2 from Richard Biener --- *** Bug 115845 has been marked as a duplicate of this bug. ***

[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 Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2024-07-09 Thread Mayshao-oc at zhaoxin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #34 from Mayshao-oc at zhaoxin dot com --- (In reply to Jakub Jelinek from comment #17) > Fixed for AMD on the library side too. > We need a statement from Zhaoxin and VIA for their CPUs. Sorry for the late reply. We guarantee that V

[Bug target/110040] rs6000 port emits dead mfvsrd instruction for simple test case

2024-07-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040 --- Comment #4 from Kewen Lin --- (In reply to Peter Bergner from comment #3) > Kewen and Segher, is this something we want backported or just call it good > and close as FIXED? I ask since the patch just adds a simple splitter which > doesn't

[Bug target/113715] RISC-V: If the Zcmp is enabled, the a0 register operates abnormally when the program returns

2024-07-09 Thread gaofei at eswincomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113715 --- Comment #7 from Fei Gao --- Fix has been merged into master: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=7a345d0314f8cf0f15ca3664b1e4430d65764570 and also releases/gcc-14: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=efa30f619361b043616e

[Bug tree-optimization/115721] expand_complex_comparison has handling of GIMPLE_RETURN but a comparison can't be in a return

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

[Bug tree-optimization/115721] expand_complex_comparison has handling of GIMPLE_RETURN but a comparison can't be in a return

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115721 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:8f8bddb58ad7746b2a19c43e32641d161fa15caf commit r15-1933-g8f8bddb58ad7746b2a19c43e32641d161fa15caf Author: Andrew Pinski Date: Tu

[Bug target/113715] RISC-V: If the Zcmp is enabled, the a0 register operates abnormally when the program returns

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113715 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Fei Gao : https://gcc.gnu.org/g:efa30f619361b043616e624e57366a50982e11df commit r14-10403-gefa30f619361b043616e624e57366a50982e11df Author: Fei Gao Date: Tue

[Bug target/110040] rs6000 port emits dead mfvsrd instruction for simple test case

2024-07-09 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040 Peter Bergner changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #3

[Bug middle-end/115853] Unnecessary push to stack in __attribute((noreturn)) Reset_Handler(), leading to permanent wasted SRAM

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115853 Andrew Pinski changed: What|Removed |Added Target||arm*-*-* Component|tree-optimi

[Bug c++/115852] ICE in satisfy_declaration_constraints when using a explicit object lambda inside requires clause

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115852 --- Comment #2 from Andrew Pinski --- /* The TI_ARGS of a regenerated lambda contains only the innermost set of template arguments. Augment this with the outer template arguments that were used to regenerate the lambda.

[Bug tree-optimization/115853] New: Unnecessary push to stack in __attribute((noreturn)) Reset_Handler(), leading to permanent wasted SRAM

2024-07-09 Thread rlcamp.pdx at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115853 Bug ID: 115853 Summary: Unnecessary push to stack in __attribute((noreturn)) Reset_Handler(), leading to permanent wasted SRAM Product: gcc Version: 13.3.1 Status: UNCON

[Bug c++/115852] ICE in satisfy_declaration_constraints when using a explicit object lambda inside requires clause

2024-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115852 --- Comment #1 from Andrew Pinski --- Here is the full backtrace (godbolt's backtrace is not decent; maybe because it is stripped): auto x(Ts0&& ...) requires requires{;} int main() constexpr::operator decltype ((static_cast())) (*)(Self&&)()

[Bug c++/115852] New: gcc crashed in diagnostic_context::diagnostic_impl when using a explicit object lambda inside requires clause

2024-07-09 Thread rungecc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115852 Bug ID: 115852 Summary: gcc crashed in diagnostic_context::diagnostic_impl when using a explicit object lambda inside requires clause Product: gcc Version: 15.0

[Bug target/113715] RISC-V: If the Zcmp is enabled, the a0 register operates abnormally when the program returns

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113715 --- Comment #5 from GCC Commits --- The master branch has been updated by Fei Gao : https://gcc.gnu.org/g:7a345d0314f8cf0f15ca3664b1e4430d65764570 commit r15-1932-g7a345d0314f8cf0f15ca3664b1e4430d65764570 Author: Fei Gao Date: Tue Jul 9 10:

[Bug c++/115851] New: ICE in gimplify_var_or_parm_decl with coroutine suspension point inside statement expression

2024-07-09 Thread daklishch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115851 Bug ID: 115851 Summary: ICE in gimplify_var_or_parm_decl with coroutine suspension point inside statement expression Product: gcc Version: unknown Status: UNCONFIRMED

[Bug libstdc++/115846] 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 --- Comment #8 from 康桓瑋 --- (In reply to 康桓瑋 from comment #7) > (In reply to Jonathan Wakely from comment #6) > > (In reply to Andrew Pinski from comment #1) > > > I think it is due to: > > > include/std/optional: _GLIBCXX20_CONSTEXPR ~_Stor

[Bug libstdc++/115846] 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 --- Comment #7 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #6) > (In reply to Andrew Pinski from comment #1) > > I think it is due to: > > include/std/optional: _GLIBCXX20_CONSTEXPR ~_Storage() { } > > > > Which was done in r12-4

[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 #3 from YunQiang Su --- Created attachment 58621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58621&action=edit preprocessed source

[Bug tree-optimization/115721] expand_complex_comparison has handling of GIMPLE_RETURN but a comparison can't be in a return

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

[Bug target/115759] RISC-V: complex code generated for lmbench's fwr when uses scalable autovec

2024-07-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115759 --- Comment #1 from JuzheZhong --- Do you mean you want to see the codegen look like LLVM: https://godbolt.org/z/b7W88WTGo ? I personally think GCC has better codegen than LLVM for your case in general since LLVM is using strided store wheras

[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 Resolution|--- |FIXED Status|ASSIGNED

[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 #7 from GCC Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:987e70f4290451abd98eda8b82e97b4ad25ee3c2 commit r12-10608-g987e70f4290451abd98eda8b82e97b4ad25ee3c2 Author: Jonathan Wak

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

2024-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #8 from Jason Merrill --- Yes, looks like decl_binds_to_current_def_p needs to check DECL_ONE_ONLY as well as DECL_WEAK.

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

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

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

2024-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #6 from Jason Merrill --- I guess the "only if" needs to be more conservative for COMDAT functions.

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

2024-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049 --- Comment #5 from Jason Merrill --- -fipa-ra sounds like a likely culprit: Use caller save registers for allocation if those registers are not used by any called function. In that case it is not necessary to save and restore t

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

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

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394 for targets where sizeof(int)==sizeof(long)

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 --- Comment #6 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:5b46f196cdb62af0e611315ea411938d756a0ad1 commit r15-1930-g5b46f196cdb62af0e611315ea411938d756a0ad1 Author: Martin Uecker Date: S

[Bug c/114727] ICE with c23 with aligned attribute and -g

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114727 --- Comment #7 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:7825c07bbaf503c47ecedd87e3d64be003b24f2c commit r15-1929-g7825c07bbaf503c47ecedd87e3d64be003b24f2c Author: Martin Uecker Date: S

[Bug c/115696] [15 regression] ICE on invalid repeated mixed declarations (tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in comptypes_verify, at c/c-typeck.cc:1178)

2024-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115696 --- Comment #3 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:592a746533a278a5fd3e7b5dff004e1846ef26a4 commit r15-1928-g592a746533a278a5fd3e7b5dff004e1846ef26a4 Author: Martin Uecker Date: S

[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 #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c36ef56fc1df456a2174d7cb42967a0e871597c2 commit r13-8900-gc36ef56fc1df456a2174d7cb42967a0e871597c2 Author: Jonathan Wake

[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 #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3cd410fe4f48ffd841fcd5442d1f2d6350666330 commit r13-8899-g3cd410fe4f48ffd841fcd5442d1f2d6350666330 Author: Jonathan Wak

[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 --- Comment #2 from Andrew Pinski --- Actually let's mark this as a dup of bug 109968. *** This bug has been marked as a duplicate of bug 109968 ***

[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

[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 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/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 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 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 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 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 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 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 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 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 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 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++/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 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 #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 #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 #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 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 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/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 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 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 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 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/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 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 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 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 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 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/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 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 Uroš Bizjak changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com

[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 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/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 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/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 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] 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 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

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 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

[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 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 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 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 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/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/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/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/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/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/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 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 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 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

  1   2   >