[Bug target/120553] Improve code to select between -1 and various values

2025-06-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120553 Richard Biener changed: What|Removed |Added Version|unknown |16.0 Keywords|

[Bug tree-optimization/92492] AVX512: Missed vectorization opportunity

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92492 Bug 92492 depends on bug 92658, which changed state. Bug 92658 Summary: x86 lacks vector extend / truncate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 What|Removed |Added -

[Bug target/95764] Failure to optimize usage of _mm512_set1_epi32 to a single instruction

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95764 Hongtao Liu changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug target/87767] Missing AVX512 memory broadcast for constant vector

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87767 Hongtao Liu changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment #23

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 Hongtao Liu changed: What|Removed |Added Known to work||13.1.0 CC|

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 Bug 92645 depends on bug 92658, which changed state. Bug 92658 Summary: x86 lacks vector extend / truncate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 What|Removed |Added -

[Bug target/92611] auto vectorization failed for type promotation

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92611 Bug 92611 depends on bug 92658, which changed state. Bug 92658 Summary: x86 lacks vector extend / truncate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 What|Removed |Added -

[Bug target/92658] x86 lacks vector extend / truncate

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 Hongtao Liu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/116375] redundant copy not eliminated with CONSTRUCTOR

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116375 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug middle-end/116375] redundant copy not eliminated with CONSTRUCTOR

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116375 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug middle-end/120549] call((struct s1){}) causes two stack locations and a memcpy followed by a memset

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120549 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org Known to

[Bug target/58889] GCC 4.9 fails to compile certain functions with intrinsics with __attribute__((target))

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58889 Hongtao Liu changed: What|Removed |Added Known to work||4.9.0 CC|

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

2025-06-04 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 36844, which changed state. Bug 36844 Summary: Vectorizer doesn't support INT<->FP conversions with different size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36844 What|Removed |Adde

[Bug tree-optimization/96654] Failure to optimize vectorized conversion to `int` with AVX

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96654 Bug 96654 depends on bug 36844, which changed state. Bug 36844 Summary: Vectorizer doesn't support INT<->FP conversions with different size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36844 What|Removed |Adde

[Bug tree-optimization/36844] Vectorizer doesn't support INT<->FP conversions with different size

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36844 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org St

[Bug middle-end/50384] Returning std::array is not optimal

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50384 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug c++/110648] Missed optimization for small returned optional leads to redundant memory accesses

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110648 --- Comment #2 from Andrew Pinski --- *** This bug has been marked as a duplicate of bug 95384 ***

[Bug target/116414] Missed optimization: Branch elimination and memory writes

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116414 --- Comment #3 from Andrew Pinski --- *** This bug has been marked as a duplicate of bug 95384 ***

[Bug tree-optimization/95384] Poor codegen cause by using base class instead of member for Optional construction

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95384 Andrew Pinski changed: What|Removed |Added CC||cfsteefel at arista dot com --- Comment

[Bug tree-optimization/95384] Poor codegen cause by using base class instead of member for Optional construction

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95384 Andrew Pinski changed: What|Removed |Added CC||madhur4127 at gmail dot com --- Comment

[Bug middle-end/101326] std::optional returns forced through stack

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101326 --- Comment #7 from Andrew Pinski --- *** This bug has been marked as a duplicate of bug 95384 ***

[Bug tree-optimization/95384] Poor codegen cause by using base class instead of member for Optional construction

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95384 Andrew Pinski changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comment

[Bug middle-end/95383] Poor codegen when constructing a trivial Optional

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95383 --- Comment #3 from Andrew Pinski --- *** This bug has been marked as a duplicate of bug 95384 ***

[Bug tree-optimization/95384] Poor codegen cause by using base class instead of member for Optional construction

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95384 --- Comment #5 from Andrew Pinski --- *** Bug 95383 has been marked as a duplicate of this bug. ***

[Bug middle-end/110459] Trivial on stack variable was not optimized away

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110459 --- Comment #4 from Andrew Pinski --- Created attachment 61586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61586&action=edit Fix which needs testcases and full testing This is the fix which I will finishing up tomorrow.

[Bug target/82897] Unnecessary zero-extension when loading mask register from memory

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

[Bug target/82897] Unnecessary zero-extension when loading mask register from memory

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82897 --- Comment #12 from Hongtao Liu --- (In reply to Andrew Pinski from comment #10) > Looks like this was fixed in GCC 15: > ``` > foo: > .LFB7284: > .cfi_startproc > vmovd %edi, %xmm2 > vmovdqa32 %zmm1, %zmm4 >

[Bug target/82897] Unnecessary zero-extension when loading mask register from memory

2025-06-04 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82897 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #1

[Bug middle-end/110459] Trivial on stack variable was not optimized away

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110459 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Andrew Pin

[Bug ipa/108800] Missed optimization: IPA-SRA keeps a single-field structure formal parameter even when IPA-CP knows its contents

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108800 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-02-15 00:00:00 |2025-6-4 Severity|normal

[Bug tree-optimization/105260] Union with user-defined empty destructor leads to worse code-gen

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105260 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-06-05 Assignee|unassigne

[Bug target/120553] New: Improve code to select between -1 and various values

2025-06-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120553 Bug ID: 120553 Summary: Improve code to select between -1 and various values Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/120513] Possible arch or configure issue

2025-06-04 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #11 from Greg Chandler --- Actually as I pointed out in a prior update, it works fine as a native... So the cross is the one that complains about the missing main.. I'm still not sure if that is a bug, or something that is supposed

[Bug c++/120552] Adding ftime-report creates ICE

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120552 --- Comment #2 from Andrew Pinski --- >The *.ii is attached. Looks like it was not attached; most likely due to size. Please compress it and retry attaching it. This also might be fixed already.

[Bug target/120513] Possible arch or configure issue

2025-06-04 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #10 from Greg Chandler --- Ok, I was wrong, it wasn't the defines /tmp/gcc-14.2.0/gcc.build.lnx/libiberty# cat 1.c #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define

[Bug c++/120552] Adding ftime-report creates ICE

2025-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120552 Sam James changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/116681] [12 Regression] ICE: in start, at timevar.cc:491 with -ftime-report -std=c++20

2025-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116681 Sam James changed: What|Removed |Added CC||ric.larsson at gmail dot com --- Comment #1

[Bug c++/120552] New: Adding ftime-report creates ICE

2025-06-04 Thread ric.larsson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120552 Bug ID: 120552 Summary: Adding ftime-report creates ICE Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/120513] Possible arch or configure issue

2025-06-04 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #9 from Greg Chandler --- I've done a lot of digging through the config script and am seeing some absurd behaviour... The first of the "not detected" files is sys/file.h, and the conftest.c created for that is this: /tmp/gcc-14.2.0

[Bug tree-optimization/42970] Missed unused function return value elimination

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42970 --- Comment #9 from Andrew Pinski --- I think this was fully fixed by r14-4383 .

[Bug target/82897] Unnecessary zero-extension when loading mask register from memory

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82897 --- Comment #10 from Andrew Pinski --- Looks like this was fixed in GCC 15: ``` foo: .LFB7284: .cfi_startproc vmovd %edi, %xmm2 vmovdqa32 %zmm1, %zmm4 kmovw m(%rip), %k1 vpsrad %xmm2, %zmm0, %zmm

[Bug middle-end/80006] loss of range information due to spurious widening conversion

2025-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80006 --- Comment #8 from Sam James --- Indeed, it XPASSes for me on x86_64 now: +XPASS: gcc.dg/attr-alloc_size-11.c missing range info for short (test for warnings, line 51) +XPASS: gcc.dg/attr-alloc_size-11.c missing range info for signed char (test

[Bug cobol/119323] cppcheck meets libgcobol

2025-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119323 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 --- Comment #12 from Sam James --- Se

[Bug rtl-optimization/120050] [15 Regression] ICE bootstrapping on mips64el with --with-arch=gs464 --with-build-config=bootstrap-O3 --enable-checking=yes,extra

2025-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120050 Sam James changed: What|Removed |Added Last reconfirmed||2025-06-04 Assignee|unassigned at

[Bug tree-optimization/113964] [12/13/14/15/16 Regression] repeat copy of struct

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113964 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/114169] miss optimization of repeat load&store in place

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114169 --- Comment #6 from Andrew Pinski --- *** Bug 113964 has been marked as a duplicate of this bug. ***

[Bug modula2/120542] Return statement in the main procedure crashes the compiler

2025-06-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120542 --- Comment #2 from Gaius Mulley --- Created attachment 61585 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61585&action=edit Proposed fix which detects whether a return statement is allowed The patch checks whether a return statement is

[Bug target/119953] Compiling libstdc++ on MSP430 fails

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119953 --- Comment #7 from Jonathan Wakely --- bad: r15-2208-gd1b25543f93c26 good: r15-2170-g7db47f7b915c5f still running ...

[Bug target/119953] Compiling libstdc++ on MSP430 fails

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119953 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-06-04 Status|UNCONFI

[Bug tree-optimization/113964] [12/13/14/15/16 Regression] repeat copy of struct

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113964 Andrew Pinski changed: What|Removed |Added Keywords||fixed-but-no-testcase --- Comment #11 f

[Bug c++/120551] Dynamic char array allocation with string literal in brace initialization fails to use the initialization if size provided is not constexpr

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120551 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/120551] Dynamic char array allocation with string literal in brace initialization fails to use the initialization if size provided is not constexpr

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120551 --- Comment #1 from Andrew Pinski --- Created attachment 61584 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61584&action=edit Reduced testcase Note MSVC ICEs on this. EDG and clang works.

[Bug c++/120551] New: Dynamic char array allocation with string literal in brace initialization fails to use the initialization if size provided is not constexpr

2025-06-04 Thread kirshamir at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120551 Bug ID: 120551 Summary: Dynamic char array allocation with string literal in brace initialization fails to use the initialization if size provided is not constexpr Product:

[Bug target/89606] Extra mov after structure load instructions on aarch64

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606 --- Comment #7 from Andrew Pinski --- Patch for the testcase submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/685685.html

[Bug tree-optimization/120231] GCC fails to notice that (double)u64 is non-negative

2025-06-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120231 --- Comment #11 from Jakub Jelinek --- Created attachment 61583 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61583&action=edit gcc16-pr120231.patch Untested patch for the float -> int and int -> float casts and their reverse ops. Unfor

[Bug fortran/119994] Valid specification expression in block rejected

2025-06-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119994 --- Comment #7 from anlauf at gcc dot gnu.org --- Created attachment 61582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61582&action=edit Exploratory patch This patch tries to improve upon the determination of whether a symbol is host-as

[Bug libstdc++/110339] Implement C++26 library features

2025-06-04 Thread ncm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Bug 110339 depends on bug 119741, which changed state. Bug 119741 Summary: [C++26] Implement P2495R3, Interfacing stringstreams with string_view https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119741 What|Removed

[Bug libstdc++/119741] [C++26] Implement P2495R3, Interfacing stringstreams with string_view

2025-06-04 Thread ncm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119741 Nathan Myers changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/120518] nvptx offloading: "OpenMP: Handle more cases in user/condition selector" regresses C++ 'c-c++-common/gomp/metadirective-target-device-2.c'

2025-06-04 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120518 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|UNC

[Bug c++/120518] nvptx offloading: "OpenMP: Handle more cases in user/condition selector" regresses C++ 'c-c++-common/gomp/metadirective-target-device-2.c'

2025-06-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120518 --- Comment #3 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:9788a1e2486b55dd1ab521e34bfaf9f4974d commit r16-1119-g9788a1e2486b55dd1ab521e34bfaf9f4974d Author: Sandra Loosemore Dat

Checking in on THCA Article

2025-06-04 Thread Jonathan Garner via Gcc-bugs
Hi there, Just following up to see if you're interested in the THCA article proposal. Let me know if you'd like to discuss further. Thanks, Jonathan

[Bug libstdc++/119741] [C++26] Implement P2495R3, Interfacing stringstreams with string_view

2025-06-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119741 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathan Myers : https://gcc.gnu.org/g:8537e4851072ea1f1982c4c6ab0d24c9383e9edd commit r16-1117-g8537e4851072ea1f1982c4c6ab0d24c9383e9edd Author: Nathan Myers Date: Wed

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-06-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #17 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d045eb13b0b42870a1f081895df3901112a358f0 commit r16-1118-gd045eb13b0b42870a1f081895df3901112a358f0 Author: Jonathan Wakely Date:

[Bug target/119953] Compiling libstdc++ on MSP430 fails

2025-06-04 Thread gabemarcano at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119953 --- Comment #5 from Gabriel Marcano --- Oh, this may be relevant. This is the output of -v for the generated xgcc that reproduces the problem: # gcc/xgcc -v -B. -B gcc/ Reading specs from gcc/specs COLLECT_GCC=gcc/xgcc COLLECT_LTO_WRAPPER=gcc/l

[Bug cobol/119323] cppcheck meets libgcobol

2025-06-04 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119323 --- Comment #11 from Robert Dubner --- I suspect that the preference for prefix notation is an historical oddity. And it is not hard to write pseudo code that demonstrates extra temporary variables might be needed. And it's always fun to look

[Bug cobol/119323] cppcheck meets libgcobol

2025-06-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119323 --- Comment #10 from David Binderman --- (In reply to Robert Dubner from comment #9) > This was an interesting exercise. Good. > cppcheck was a bit snide about using ++/-- prefix notation for iterators > rather than the postfix notation, givin

[Bug target/120141] [RVV] Noop are not removed

2025-06-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120141 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/120502] [15/16 Regression] ICE in verify_ctor_sanity with -std=c++20 -O1 and no_unique_address since r15-9189

2025-06-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120502 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0292e066d5e87e84ff00510724987501b3931518 commit r16-1115-g0292e066d5e87e84ff00510724987501b3931518 Author: Jason Merrill Date: We

[Bug c++/120529] __reference_{converts,constructs}_from_temporary ignore access control

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120529 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-06-04 Status|UNCONFI

[Bug target/120550] [16 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8

2025-06-04 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550 --- Comment #2 from Edwin Lu --- (In reply to Andrew Pinski from comment #1) > Created attachment 61581 [details] > Might be miscompiled before r16-372 > > Can you re-bisect using this testcase? This changes your main into a new > function whic

[Bug target/120513] Possible arch or configure issue

2025-06-04 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513 --- Comment #8 from Greg Chandler --- I've been digging deeper on this, and am starting to wonder if there is something else going on behind the scenes in the build. For example: # grep limits.h /tmp/log-alpha checking for limits.h... no chec

[Bug modula2/120542] Return statement in the main procedure crashes the compiler

2025-06-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120542 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120550] [16 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550 --- Comment #1 from Andrew Pinski --- Created attachment 61581 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61581&action=edit Might be miscompiled before r16-372 Can you re-bisect using this testcase? This changes your main into a new f

[Bug target/120550] [16 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Keywords|

[Bug target/120550] New: [16 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8

2025-06-04 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120550 Bug ID: 120550 Summary: [16 Regression] RISC-V: Miscompile at -O3 since r16-372-g064cac730f8 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug target/120479] missed opportunity to generate czero.nez

2025-06-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120479 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/120548] std::format confuses a negative sign for a thousands digit when formatting floating point numbers

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120548 --- Comment #3 from Jonathan Wakely --- So the fix needs to also check for a leading ' ' as the sign character: --- a/libstdc++-v3/include/std/format +++ b/libstdc++-v3/include/std/format @@ -2398,9 +2398,16 @@ namespace __format const

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2025-06-04 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 --- Comment #7 from Iain Sandoe --- on a bit more examination - it seems to me that: http://eel.is/c++draft/expr.await#2 says that this should be ill-formed Since the GCC doc says: Built-in Function: int __builtin_constant_p (exp) You can u

[Bug libstdc++/120548] std::format confuses a negative sign for a thousands digit when formatting floating point numbers

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120548 --- Comment #2 from Jonathan Wakely --- It's also wrong for: format(std::locale("en_GB.UTF-8"), "{:+L}", 123.45) == "+,123.45" format(std::locale("en_GB.UTF-8"), "{: L}", 123.45) == " ,123.45"

[Bug c++/120545] Explicitly deleted template friend function is considered a declaration rather than a definition

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120545 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Explicitly delet

[Bug target/120544] GCC 15.1.0 and MacOS Monterey : compilation failed

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

[Bug c++/120548] std::format confuses a negative sign for a thousands digit when formatting floating point numbers

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120548 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug c++/120548] std::format confuses a negative sign for a thousands digit when formatting floating point numbers

2025-06-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120548 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug target/89606] Extra mov after structure load instructions on aarch64

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606 Andrew Pinski changed: What|Removed |Added Keywords||fixed-but-no-testcase --- Comment #6 fro

[Bug fortran/99838] ICE in gfc_format_decoder, at fortran/error.c:970

2025-06-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99838 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|-

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-06-04 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #44 from Nicolas Boulenguez --- Created attachment 61580 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61580&action=edit v18 truncate instead of rounding Hello. > To_Timeval is rounding values whereas it is currently truncat

[Bug fortran/99838] ICE in gfc_format_decoder, at fortran/error.c:970

2025-06-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99838 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c77dd2d7d40d4fb0d141bf61544d8a57d501f981 commit r15-9763-gc77dd2d7d40d4fb0d141bf61544d8a57d501f981 Author: Harald Anlauf D

[Bug middle-end/120547] Wrong-code due to real_from_integer

2025-06-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120547 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2025-06-04 Ever confirmed|0

[Bug tree-optimization/108358] [13/14/15/16 Regression] Dead Code Elimination Regression at -Os since r13-3378-gf6c168f8c06047

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108358 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/120549] call((struct s1){}) causes two stack locations and a memcpy followed by a memset

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120549 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/120549] New: call((struct s1){}) causes two stack locations and a memcpy followed by a memset

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120549 Bug ID: 120549 Summary: call((struct s1){}) causes two stack locations and a memcpy followed by a memset Product: gcc Version: 16.0 Status: UNCONFIRMED Keyword

[Bug target/25500] [4.0/4.1/4.2/4.3 Regression]: SSE2 vectorized code is slower on 4.x.x than previous

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25500 Bug 25500 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added -

[Bug tree-optimization/13952] [tree-ssa] SRA does not work for structs containing arrays

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13952 Bug 13952 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added -

[Bug middle-end/22156] [4.0/4.1/4.2/4.3 Regression] bit-field copying regressed

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22156 Bug 22156 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added -

[Bug tree-optimization/117793] missed copy propagation across memcpy

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117793 Bug 117793 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added ---

[Bug tree-optimization/113964] [12/13/14/15/16 Regression] repeat copy of struct

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113964 Bug 113964 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added ---

[Bug tree-optimization/106106] SRA scalarizes structure copies

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106106 Bug 106106 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added ---

[Bug middle-end/36598] Failed optimisation of return of struct argment in memcpy-1.c

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36598 Bug 36598 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added -

[Bug target/89606] Extra mov after structure load instructions on aarch64

2025-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606 Bug 89606 depends on bug 14295, which changed state. Bug 14295 Summary: [tree-ssa] copy propagation for aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 What|Removed |Added -

  1   2   3   >