[Bug target/118642] -specs=sync-none.specs doesn't work with LTO.

2025-01-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118642 Sam James changed: What|Removed |Added Keywords||lto Status|NEW

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

2025-01-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073 --- Comment #3 from Gaius Mulley --- Created attachment 60272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60272&action=edit Proposed patch to correct offset and return type to/from lseek FWIIW I wonder if the bug might be related to th

[Bug tree-optimization/115082] Canonical form for `(a+oddCST)&1` or `1 & ~a`

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

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-01-24 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #7 from Iain Buclaw --- Not able to reproduce this in an s390x QEMU VM running Debian. Version: 20250117 / r15-6997 Configure flags: --enable-languages=d --enable-libphobos --with-libphobos-druntime-only --enable-multiarch --disabl

[Bug tree-optimization/118650] `(even + unknown) & 1` is not optimized to just `unknown & 1` at gimple level

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

[Bug tree-optimization/118650] `(even + unknown) & 1` is not optimized to just `unknown & 1` at gimple level

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

[Bug tree-optimization/118650] `(even + unknown) & 1` is not optimized to just `unknown & 1` at gimple level

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

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 --- Comment #8 from Sam James --- Created attachment 60271 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60271&action=edit boost.cxx

[Bug tree-optimization/118650] New: `(even + unknown) & 1` is not optimized to just `unknown & 1` at gimple level

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118650 Bug ID: 118650 Summary: `(even + unknown) & 1` is not optimized to just `unknown & 1` at gimple level Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #7 fr

[Bug tree-optimization/118649] `(b * CST) & 1` for CST is odd is not optimized to `b&1` on the gimple level

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

[Bug tree-optimization/118649] New: `(b * CST) & 1` for CST is odd is not optimized to `b&1` on the gimple level

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118649 Bug ID: 118649 Summary: `(b * CST) & 1` for CST is odd is not optimized to `b&1` on the gimple level Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: m

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

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

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 --- Comment #6 from Alfredo Correa --- (In reply to Andrew Pinski from comment #3) > Please do attach the testcase that does not use boost instead of just > linking godbolt too. The first link, at the top of the OP, doesn't use external code: h

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 --- Comment #5 from Alfredo Correa --- (In reply to Andrew Pinski from comment #3) > (In reply to Alfredo Correa from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > The tree level misdetection is recorded as PR 99504. > > > >

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 --- Comment #2 from Alfredo Correa --- (In reply to Andrew Pinski from comment #1) > The tree level misdetection is recorded as PR 99504. ok, I am not an expert, but I have the impression that what I reported is library problem, not a compiler

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 --- Comment #4 from Andrew Pinski --- Is there a way to get a testcase without using boost too? Like inling the iterator into the sources? Please do attach the testcase that does not use boost instead of just linking godbolt too.

[Bug libstdc++/118647] Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 --- Comment #3 from Andrew Pinski --- (In reply to Alfredo Correa from comment #2) > (In reply to Andrew Pinski from comment #1) > > The tree level misdetection is recorded as PR 99504. > > ok, I am not an expert, but I have the impression that

[Bug rtl-optimization/118648] New: (sign_extend:di (ashiftrt:si reg CST)) is not turning into (sign_extract:di (subreg (reg) CST' CST')

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118648 Bug ID: 118648 Summary: (sign_extend:di (ashiftrt:si reg CST)) is not turning into (sign_extract:di (subreg (reg) CST' CST') Product: gcc Version: 15.0 Status: UNCONFIRM

[Bug rtl-optimization/118648] (sign_extend:di (ashiftrt:si reg CST)) is not turning into (sign_extract:di (subreg (reg) CST' CST')

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

[Bug libstdc++/118647] New: Missed optimization to do memcpy/memmove for contiguous iterator

2025-01-24 Thread alfredo.correa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647 Bug ID: 118647 Summary: Missed optimization to do memcpy/memmove for contiguous iterator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (insn 6 3 12 2 (set (reg:DI 105 [ dataD.4432 ]) > (sign_extend:DI (reg/v:SI 102 [ dataD.4432 ]))) > "/app/example.cpp":3:12 105 {*extendsidi2_aarch64} >

[Bug tree-optimization/115450] [15 Regression] cpu2017 502.gcc runtime miscompute on aarch64 with SVE since r15-1006-gd93353e6423eca

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

[Bug rtl-optimization/118638] [14/15 Regression] Miscompile with -Os and -O0/1/2/3 since r14-4810-ge28869670c9879

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

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 --- Comment #13 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d0acb7b2b26d4f821968043eafd286a1a3a37ca3 commit r15-7205-gd0acb7b2b26d4f821968043eafd286a1a3a37ca3 Author: Gaius Mulley Date: Sa

[Bug tree-optimization/115450] [15 Regression] cpu2017 502.gcc runtime miscompute on aarch64 with SVE since r15-1006-gd93353e6423eca

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115450 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Keywords|

[Bug c++/116568] [modules] ICE when exporting template using of unevaluated lambda in key_mergeable

2025-01-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116568 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 Assignee|unassigned at

[Bug c++/118641] destruction order is wrong with returns and throwing deconstructors

2025-01-24 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 --- Comment #9 from mauro russo --- done here: https://developercommunity.visualstudio.com/t/memory-leak-due-to-non-destructed-object/10834177 as I am unable to add in the "See Also" section.

[Bug rtl-optimization/116234] [15 Regression] '-fcompare-debug' failure w/ `-mcpu=phecda -O2 -funroll-all-loops -fno-ivopts` since r15-1619-g3b9b8d6cfdf593

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

[Bug c++/118245] [14 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-01-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Nathaniel Shead changed: What|Removed |Added Summary|[14/15 Regression] ICE: in |[14 Regression] ICE: in

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #2 from Andrew Pinski --- (insn 6 3 12 2 (set (reg:DI 105 [ dataD.4432 ]) (sign_extend:DI (reg/v:SI 102 [ dataD.4432 ]))) "/app/example.cpp":3:12 105 {*extendsidi2_aarch64} (expr_list:REG_DEAD (reg/v:SI 102 [ dataD.4432

[Bug c++/116568] [modules] ICE when exporting template using of unevaluated lambda in key_mergeable

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116568 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:80bd9eb48190f3554c4de74ccb3d0976831160b1 commit r15-7204-g80bd9eb48190f3554c4de74ccb3d0976831160b1 Author: Nathaniel Shead Date:

[Bug c++/116568] [modules] ICE when exporting template using of unevaluated lambda in key_mergeable

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116568 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:4c01f40985eafccc3dd058441325b58009defd09 commit r15-7203-g4c01f40985eafccc3dd058441325b58009defd09 Author: Nathaniel Shead Date:

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #9 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:8990070b4297b913025d564293f97c0440622976 commit r15-7202-g8990070b4297b913025d564293f97c0440622976 Author: Nathaniel Shead Date:

[Bug middle-end/115076] [OpenMP] "declare variant" scoping rules and visibility

2025-01-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115076 --- Comment #2 from sandra at gcc dot gnu.org --- Thinking about this some more, probably a new tree node type like OMP_VARIANT_CALL needs to be introduced, that captures the variants in scope at the call site and the arguments. The problem with

[Bug target/118103] [15 Regression] GCC miscompile rvv intrinsics at `-O3`, missing the `fsrm` instruction to the recover status of frm CSR

2025-01-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118103 --- Comment #11 from Li Pan --- TARGET_CONDITIONAL_REGISTER_USAGE can help to resolve this issue, let me have a try for regression test. But looks we don't need to emit_volatile_frm anymore here, but it is another refactor later.

[Bug middle-end/118457] OpenMP: refactor/move dispatch construct handling to get rid of "sorry"

2025-01-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118457 --- Comment #2 from sandra at gcc dot gnu.org --- I think this issue ought to be tackled in conjunction with PR115076, the fix for which will probably take variant resolution out of gimplify_call_expr() entirely.

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

2025-01-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:7be54613e8a1b1080f0480cf061baa73317a26d3 commit r15-7200-g7be54613e8a1b1080f0480cf061baa73317a26d3 Author: Gaius Mulley Date: Sat

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

2025-01-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589 --- Comment #2 from Gaius Mulley --- Created attachment 60268 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60268&action=edit Proposed fix which detects an opaque type and improves error recovery and error accuracy Proposed fix detects a

[Bug target/118103] [15 Regression] GCC miscompile rvv intrinsics at `-O3`, missing the `fsrm` instruction to the recover status of frm CSR

2025-01-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118103 --- Comment #10 from Li Pan --- (In reply to Vineet Gupta from comment #8) > A fix for PR/118464 is posted to list [1] which also cures this issue. > > [1] https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674498.html Thanks Vineet, it se

[Bug target/118103] [15 Regression] GCC miscompile rvv intrinsics at `-O3`, missing the `fsrm` instruction to the recover status of frm CSR

2025-01-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118103 --- Comment #9 from Li Pan --- (In reply to Richard Sandiford from comment #7) > The problem seems to be in the modelling of the FRM register. > CALL_USED_REGISTERS says that the register is call-clobbered/caller-save, > which means: > > (a) i

[Bug c++/118641] destruction order is wrong with returns and throwing deconstructors

2025-01-24 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 --- Comment #6 from mauro russo --- Yes, 'a' and 'c' destroyed in a wrongly swapped order.

[Bug c++/118641] destruction order is wrong with returns and throwing deconstructors

2025-01-24 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 --- Comment #8 from mauro russo --- I see you added the reference to the similar bug I reported to Clang [https://github.com/llvm/llvm-project/issues/124306] but I would say that there is similar to the previously fixed bug PR 33799 for gcc that

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:b69eb2c594f8595718d876dc9811e3820eb68da1 commit r14-11246-gb69eb2c594f8595718d876dc9811e3820eb68da1 Author: Jerry DeLisle

[Bug c++/118641] destruction order is wrong with returns and throwing deconstructors

2025-01-24 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 --- Comment #7 from mauro russo --- I tried to be clear since the words: <... the code destroys object a before returned object constructed in #1 ...> where having written "object a" instead of "object 'a'" might likely appear less clear. Any

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-24 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 Peter Bergner changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comment

[Bug rtl-optimization/116604] [15 regression] regressions on aarch64 since r15-1619-g3b9b8d6cfdf593

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116604 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization --- Comment #4 from An

[Bug target/116604] [15 regression] regressions on aarch64 since r15-1619-g3b9b8d6cfdf593

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

[Bug middle-end/116508] [15 Regression] `popcount(char) == 1` or char no longer expands to using `(arg ^ (arg - 1)) > arg - 1` trick after r15-2946-gfcc3af99498804

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116508 --- Comment #9 from Andrew Pinski --- (In reply to Richard Biener from comment #8) > So what's the state here? There is a cost model issue with the `char` case. I am not sure if this shows up in any code or not; it was more I found it while imp

[Bug c++/118641] destruction order is wrong with returns and throwing deconstructors

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 --- Comment #5 from Andrew Pinski --- Created attachment 60267 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60267&action=edit Self contained testcase Testcase. The argument passed to the constructor of A is the order of which is expecte

[Bug c++/118641] destruction order not respected

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/58857] [OOP] CLASS wrongly rejected in BLOCK DATA

2025-01-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58857 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug c++/118641] destruction order not respected

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

[Bug c++/118641] destruction order not respected

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641 --- Comment #2 from Andrew Pinski --- GCC changed bahvior in GCC 12 ...

[Bug c++/117501] [14/15 Regression] Consteval constructor does not initialize the variable

2025-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 --- Comment #6 from Marek Polacek --- And we want this instead: struct QQQ q = {.data={._M_len=0, ._M_str=0}}; <>;

[Bug target/118646] [15 Regression] RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118646 Andrew Pinski changed: What|Removed |Added Depends on||118103 --- Comment #3 from Andrew Pinsk

[Bug c++/117501] [14/15 Regression] Consteval constructor does not initialize the variable

2025-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 --- Comment #5 from Marek Polacek --- I think the problem is that we evaluate struct QQQ q; <>> (const char *) "" ) >; into struct QQQ q; <; and then the useless expr_stmt is dropped on the floor. So q isn't in

[Bug target/118103] [15 Regression] GCC miscompile rvv intrinsics at `-O3`, missing the `fsrm` instruction to the recover status of frm CSR

2025-01-24 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118103 Vineet Gupta changed: What|Removed |Added CC||vineetg at gcc dot gnu.org --- Comment #

[Bug target/118646] [15 Regression] RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures

2025-01-24 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118646 --- Comment #4 from Vineet Gupta --- I posted a potential fix for this https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674498.html Confirmed that it also fixes PR/118103.

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

2025-01-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/58857] [OOP] CLASS wrongly rejected in BLOCK DATA

2025-01-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58857 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug target/118125] [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

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

[Bug target/118125] [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 Andrew Pinski changed: What|Removed |Added Component|ipa |target --- Comment #5 from Andrew Pinsk

[Bug target/118646] [15 Regression] RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118646 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|RISC-V: N

[Bug middle-end/118594] expansion of bf16 to float should not produce (subreg (mem ())

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118594 --- Comment #14 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > And yes both things I think are GCC 16 material at this point. I think we > should disallow subreg of mem completely and should do the adjust_address > change

[Bug target/118646] RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures

2025-01-24 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118646 --- Comment #2 from Vineet Gupta --- Reproducer f90 test: -Ofast -march=rv646cv_zcl256b_zba_zbb_zbs_zicond -ftree-vectorize -mrvv-vector-bits=zvl module a contains subroutine b(f) real d(4) integer e(4) integer f(4) real hmax(4)

[Bug c++/117501] [14/15 Regression] Consteval constructor does not initialize the variable

2025-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117501 --- Comment #4 from Marek Polacek --- ``` constexpr unsigned length () { bool __trans_tmp_1 = __builtin_is_constant_evaluated(); if (__trans_tmp_1) return 42; return 1; } struct basic_string_view { constexpr basic_string_view(const c

[Bug middle-end/118643] [15 Regression] Crash at -O3 during RTL pass: expand since r15-7171

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118643 Andrew Pinski changed: What|Removed |Added Summary|[15 Regression] Crash at|[15 Regression] Crash at

A Quick Note About Your Listings

2025-01-24 Thread Manoel Da Silva via Gcc-bugs
Hi there, I’m Manoel Da Silva, Partner at MP Restoration. I wanted to reach out because we specialize in hardscaping services that could be a great fit for your properties in Lee, Collier, and Charlotte counties. We install brick pavers for driveways and pool decks, and we take care of everything

[Bug fortran/81978] Passing component of a parameter array to a subroutine causes SIGBUS crash

2025-01-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81978 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/81978] Passing component of a parameter array to a subroutine causes SIGBUS crash

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81978 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d4df61dc6ed90e6614db213119858adde939fc97 commit r14-11245-gd4df61dc6ed90e6614db213119858adde939fc97 Author: Harald Anlauf

[Bug target/118646] New: RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures

2025-01-24 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118646 Bug ID: 118646 Summary: RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118646] RISC-V: Needed FSRM getting eliminated - SPEC2017 527.cam4 failures

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

[Bug fortran/115271] [OpenMP] Declare variant not stored in Fortran module file

2025-01-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115271 --- Comment #3 from sandra at gcc dot gnu.org --- Is this related to PR115076, the issue about attaching "declare variant" info to the declaration that is in local scope instead of globally?

[Bug target/118497] [15 Regression] Worse code generated on i686-linux since r15-1619

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497 --- Comment #4 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:c4dae80357ccf2e035d8e9ec0a3bb319344c5b41 commit r15-7185-gc4dae80357ccf2e035d8e9ec0a3bb319344c5b41 Author: Vladimir N. Makarov

[Bug target/116330] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building qtbase-6.7.2

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116330 --- Comment #5 from Andrew Pinski --- Note it seems like you need to have the DEBUG insn/statement in the right location to cause this to fail. It is not just about having them either.

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 --- Comment #11 from kargls at comcast dot net --- On 1/24/25 09:26, jvdelisle at gcc dot gnu.org wrote: > --- Comment #10 from Jerry DeLisle --- > Do we need a backport of this? > I'll leave that decision up to you. It is a fairly concise p

[Bug driver/118636] `-Werror` and `-w` do not affect linker warnings, but the docs say they should [docs bug?]

2025-01-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118636 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug c++/104426] -fsanitize=undefined causes constexpr failures

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104426 Andrew Pinski changed: What|Removed |Added CC||michael.gerhold at web dot de --- Comme

[Bug c++/118645] [UBSAN] UBSAN Fails on C-Style Arrays with constexpr User-Defined Destructors in GCC

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

[Bug sanitizer/118645] New: [UBSAN] UBSAN Fails on C-Style Arrays with constexpr User-Defined Destructors in GCC

2025-01-24 Thread michael.gerhold at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118645 Bug ID: 118645 Summary: [UBSAN] UBSAN Fails on C-Style Arrays with constexpr User-Defined Destructors in GCC Product: gcc Version: 14.2.0 Status: UNCONFIRMED S

[Bug c/118644] Crash at -O3 during RTL pass: expand

2025-01-24 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118644 --- Comment #1 from Yunbo Ni --- Bisected to https://github.com/gcc-mirror/gcc/commit/3f05d70389f523cf53f9b8fdf56570e8a6ecdb8b

[Bug c++/117153] [12 Regression] internal compiler error: Segmentation fault at is_overloaded_fn(tree_node*)

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

[Bug c++/117153] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_overloaded_fn(tree_node*)

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117153 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:988c0b796721d6e8be6a54abb48b695dae972dcf commit r13-9345-g988c0b796721d6e8be6a54abb48b695dae972dcf Author: Marek Polacek

[Bug target/118410] Use Zbb extensions to improve code generation for some logicals

2025-01-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118410 --- Comment #1 from Jeffrey A. Law --- Piotr has also pointed out additional cases in this space. For example x & -72057594037927681 x | -9223372036854773761 x ^ -1152921504606846721 There's also vector opportunities in this space (https://gi

[Bug c++/117153] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_overloaded_fn(tree_node*)

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117153 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:504fbafd45a526f4851e7655d78d678d0c9eecbe commit r14-11244-g504fbafd45a526f4851e7655d78d678d0c9eecbe Author: Marek Polacek

[Bug rtl-optimization/118615] [15 Regression] Bootstrap failure on aarch64 after r15-2810

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

[Bug ipa/118125] [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

2025-01-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 --- Comment #4 from Martin Jambor --- Redirecting the call to operator delete[](void*) to __builtin_unreachable(), which seems the correct thing to do, leads to one more SLP vectorization in the functin experiencing the slow-down, comparing -fop

[Bug c/118644] Crash at -O3 during RTL pass: expand

2025-01-24 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118644 Yunbo Ni changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug middle-end/118643] [15 Regression] Crash at -O3 during RTL pass: expand

2025-01-24 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118643 --- Comment #2 from Yunbo Ni --- Bisected to https://github.com/gcc-mirror/gcc/commit/3f05d70389f523cf53f9b8fdf56570e8a6ecdb8b

[Bug fortran/118571] UTF-8 output and the A edit descriptor

2025-01-24 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118571 Jerry DeLisle changed: What|Removed |Added Last reconfirmed||2025-01-24 Status|UNCONFIRM

[Bug middle-end/118643] [15 Regression] Crash at -O3 during RTL pass: expand

2025-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118643 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Summary|Crash at -O3 du

[Bug middle-end/118643] [15 Regression] Crash at -O3 during RTL pass: expand

2025-01-24 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118643 --- Comment #1 from Yunbo Ni --- *** Bug 118644 has been marked as a duplicate of this bug. ***

[Bug c++/117153] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_overloaded_fn(tree_node*)

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117153 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:10850f92b2a618ef1b1ad399530943ef4847823d commit r15-7184-g10850f92b2a618ef1b1ad399530943ef4847823d Author: Marek Polacek Date: Mo

[Bug c/118644] New: Crash at -O3 during RTL pass: expand

2025-01-24 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118644 Bug ID: 118644 Summary: Crash at -O3 during RTL pass: expand Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/118643] New: Crash at -O3 during RTL pass: expand

2025-01-24 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118643 Bug ID: 118643 Summary: Crash at -O3 during RTL pass: expand Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/102018] gcc.dg/torture/pr82692.c execution fails on arm cortex-m7

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102018 --- Comment #5 from Torbjorn SVENSSON --- (In reply to Christophe Lyon from comment #4) > Rather than a cost issue, it's probably because you use +fp.dp (which > -mcpu=cortex-m7 does too), which enables the double-precision FPU. cortex-m4 > does

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

2025-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:1836a65efc4c76284a6b1e18a9542acb0b9e0517 commit r14-11243-g1836a65efc4c76284a6b1e18a9542acb0b9e0517 Author: Torbjörn S

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

2025-01-24 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116448 Torbjorn SVENSSON changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

  1   2   3   >