[Bug tree-optimization/110182] [11 Regression] Vector(2) cast from double to float and back and subtraction seems to produce incorrect results

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110182 --- Comment #9 from Sam James --- r14-2150-gfe48f2651334bc added checking for this case.

[Bug lto/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code Component|

[Bug c++/101911] Type cannot be defined inside of the lambda in unevaluated context

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101911 Andrew Pinski changed: What|Removed |Added CC||tymi at tymi dot org --- Comment #3 fro

[Bug c++/119072] GCC rejects type declaration inside a lamdba inside a decltype specifier

2025-02-28 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119072 --- Comment #2 from Tymi --- Ah okay. Thank you!

[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-02-28 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 --- Comment #4 from XU Kailiang --- (In reply to Jonathan Wakely from comment #3) > Patch posted to the list (thanks!): > > https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674531.html This patch seems not well formatted. I re-sent a re-

[Bug c++/119072] GCC rejects type declaration inside a lamdba inside a decltype specifier

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

[Bug c++/119072] New: GCC rejects type declaration inside decltype specifier

2025-02-28 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119072 Bug ID: 119072 Summary: GCC rejects type declaration inside decltype specifier Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 C

[Bug middle-end/44566] configuration with multiple targets / backends is not supported.

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44566 --- Comment #12 from Jeffrey A. Law --- I think we should just close this. Realistically I don't see us ever implementing this feature.

[Bug target/107878] Incomplete documentation for H8/300

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107878 --- Comment #3 from Jeffrey A. Law --- Yea, I think H8/SX support was bits from Alexandre. Feel free to add the appropriate docs. Doc fixes are always acceptable during stage4. I removed -mn a while back. If I left a -mn bit the in the docs,

[Bug bootstrap/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o since r15-7400-gd3ff498c478ace

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

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Attachment #60622|0 |1 is obsolete|

[Bug middle-end/101955] (signed<<

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/109189] Format string warnings in gcc/config/h8300/h8300.cc under MigW-W64/MSYS2

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109189 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:2fc17730dcef182bba3c9d4e32fc00302ef421fe commit r15-7768-g2fc17730dcef182bba3c9d4e32fc00302ef421fe Author: Jan Dubiec Date: Fri Feb 2

[Bug target/109189] Format string warnings in gcc/config/h8300/h8300.cc under MigW-W64/MSYS2

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109189 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/103482] Unnecessary ANDI instruction is generated for MIPS target

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103482 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/104387] aarch64: Redundant SXTH for “bag of bits” moves

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104387 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/96031] suboptimal codegen for store low 16-bits value

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96031 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/95650] aarch64: Missed optimization storing addition of two shorts

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95650 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/104853] [RISC-V] -march=rv64g not including extension Zifencei

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/106245] Failure to optimize (u8)(a << 7) >> 7 pattern to a & 1

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106245 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #4 from Andrew Pinski --- Created attachment 60621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60621&action=edit gimple testcase This works at -O0 but fails at -O2+.

[Bug tree-optimization/119071] [12/13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps`

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Summary|[13/

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Attachment #60621|0 |1 is obsolete|

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #3 from Andrew Pinski --- So the place where this match pattern happens is: _16 = a.0_1 == -2; # RANGE [irange] int [0, 1] MASK 0x1 VALUE 0x0 _17 = (intD.6) _16; # RANGE [irange] int [-1, 0] _12 = -_17; # RANGE [irange] i

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c/119071] Miscompile at -Os

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #1 from Andrew Pinski --- `-O2 -fno-thread-jumps` also produces the incorrect result.

[Bug rtl-optimization/78085] extra sign extend if used to store in 32bit and return 64bit and the upper bits are known to be zeroed.

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78085 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/119071] New: Miscompile at -Os

2025-02-28 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Bug ID: 119071 Summary: Miscompile at -Os Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassi

[Bug fortran/118793] request NAMELIST reports of input errors indicate position of error and show line containing error

2025-02-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118793 --- Comment #4 from Jerry DeLisle --- The particular error situation is unique because it is just before we try to match the variable name. This might be sufficient in this case: $ ./a.out At line 18 of file pr118793.f90 Fortran runtime error

[Bug target/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 --- Comment #8 from Andrew Pinski --- Here is a testcase that does not use builtins: file0.cc: ``` typedef char __v32qi __attribute__ ((__vector_size__ (32))); struct ff { __v32qi t; }; __v32qi g(struct ff a) { return a.t; } ``` file1.cc:

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 --- Comment #2 from Andrew Pinski --- Plus why not just use casts?

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-02-28 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #9 from Levi Zim --- (In reply to Sam James from comment #8) > Thanks. First, try strip out various bits from the packaging like > STAGE1_*FLAGS (which is only really safe if you're 100% sure the stage1 > compiler is robust, and I wo

[Bug c++/119056] class template with non-type argument does not recognize copy/move constructor prototype when parameter is not using the template argument

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

[Bug c++/86646] Special member function 'cannot be defaulted' if type alias is used

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86646 Andrew Pinski changed: What|Removed |Added CC||sandberg.sven at gmail dot com --- Comme

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 --- Comment #1 from Andrew Pinski --- Is there a proposed C paper for this? Do you have edits that could be applied to the C23 standard to support this?

[Bug c++/119060] [C++26] P1494R5 - Partial program correctness

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119060 --- Comment #1 from Andrew Pinski --- Note I think R4 is the only version that is public so far.

[Bug target/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Andrew Pinski changed: What|Removed |Added Target||x86_64 Ever confirmed|0

[Bug driver/69761] collect2 cannot find ld when built with in-tree binutils on Cygwin

2025-02-28 Thread ljrittle at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69761 --- Comment #2 from Loren Rittle --- Studying gcc/configure.ac , the workaround for at least gcc-15 is to add: --with-plugin-ld=ld I am trying another bootstrap with this patch: $ git diff gcc/configure.ac diff --git a/gcc/configure.ac b/gcc/c

[Bug libstdc++/116440] [14/15 Regression] [C++20] std::tuple> does not compile

2025-02-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug middle-end/119066] Warn when address of local variable is passed to on_exit

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119066 Andrew Pinski changed: What|Removed |Added Blocks|87403 |104077 Component|c

[Bug libstdc++/104395] ext/bitmap_allocator.h is not C++98 friendly when using with -faligned-new

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104395 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3b9885ac4df2e83cec2080d5a7013b71345a7a7b commit r14-11362-g3b9885ac4df2e83cec2080d5a7013b71345a7a7b Author: Jonathan Wa

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-02-28 Thread Erich.Loew at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #49 from Erich Löw --- Yep, understood: using priorities below 101 in user code is forbidden. I was just eager to see if using reserved priority 99 in user code together with production compiler would trigger the duplicating of symb

[Bug target/114222] gcc.c-torture/execute/builtin-bitops-1.c fails for H8/300

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114222 --- Comment #5 from Jeffrey A. Law --- But I would say that is the core problem. ISTM newlib should provide an actual implementation of ffs rather than assuming that GCC will provide one suitable for use in all circumstances. The current code

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #48 from Jonathan Wakely --- (In reply to Erich Löw from comment #45) > Created attachment 60618 [details] > The source code [[gnu::init_priority(99)]] Coord A::c0(4u, 5u); This uses a priority below 101, which is reserved for the

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>>

2025-02-28 Thread gessos.paul at yahoo dot gr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 --- Comment #11 from Chameleon --- It misbehaves. I don't want to send you my complete library. I will try to make a minimized failing test case in next days.

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-02-28 Thread Erich.Loew at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #47 from Erich Löw --- Created attachment 60620 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60620&action=edit The generated assembler file

[Bug tree-optimization/119070] gcc15 incorrectly reporting negative array-bounds errors

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

[Bug libstdc++/104395] ext/bitmap_allocator.h is not C++98 friendly when using with -faligned-new

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104395 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #12 from Jonathan Wa

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 119070, which changed state. Bug 119070 Summary: gcc15 incorrectly reporting negative array-bounds errors https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119070 What|Removed |Added

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-02-28 Thread Erich.Loew at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #46 from Erich Löw --- Created attachment 60619 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60619&action=edit The make file

[Bug c++/118981] "_GLOBAL__sub_I.00099_tzdb.cc" defined twice in the assembly output for c++20/tzdb.cc with -fvtable-verify=std (--enable-vtable-verify)

2025-02-28 Thread Erich.Loew at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118981 --- Comment #45 from Erich Löw --- Created attachment 60618 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60618&action=edit The source code

[Bug libstdc++/112803] : to(Args&&... args) is missing Mandates

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112803 --- Comment #2 from Jonathan Wakely --- Fixed on trunk so far.

[Bug libstdc++/105609] ranges::move(_backward) should use ranges​::​iter_move instead of std​::​move

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105609 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #2 from Jonathan Wak

[Bug libstdc++/106612] ranges::iter_move does not consider iterator's value categories

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106612 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a8ee522c5923ba17851e4b71316a2dff19d6368f commit r15-7766-ga8ee522c5923ba17851e4b71316a2dff19d6368f Author: Jonathan Wakely Date:

[Bug libstdc++/106612] ranges::iter_move does not consider iterator's value categories

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106612 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #4 from Jonathan Wak

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #24 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3a8d05b61a9568d60ee922f899408555470eeff1 commit r14-11367-g3a8d05b61a9568d60ee922f899408555470eeff1 Author: Jonathan Wa

[Bug libstdc++/105258] std::get_temporary_buffer() does not respect alignment (affects std::stable_sort())

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105258 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fb9a2af992813f874c942472fb35506b6180ffbf commit r14-11360-gfb9a2af992813f874c942472fb35506b6180ffbf Author: Jonathan Wa

[Bug libstdc++/105609] ranges::move(_backward) should use ranges​::​iter_move instead of std​::​move

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105609 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3866ca796d5281d33f25b4165badacf8f198c6d1 commit r15-7765-g3866ca796d5281d33f25b4165badacf8f198c6d1 Author: Jonathan Wakely Date:

[Bug libstdc++/112803] : to(Args&&... args) is missing Mandates

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112803 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a9cfcd0d9e3780c71442057f636f62a7142056cb commit r15-7764-ga9cfcd0d9e3780c71442057f636f62a7142056cb Author: Jonathan Wakely Date:

[Bug c++/117436] [contracts] Using data member inside a lambda from a contract fails

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117436 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco

[Bug c++/117579] [contracts] contract assertion on a non empty statement causes an ICE

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117579 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/119070] gcc15 incorrectly reporting negative array-bounds errors

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119070 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #12 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:f7bc17ebc9ef89700672ed7125da719f3558f3b7 commit r15-7763-gf7bc17ebc9ef89700672ed7125da719f3558f3b7 Author: Iain Buclaw Date: Fri

[Bug tree-optimization/119070] gcc15 incorrectly reporting negative array-bounds errors

2025-02-28 Thread taylor.hutt at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119070 --- Comment #4 from Taylor Hutt --- (In reply to Andrew Pinski from comment #3) > I don't see anything wrong with the warning since it is undefined in C to > what this testcase is trying to do. > > Do you have a full source rather than a reduce

[Bug c/119070] gcc15 incorrectly reporting negative array-bounds errors

2025-02-28 Thread taylor.hutt at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119070 --- Comment #1 from Taylor Hutt --- Created attachment 60616 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60616&action=edit C file that demonstrates errors.

[Bug lto/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 --- Comment #6 from Andrew Pinski --- I am going to reduce this. I suspect there is a simplier testcase too.

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 --- Comment #6 from Marek Polacek --- Planning to backport to 14 too.

[Bug lto/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 --- Comment #5 from Andrew Pinski --- Obviously started with r14-2150-gfe48f2651334bc .

[Bug lto/119067] [14/15 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking Summary|ICE whe

[Bug tree-optimization/119070] gcc15 incorrectly reporting negative array-bounds errors

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

[Bug c/119070] gcc15 incorrectly reporting negative array-bounds errors

2025-02-28 Thread taylor.hutt at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119070 --- Comment #2 from Taylor Hutt --- Created attachment 60617 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60617&action=edit Shell script to compile C file.

[Bug c/119070] New: gcc15 incorrectly reporting negative array-bounds errors

2025-02-28 Thread taylor.hutt at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119070 Bug ID: 119070 Summary: gcc15 incorrectly reporting negative array-bounds errors Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/114913] "verify_gimple failed" due to addition of two constexpr strings

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114913 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:96572464234a88949ebfc07207ae2ae04c63e53b commit r15-7762-g96572464234a88949ebfc07207ae2ae04c63e53b Author: Marek Polacek Date: Tu

[Bug c/61579] -Wwrite-strings does not behave as a warning option

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61579 Andrew Pinski changed: What|Removed |Added CC||alx at kernel dot org --- Comment #10 fr

[Bug lto/119067] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 --- Comment #4 from Sam James --- Reduced to.. SkBlitRow_opts_hsw.ii: ``` typedef char __v32qi __attribute__((__vector_size__(32))); typedef long __m256i __attribute__((__vector_size__(32))); __m256i _mm256_shuffle_epi8___X, _mm256_shuffle_epi8

[Bug c/119068] Should -Wwrite-strings be renamed to -fwrite-strings?

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

[Bug c++/119061] [C++26] P2900R14 - Contracts

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119061 Andrew Pinski changed: What|Removed |Added Keywords||c++-contracts --- Comment #1 from Andre

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:96572464234a88949ebfc07207ae2ae04c63e53b commit r15-7762-g96572464234a88949ebfc07207ae2ae04c63e53b Author: Marek Polacek Date: Tu

[Bug c++/114913] "verify_gimple failed" due to addition of two constexpr strings

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

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Marek Polacek changed: What|Removed |Added CC||jorg.brown at gmail dot com --- Comment

[Bug c++/118986] [15 Regression] internal compiler error: in replace_decl, at cp/constexpr.cc

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

[Bug middle-end/115871] [14/15 Regression] ICE with declare simd since r14-5057

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/118986] [15 Regression] internal compiler error: in replace_decl, at cp/constexpr.cc

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118986 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:22018a4a8caa806a8f673eb0713de16d64d25063 commit r15-7761-g22018a4a8caa806a8f673eb0713de16d64d25063 Author: Marek Polacek Date: W

[Bug c/119066] Warn when address of local variable is passed to on_exit

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119066 --- Comment #2 from Jonathan Wakely --- I don't think users should be calling __cxa_atexit themselves. But since the data argument is typically the address of a global variable with static storage duration, it would be OK to warn if it's passed

[Bug c/119066] Warn when address of local variable is passed to on_exit

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119066 --- Comment #1 from Andrew Pinski --- I was going to mention at_exit but that does not have a data arguments. But __cxa_atexit does (and __aeabi_atexit too). Warning about those might be just as useful.

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO

2025-02-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/119054] ICE on passing optional array to elemental procedure with -pedantic

2025-02-28 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119054 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/119030] [15 Regression] wrong optimization since r15-7597

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119030 --- Comment #9 from Sam James --- Thank you for testing trunk and providing a small testcase too.

[Bug tree-optimization/119069] New: 519.lbm_r runs 60% slower with -Ofast -flto -march=znver5 on an AMD Zen5 machine than when compiled with GCC 14 (or with -march=znver4)

2025-02-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119069 Bug ID: 119069 Summary: 519.lbm_r runs 60% slower with -Ofast -flto -march=znver5 on an AMD Zen5 machine than when compiled with GCC 14 (or with -march=znver4) Product: gcc

[Bug tree-optimization/119030] [15 Regression] wrong optimization since r15-7597

2025-02-28 Thread frank.mehnert at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119030 --- Comment #8 from Frank Mehnert --- I can confirm the fix, thank you!

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 --- Comment #13 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:0bffcd469e68d68ba9c724f515651deff8494b82 commit r15-7760-g0bffcd469e68d68ba9c724f515651deff8494b82 Author: Martin Jambor Date:

[Bug middle-end/115871] [14/15 Regression] ICE with declare simd since r14-5057

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 --- Comment #4 from Jakub Jelinek --- According to the ABI, the _ZGVeM32v_foo clone should have __attribute__((omp declare simd (simdlen(32) inbranch))) vector(8) double[4] foo.simdclone.3 (vector(8) double simd.75, vector(8) double simd.76, vec

[Bug libstdc++/118160] Dangling reference in std::ranges::is_permutation may cause a crash

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118160 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #5 from Jonathan Wak

[Bug c++/119062] [C++26] P3475R2 - Defang and deprecate memory_order::consume

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119062 --- Comment #1 from Jonathan Wakely --- There's a small library part to this (adding [[deprecated]] to the enumerator).

[Bug libstdc++/118158] std::filesystem::equivalent unsupported on socket files

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118158 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #10 from Jonathan Wa

[Bug libstdc++/117921] containers do not use ADL swap for Compare, Pred or Hash types

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117921 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/119068] Should -Wwrite-strings be renamed to -fwrite-strings?

2025-02-28 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119068 --- Comment #1 from Alejandro Colomar --- BTW, now that I report this, I remember myself always having doubts if -Wwrite-strings makes the string literals writable, or what. The name was misleading, so maybe if we move it into an -f flag, we co

  1   2   >