[Bug c++/116289] [13 regression] Can't apply decltype to comparison operators created by spaceship operator for local classes

2024-08-10 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116289 --- Comment #8 from Fedor Chelnokov --- Thanks for quick fix. A workaround for this issue in GCC 13.3 is to declare spaceship operator as constexpr: ``` int main() { struct A { int x = 0; constexpr auto operator<=>(const A

[Bug rtl-optimization/116321] New: [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 Bug ID: 116321 Summary: [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572 Product: gcc Version: 15.0 Status: UNCONFIRMED Se

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 Georg-Johann Lay changed: What|Removed |Added Keywords||ice-on-valid-code, ra St

[Bug target/113934] Switch avr to LRA

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 --- Comment #10 from Georg-Johann Lay --- (In reply to Segher Boessenkool from comment #9) > (In reply to Georg-Johann Lay from comment #4) > > Would someone please explain what has to be done? > > > > It's likely more than just > > > > #defin

[Bug fortran/116292] [15 regression] ICE in build_function_decl, at fortran/trans-decl.cc:2486

2024-08-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116292 --- Comment #10 from Andre Vehreschild --- A fix is in prep. At the moment it still regresses. So stay tuned.

[Bug other/116322] New: regenerate-opt-urls.py usage

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116322 Bug ID: 116322 Summary: regenerate-opt-urls.py usage Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Ass

[Bug c++/116323] New: ICE: tree check: expected record_type or union_type or qual_union_type, have bound_template_template_parm in access_in_type, at cp/search.cc:663

2024-08-10 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116323 Bug ID: 116323 Summary: ICE: tree check: expected record_type or union_type or qual_union_type, have bound_template_template_parm in access_in_type, at cp/search.cc:663 Pro

[Bug rtl-optimization/116324] New: [lra] error: inconsistent operand constraints in an 'asm'

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116324 Bug ID: 116324 Summary: [lra] error: inconsistent operand constraints in an 'asm' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug rtl-optimization/116324] [lra] error: inconsistent operand constraints in an 'asm'

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116324 Georg-Johann Lay changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug other/116322] regenerate-opt-urls.py usage

2024-08-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116322 Sam James changed: What|Removed |Added CC||mark at gcc dot gnu.org,

[Bug target/113934] Switch avr to LRA

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 --- Comment #11 from Georg-Johann Lay --- LRA even breaks building libgcc: PR116324

[Bug rtl-optimization/116325] New: [lra] error: unable to generate reloads for:

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116325 Bug ID: 116325 Summary: [lra] error: unable to generate reloads for: Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl

[Bug rtl-optimization/116325] [lra] error: unable to generate reloads for:

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116325 Georg-Johann Lay changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug rtl-optimization/116326] New: [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326 Bug ID: 116326 Summary: [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: no

[Bug rtl-optimization/116326] [lra] internal compiler error: in get_reload_reg, at lra-constraints.cc:755

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116326 Georg-Johann Lay changed: What|Removed |Added Last reconfirmed||2024-08-10 Keywords|

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment #

[Bug other/116322] regenerate-opt-urls.py usage

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116322 --- Comment #2 from Georg-Johann Lay --- And it may be easier to use when we had a $builddir/gcc/regenerate-opt-urls.py built by configure 1) $builddir/gcc/regenerate-opt-urls.py would know where $srcdir is. 2) $builddir/gcc/regenerate-opt-url

[Bug target/116282] [15 Regression] RISC-V rv64id_zba_zbkb ICE: could not split insn

2024-08-10 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116282 --- Comment #2 from Jeffrey A. Law --- I haven't fully debugged, but I strongly suspect this is a case where matching is inconsistent before/after LRA due to the paths through the constant synthesis code which check if we can create new pseudos.

[Bug rtl-optimization/116244] [15 Regression] reload ICE building libstdc++ for coldfire

2024-08-10 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116244 --- Comment #3 from Jeffrey A. Law --- Adjusting subreg_regno isn't going to work. reload depends on it producing "bogus" results to then trigger reloading inner parts of the subreg expressions. Adjusting alter_reg might be an option.

[Bug c++/116319] std::fma should compute as if to infinite precision and rounded only once to fit the result type.

2024-08-10 Thread shihyente at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116319 --- Comment #4 from SHIH YEN-TE --- I see, thank you. So, sounds like that if I don't implement the math by myself. For this case, we don't have a STL function to get the answer looks like infinite precision without doing rounding twice? In oth

[Bug c++/116327] New: ICE in coroutine with parameter preview on lambda with captures.

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 Bug ID: 116327 Summary: ICE in coroutine with parameter preview on lambda with captures. Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/116327] ICE in coroutine with parameter preview on lambda with captures.

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 --- Comment #1 from John Eivind Helset --- Created attachment 58899 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58899&action=edit Reproducer, compile with --std=c++20

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-10 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #8 from Jeffrey A. Law --- If you have a case where a pseudo register is normally valid, but a MEM would not be valid. Then you reject that case when strict is on and the pseudo did not get a hard register.

[Bug c++/116327] ICE in coroutine with parameter preview on lambda with captures.

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116327 --- Comment #2 from John Eivind Helset --- had to revert both changes in 066c7893eae to compile my hobby project without ICE.

[Bug other/116260] testsuite-management/validate_failures.py: split multilib ABIs in results

2024-08-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116260 --- Comment #4 from Sam James --- (In reply to Christophe Lyon from comment #3) > Thanks for the additional information, indeed in our CI we do not run > validations for several "variations", so it's not surprising this case is > not handled ver

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-10 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #9 from Andreas Schwab --- The ADDR_SPACE hooks are only used if the target has support for named address spaces.

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2024-08-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #37 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:331f7d8a393af99afccdb2729d4ab45797fd7a86 commit r15-2869-g331f7d8a393af99afccdb2729d4ab45797fd7a86 Author: Xi Ruoyao Date: Mon May 6

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2024-08-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #38 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:8035619b7313d9503852e1c7c8c06cfddca4d648 commit r15-2870-g8035619b7313d9503852e1c7c8c06cfddca4d648 Author: Xi Ruoyao Date: Mon May 6

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 --- Comment #1 from Georg-Johann Lay --- What I do not understand is when I also set -mlog=legitimate_address_p then I only get logs that have strict=0 and not a single one with strict=1, like: avr_addr_space_legitimate_address_p[fun64:split5(3

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #10 from Georg-Johann Lay --- What do we do when strict=0 and legitimate_address_p passes a hard register that is not valid? Reject it? Or is that fine and ra will fix it? (There are cases where passes like insn combine are propag

[Bug c++/86476] Members declared later in a class appear to be unavailable

2024-08-10 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86476 frankhb1989 at gmail dot com changed: What|Removed |Added CC||frankhb1989 at gmail dot co

[Bug c++/116323] [12/13/14/15 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have bound_template_template_parm in access_in_type, at cp/search.cc:663

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116323 Andrew Pinski changed: What|Removed |Added Known to work||10.1.0 Target Milestone|---

[Bug target/116236] [LRA] [M68K] ICE insn does not satisfy its constraints

2024-08-10 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236 --- Comment #11 from Jeffrey A. Law --- In general I would think rejecting is right way to go under the general guidance of making the predicates and such match what the underlying hardware can actually do. So for example, if we we have (mem (r

[Bug sanitizer/115205] ICE when using -fsanitize=hwaddress

2024-08-10 Thread madhavmj at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115205 --- Comment #7 from Mahesh Madhav --- I built the current mainline and added the patch, but we still have an ICE. Maybe it gets further? Using the artifacts in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116248 $ /usr/local/gcc-15.0.0-2024080

[Bug sanitizer/115205] ICE when using -fsanitize=hwaddress

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115205 --- Comment #8 from Andrew Pinski --- (In reply to Mahesh Madhav from comment #7) > I built the current mainline and added the patch, but we still have an ICE. > Maybe it gets further? > > Using the artifacts in https://gcc.gnu.org/bugzilla/sho

[Bug fortran/116221] -Wmaybe-uninitialized in symbol.cc's gfc_get_ha_symbol

2024-08-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116221 --- Comment #6 from Sam James --- That works for me, thanks!

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

2024-08-10 Thread jehelset at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 John Eivind Helset changed: What|Removed |Added CC||jehelset at gmail dot com --- Comm

[Bug sanitizer/115205] ICE when using -fsanitize=hwaddress

2024-08-10 Thread madhavmj at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115205 --- Comment #9 from Mahesh Madhav --- I confirm that is the full fix. There are no errors anymore! Thank you.

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2024-08-10 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||amylaar at gcc dot gnu.org ---

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-08-10 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #20 from Andrew Macleod --- I did an -O2 run after those patches. Highlights: tree SSA incremental : 117.74 ( 1%) 0.63 ( 3%) 120.37 ( 1%) 1049M ( 24%) dominator optimization : 680.49 ( 5%) 0.65

[Bug target/55212] [SH] Switch to LRA

2024-08-10 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #154 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #151) > (In reply to Kazumoto Kojima from comment #147) > > (In reply to John Paul Adrian Glaubitz from comment #145) > > > > Looks that some

[Bug c++/116319] std::fma should compute as if to infinite precision and rounded only once to fit the result type.

2024-08-10 Thread shihyente at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116319 SHIH YEN-TE changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/116319] std::fma doesn't compute std::bfloat16_t as if to infinite precision and rounded only once.

2024-08-10 Thread shihyente at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116319 SHIH YEN-TE changed: What|Removed |Added Summary|std::fma should compute as |std::fma doesn't compute

[Bug c++/116319] std::fma doesn't compute std::bfloat16_t as if to infinite precision and rounded only once.

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116319 --- Comment #7 from Andrew Pinski --- (In reply to SHIH YEN-TE from comment #5) > Sorry, could you please confirm if there is any standard function in library > can compute bfloat16_t without rounding twice as if to infinite precision? > Thank

[Bug c++/116319] std::fma doesn't compute std::bfloat16_t as if to infinite precision and rounded only once.

2024-08-10 Thread shihyente at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116319 SHIH YEN-TE changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/111654] Introduce clang's invalid-noreturn warning

2024-08-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111654 --- Comment #8 from Eric Gallager --- (In reply to Julian Waters from comment #7) > I recently stumbled upon -Wno-attributes, which can apparently take a > parameter like -Wno-attributes=vendor:: and I think that's appropriate for > this particu

[Bug tree-optimization/109565] -Wstrict-overflow false positive

2024-08-10 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109565 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug c++/116328] New: Sub-optimal code generated on Arm M0+ when accessing fields using a proxy object

2024-08-10 Thread terrygreeniaus at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116328 Bug ID: 116328 Summary: Sub-optimal code generated on Arm M0+ when accessing fields using a proxy object Product: gcc Version: 13.3.1 Status: UNCONFIRMED Sever

[Bug middle-end/116328] Sub-optimal code generated on Arm M0+ when accessing volatile fields using a proxy object

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

[Bug rtl-optimization/65371] arm loop with volatile variable

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

[Bug target/41458] Inefficient write of 32 bit value to 16 bit volatile on ARM

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

[Bug target/3506] volatile forces load into register

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3506 Andrew Pinski changed: What|Removed |Added CC||tobias at ringis dot se --- Comment #16 f

[Bug target/41458] Inefficient write of 32 bit value to 16 bit volatile on ARM

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41458 --- Comment #4 from Andrew Pinski --- I meant 60749. *** This bug has been marked as a duplicate of bug 60749 ***

[Bug rtl-optimization/60749] combine is overly cautious when operating on volatile memory references

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60749 Andrew Pinski changed: What|Removed |Added CC||tobias at ringis dot se --- Comment #4 f

[Bug rtl-optimization/60749] combine is overly cautious when operating on volatile memory references

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60749 Andrew Pinski changed: What|Removed |Added CC||gcc-bugzilla at enginuities dot co

[Bug rtl-optimization/65371] arm loop with volatile variable

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

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Andrew Pinski changed: What|Removed |Added CC||tobias at ringis dot se --- Comment #7 f

[Bug target/41458] Inefficient write of 32 bit value to 16 bit volatile on ARM

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41458 --- Comment #5 from Andrew Pinski --- Actually PR 49807 but all are the same. *** This bug has been marked as a duplicate of bug 49807 ***

[Bug c++/116329] Arm M0+ doesn't do tail-call optimization

2024-08-10 Thread terrygreeniaus at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116329 --- Comment #1 from Terry Greeniaus --- I was using -O2 as well when compiling, which I omitted from the bug report by accident.

[Bug c++/116329] New: Arm M0+ doesn't do tail-call optimization

2024-08-10 Thread terrygreeniaus at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116329 Bug ID: 116329 Summary: Arm M0+ doesn't do tail-call optimization Product: gcc Version: 13.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++