[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116437 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Target Milestone|---

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

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

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116437 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > if (ok) > bitmap_set_bit (changed_pseudos, REGNO (SET_DEST (set))); > > Most likely should be reg_or_subregno here I think. Even that might be wr

[Bug fortran/116261] [15 regression] gfortran.dg/sizeof_6.f90 -O1 timeout since r15-2739-g4cb07a38233

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116261 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2024-08-13 00:00:00 |2024-8-21 --- Comment #6 from Andrew Pi

[Bug ada/116438] Ada FE should use libbacktrace to print backtraces on ICE with bug boxes

2024-08-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116438 Sam James changed: What|Removed |Added Severity|normal |enhancement

[Bug ada/116438] New: Ada FE should use libbacktrace to print backtraces on ICE with bug boxes

2024-08-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116438 Bug ID: 116438 Summary: Ada FE should use libbacktrace to print backtraces on ICE with bug boxes Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug fortran/77518] [12/13/14/15 Regression] [Coarray] [OOP] ICE in gfc_advance_chain, at fortran/trans.c:58

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77518 --- Comment #13 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:515730fd65a03c5f92f9ab6438d023aee8cfbecf commit r15-3062-g515730fd65a03c5f92f9ab6438d023aee8cfbecf Author: Andre Vehreschild D

[Bug c++/88893] Forward declaring of enum class with visibility results in -Wattributes false positive.

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88893 Richard Biener changed: What|Removed |Added Keywords||wrong-code CC|

[Bug fortran/77518] [12/13/14/15 Regression] [Coarray] [OOP] ICE in gfc_advance_chain, at fortran/trans.c:58

2024-08-21 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77518 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

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

2024-08-21 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 77518, which changed state. Bug 77518 Summary: [12/13/14/15 Regression] [Coarray] [OOP] ICE in gfc_advance_chain, at fortran/trans.c:58 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77518 What|Removed

[Bug target/116433] [AVR] cannot place template class static member variables in EEPROM

2024-08-21 Thread digger1984 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116433 --- Comment #4 from C.F. --- (In reply to Georg-Johann Lay from comment #3) > EEPROM handling is too complicated, we don't want > /that/ code in the compiler and support > 300 devices where each one might > need different SFR handling. Out of c

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #10 from Andreas Schwab --- $ ./xgcc -B . ../../gcc/gcc/testsuite/gcc.c-torture/compile/opout.c -O -std=gnu89 -mlra -S during RTL pass: reload ../../gcc/gcc/testsuite/gcc.c-torture/compile/opout.c: In function ‘z’: ../../gcc/gcc/test

[Bug libstdc++/116381] std::variant should not allow array type as an alternative

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116381 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1e10b3b8825ee398f077500af6ae1f5db180983a commit r15-3065-g1e10b3b8825ee398f077500af6ae1f5db180983a Author: Jonathan Wakely Date:

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #11 from Richard Sandiford --- I can't reproduce this with m68k-elf. Do you have any local changes beyond making TARGET_LRA_P return true?

[Bug libstdc++/116381] std::variant should not allow array type as an alternative

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116381 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug fortran/86468] [12/13/14/15 regression][Coarray] ICE verify_gimple failed

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86468 --- Comment #13 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:723b30bee4e4fa3feba9ef03ce7dca95501e1555 commit r15-3066-g723b30bee4e4fa3feba9ef03ce7dca95501e1555 Author: Andre Vehreschild D

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #12 from Andreas Schwab --- Which cpu are you targeting? m68k-linux defaults to 68020.

[Bug fortran/86468] [12/13/14/15 regression][Coarray] ICE verify_gimple failed

2024-08-21 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86468 Andre Vehreschild changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

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

2024-08-21 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 86468, which changed state. Bug 86468 Summary: [12/13/14/15 regression][Coarray] ICE verify_gimple failed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86468 What|Removed |Added -

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #13 from Andreas Schwab --- And of course this is with #c4 applied.

[Bug c++/116439] New: [14/15 Regression] decltype(auto) in return type of lambda uses the type of the outer scope, not the capture

2024-08-21 Thread valentin at tolmer dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116439 Bug ID: 116439 Summary: [14/15 Regression] decltype(auto) in return type of lambda uses the type of the outer scope, not the capture Product: gcc Version: 14.1.0

[Bug ada/116438] Ada FE should use libbacktrace to print backtraces on ICE with bug boxes

2024-08-21 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116438 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-08-21 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 --- Comment #22 from Thomas Petazzoni --- Thanks for the patch, I confirm it fixes the build issue I was seeing!

[Bug ada/116438] Ada FE should use libbacktrace to print backtraces on ICE with bug boxes

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116438 Richard Biener changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comme

[Bug c++/116439] [14/15 Regression] decltype(auto) in return type of lambda uses the type of the outer scope, not the capture

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116439 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.3

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116437 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/111854] new (align_val_t) should be ill-formed

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111854 --- Comment #11 from Jonathan Wakely --- https://cplusplus.github.io/CWG/issues/2812.html was opened, but is still open.

[Bug libstdc++/114862] std::uppercase not applying to nan's and inf's

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114862 --- Comment #5 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:878bb62cfc158b5324cc2b2476f92fb4237fd82a commit r15-3067-g878bb62cfc158b5324cc2b2476f92fb4237fd82a Author: Jonathan Wakely Date:

[Bug tree-optimization/102958] std::u8string suboptimal compared to std::string

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102958 --- Comment #10 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fd7dabc116b9abc40ee6aa25bcc5d240b8cc516a commit r15-3068-gfd7dabc116b9abc40ee6aa25bcc5d240b8cc516a Author: Jonathan Wakely Date

[Bug libstdc++/114862] std::uppercase not applying to nan's and inf's

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114862 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #14 from Richard Sandiford --- Created attachment 58967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58967&action=edit Patch for the decompse_mem_address ICE Thanks. Can you try the attached patch?

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata since r9-869-g5603790dbf233c

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #8 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #4) > Note I think there is a front-end (and a library) issue too. > > In libstdc++-v3/include/debug/safe_base.h we have: > ``` > /// The list of mutable iterat

[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template

2024-08-21 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 Leonid Satanovsky changed: What|Removed |Added CC||leonid.satanovsky at gmail dot com

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata since r9-869-g5603790dbf233c

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #9 from Jonathan Wakely --- Ah no, during iterator construction we do: this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); So that is a library bug.

[Bug c++/116440] New: [C++20] std::tuple> does not compile

2024-08-21 Thread tianchengyu at tencent dot com via Gcc-bugs
P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tianchengyu at tencent dot com Target Milestone: --- The following code (minimized reproduction) does not compile since gcc 14 (tested on 14.1.0 and 14.2.0), also failed on trunk (as of 20240821). templ

[Bug c++/116441] New: [[nodiscard]] attribute ignored in some cases

2024-08-21 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 Bug ID: 116441 Summary: [[nodiscard]] attribute ignored in some cases Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug c++/116440] [C++20] std::tuple> does not compile

2024-08-21 Thread tianchengyu at tencent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 --- Comment #1 from tianchengyu(余添诚) --- Note that in the sample I used static_assert(std::is_copy_constructible<...>) for testing, but it is not that is_copy_constructible is false. The std::tuple>> type simply does not compile at all. Unsure

[Bug tree-optimization/116380] [13/14/15 regression] ICE on valid code at -O3 with "-fno-tree-scev-cprop" on x86_64-linux-gnu: Segmentation fault

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116380 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #4 from Richard Biener

[Bug libstdc++/101527] The implementation of std::common_iterator and std::counted_iterator's operator== seems to be wrong

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101527 Jonathan Wakely changed: What|Removed |Added Target Milestone|12.5|---

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 --- Comment #1 from Jonathan Wakely --- #include struct [[nodiscard]] GccFailedNoDiscard1 {}; struct GccFailedNoDiscard2 { [[nodiscard]] GccFailedNoDiscard2() = default;}; template struct [[nodiscard]] GccFailedNoDiscard3 {}; struct GccOKNoDi

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

2024-08-21 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 --- Comment #2 from Leonid Satanovsky --- Dear gcc maintainers, one little asking: if that is not contradicting with the general guidelines and since you are using bug reproductions provided by the modest users of gcc, could you please also refe

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

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 --- Comment #2 from Jonathan Wakely --- (In reply to Tiancheng Yu from comment #0) > This only fails on gcc 14+ with -std=c++20 or higher. On older gcc versions > with -std=c++20 or gcc 14+ with -std=c++17 it compiles fine. GCC 14 has new defin

[Bug c++/116442] New: ICE when calling immediate function in NSDMI with aggregate initialization

2024-08-21 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116442 Bug ID: 116442 Summary: ICE when calling immediate function in NSDMI with aggregate initialization Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 --- Comment #3 from Jonathan Wakely --- That discussion belongs on the mailing list, not tucked away somewhere in bugzilla where almost nobody will ever see it.

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #15 from Andreas Schwab --- That fixes the ICE from #10 and no further regression in gcc.c-torture.

[Bug libstdc++/115098] std::vector::iterator::reference is default-constructible

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115098 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

2024-08-21 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 --- Comment #4 from Leonid Satanovsky --- Ok, thank you.

[Bug libstdc++/115098] std::vector::iterator::reference is default-constructible

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115098 --- Comment #2 from Jonathan Wakely --- (In reply to 康桓瑋 from comment #1) > std::bitset has similar issues: > > #include > > std::bitset<1> bitset; > typename std::bitset<1>::reference bit_ref(bitset, 0); // well-formed in > libstdc++ This o

[Bug target/116415] [12/13/14/15 Regression][PPC64LE] atomics wrongly use vector instructions in DWCAS.

2024-08-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415 --- Comment #6 from Peter Bergner --- (In reply to Peter Bergner from comment #5) > I'm testing a fix. > > Our P8 swap optimization has some special handling for TImode usage. The > __atomic_compare_exchange call introduces a PTImode use and t

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #16 from Andreas Schwab --- $ gcc/xgcc -B gcc/ -fpic ../gcc/gcc/testsuite/gcc.dg/pr52139.c -S -mlra -O -fno-tree-dominator-opts -fno-tree-fre ../gcc/gcc/testsuite/gcc.dg/pr52139.c: In function ‘foo’: ../gcc/gcc/testsuite/gcc.dg/pr52

[Bug c/116443] New: String values not accepted for case labels

2024-08-21 Thread rasmus.tempcache at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116443 Bug ID: 116443 Summary: String values not accepted for case labels Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #17 from Richard Sandiford --- Hmm, but if the ICE is coming from vregs then it doesn't sound like it's related to LRA. vregs is the first RTL pass to run.

[Bug tree-optimization/116380] [13/14/15 regression] ICE on valid code at -O3 with "-fno-tree-scev-cprop" on x86_64-linux-gnu: Segmentation fault

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116380 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:af0d2d95a5f767d92bd64f959679fb4612247b0b commit r15-3069-gaf0d2d95a5f767d92bd64f959679fb4612247b0b Author: Richard Biener Date:

[Bug tree-optimization/116380] [13/14 regression] ICE on valid code at -O3 with "-fno-tree-scev-cprop" on x86_64-linux-gnu: Segmentation fault

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116380 Richard Biener changed: What|Removed |Added Summary|[13/14/15 regression] ICE |[13/14 regression] ICE on

[Bug target/58416] Incorrect x87-based union copying code

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 --- Comment #26 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:f577959f420ae404f99f630dadc1c0370734d0da commit r15-3070-gf577959f420ae404f99f630dadc1c0370734d0da Author: Martin Jambor Date: W

[Bug rtl-optimization/116437] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -march=emeraldrapids -fno-split-wide-types -m32

2024-08-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116437 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org --- Comm

[Bug libstdc++/115098] std::vector::iterator::reference is default-constructible

2024-08-21 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115098 --- Comment #3 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #2) > (In reply to 康桓瑋 from comment #1) > > std::bitset has similar issues: > > > > #include > > > > std::bitset<1> bitset; > > typename std::bitset<1>::reference bit_ref(b

[Bug target/116415] [12/13/14/15 Regression][PPC64LE] atomics wrongly use vector instructions in DWCAS.

2024-08-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415 Peter Bergner changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/113281] [11 Regression] Latent wrong code due to vectorization of shift reduction and missing promotions since r9-1590

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113281 --- Comment #36 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Ball : https://gcc.gnu.org/g:3e5cf9f060f39a958edf4b817f632ee93e96d55c commit r13-8985-g3e5cf9f060f39a958edf4b817f632ee93e96d55c Author: Alexandre Oliva

[Bug tree-optimization/113281] [11 Regression] Latent wrong code due to vectorization of shift reduction and missing promotions since r9-1590

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113281 --- Comment #37 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Ball : https://gcc.gnu.org/g:881b54f56e77dc470d27e4746b90dc7819c2be81 commit r12-10680-g881b54f56e77dc470d27e4746b90dc7819c2be81 Author: Alexandre Oliv

[Bug target/58416] Incorrect x87-based union copying code

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 Richard Biener changed: What|Removed |Added Known to work||15.0 --- Comment #27 from Richard Biene

[Bug ada/116438] Ada FE should use libbacktrace to print backtraces on ICE with bug boxes

2024-08-21 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116438 --- Comment #3 from Eric Botcazou --- In my experience a backtrace is not sufficient to debug compiler issues.

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/116406] [15 Regression] ICE: in add_to_value, at tree-ssa-pre.cc:695 with -Os -finstrument-functions-once -mfpmath=387

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116406 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:893cef363c46fa879b47d2b042c19c98bcd2b5f8 commit r15-3071-g893cef363c46fa879b47d2b042c19c98bcd2b5f8 Author: Richard Biener Date:

[Bug target/114659] gcc miscompiles a __builtin_memcpy on i386, leading to wrong results for SNaN

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114659 Bug 114659 depends on bug 116406, which changed state. Bug 116406 Summary: [15 Regression] ICE: in add_to_value, at tree-ssa-pre.cc:695 with -Os -finstrument-functions-once -mfpmath=387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116406

[Bug tree-optimization/116406] [15 Regression] ICE: in add_to_value, at tree-ssa-pre.cc:695 with -Os -finstrument-functions-once -mfpmath=387

2024-08-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116406 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-21 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #18 from Michael Matz --- This last problem is a pre-existing one in the backend. It accepts bare label_ref plus operands, but it does so also in flag_pic mode. There it isn't correct (because it implies another memory reference).

[Bug c++/116442] ICE when calling immediate function in NSDMI with aggregate initialization

2024-08-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116442 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-08-21 Ever confirmed|0

[Bug libstdc++/115098] std::vector::iterator::reference is default-constructible

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115098 --- Comment #4 from Jonathan Wakely --- And the default constructor *is* private in libstdc++. Your example comment 1 uses a non-standard constructor, not the default constructor.

[Bug c/116443] String values not accepted for case labels

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116443 --- Comment #1 from Jonathan Wakely --- I don't think this is technically a bug. The C standard requires an integral constant expression for a case label, and "str"[0] is not required to be an integral constant expression. The C standard does al

[Bug c/116443] String values not accepted for case labels

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116443 --- Comment #2 from Jonathan Wakely --- Slight correction, the correct term is "integer constant expression", and C requires a "constant expression" for a case label, not an integer constant expression. But the rest still stands, GCC is not req

[Bug c/116443] String values not accepted for case labels

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

[Bug c/89408] No constant folding when dereferencing string literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Andrew Pinski changed: What|Removed |Added CC||rasmus.tempcache at gmail dot com --- C

[Bug c/89408] No constant folding when dereferencing string literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #10 from Andrew Pinski --- *** Bug 106988 has been marked as a duplicate of this bug. ***

[Bug c/106988] subscripting a string literal is not an integer constant expression but strlen is

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

[Bug sanitizer/87857] case label does not reduce to an integer constant

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

[Bug sanitizer/66880] 'error: case label does not reduce to an integer constant' with -fsanitize=shift -std=gnu99.

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66880 Andrew Pinski changed: What|Removed |Added CC||stsp at users dot sourceforge.net --- C

[Bug target/116444] New: gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116444 Bug ID: 116444 Summary: gcc.target/arm/thumb-ifcvt-2.c fails on Cortex-M55 and misses possible Cortex-M optimization Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug target/116445] New: gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116445 Bug ID: 116445 Summary: gcc.target/arm/unsigned-extend-2.c on Cortex-M55 and misses possible Cortex-M optimization Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug c++/116441] [[nodiscard]] attribute ignored in some cases

2024-08-21 Thread leonid.satanovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116441 --- Comment #5 from Leonid Satanovsky --- N.B.: #include is for sure not needed for reproduction (just a leftover from earlier experiments)

[Bug libstdc++/115098] std::vector::iterator::reference is default-constructible

2024-08-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115098 --- Comment #5 from Jonathan Wakely --- I've just created https://cplusplus.github.io/LWG/issue4140 to remove that useless default constructor from std::bitset.

[Bug c++/116424] [13/14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/116446] New: GCC incorrectly accepts multiple method declarations with deduced return types

2024-08-21 Thread iamkirkezz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116446 Bug ID: 116446 Summary: GCC incorrectly accepts multiple method declarations with deduced return types Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severit

[Bug c++/116439] [14/15 Regression] decltype(auto) in return type of lambda uses the type of the outer scope, not the capture

2024-08-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116439 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/116446] GCC incorrectly accepts multiple method declarations with deduced return types

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

[Bug c++/116446] GCC incorrectly accepts multiple method declarations with deduced return types

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

[Bug c++/79009] Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Andrew Pinski changed: What|Removed |Added CC||iamkirkezz at gmail dot com --- Comment

[Bug target/113042] popcount of 128bits can be improved for !TARGET_CSSC

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113042 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:4a5d6118c10dfa4f1ed28ab4875bb80f2b2dca9d commit r15-3072-g4a5d6118c10dfa4f1ed28ab4875bb80f2b2dca9d Author: Andrew Pinski Date: F

[Bug target/113042] popcount of 128bits can be improved for !TARGET_CSSC

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

[Bug target/116447] New: g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116447 Bug ID: 116447 Summary: g++.dg/cpp23/ext-floating13.C fails on Cortex-M55 due to undefined reference Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity:

[Bug c++/116369] [12/13/14/15 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata since r9-869-g5603790dbf233c

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #10 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #9) > Ah no, during iterator construction we do: > > this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); > > So that is a library bug. So

[Bug c++/116424] [13/14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 --- Comment #10 from Marek Polacek --- We are taking the address of the TARGET_EXPR: v::v (&c.D.2588, &TARGET_EXPR >>>) so we can't elide it. This sounds awfully similar to something I fixed recently.

[Bug c++/116424] [13/14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 --- Comment #11 from Marek Polacek --- Ah, bug 114854 which is already in See Also...

[Bug target/116448] New: gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55

2024-08-21 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 Bug ID: 116448 Summary: gcc.target/arm/vfp-1.c uses the wrong instructions on Cortex-M55 Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116424] [13/14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 --- Comment #12 from Marek Polacek --- We set TARGET_EXPR_ELIDING_P in massage_init_elt. Not setting TARGET_EXPR_ELIDING_P when the target expr isn't TARGET_EXPR_DIRECT_INIT_P breaks nsdmi-aggr21.C.

[Bug rtl-optimization/116238] [12/13/14/15 Regression] ICE building 526.blender_r on aarch64 SVE after r15-1619-g3b9b8d6cfdf593

2024-08-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116238 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:ec9d6d45191f639482344362d048294e74587ca3 commit r15-3073-gec9d6d45191f639482344362d048294e74587ca3 Author: Richard Sandiford Da

[Bug rtl-optimization/116238] [12/13/14 Regression] ICE building 526.blender_r on aarch64 SVE after r15-1619-g3b9b8d6cfdf593

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116238 Richard Sandiford changed: What|Removed |Added Known to fail|15.0|14.2.1 Summary|[12/13/14

[Bug fortran/116254] new test case gfortran.dg/class_transformational_2.f90 from r15-2739-g4cb07a38233aad fails

2024-08-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116254 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug fortran/106606] Internal compiler error with abstract derived type using recursive class() components. since r7-4096-gbf9f15ee55f5b291

2024-08-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106606 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comme

[Bug sanitizer/116449] New: Miscompilation with UBSAN

2024-08-21 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116449 Bug ID: 116449 Summary: Miscompilation with UBSAN Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer As

  1   2   >