[Bug ipa/117550] constexpr inlining and size optimizations

2024-11-12 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117550 --- Comment #4 from Alexey --- Yes, it seems this task is a duplicate of bug 93008. However, my request is to have acceptable behavior only for the -Os optimization.

[Bug target/117418] ICE: in plus_constant, at explow.cc:102 with -mx32 -maddress-mode=long and __builtin_ia32_encodekey256_u32()

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117418 --- Comment #3 from GCC Commits --- The releases/gcc-12 branch has been updated by Hu : https://gcc.gnu.org/g:e41fdca8a290c4d72b1972af8cdfd1dd60af31df commit r12-10813-ge41fdca8a290c4d72b1972af8cdfd1dd60af31df Author: Hu, Lin1 Date: Wed Nov

[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008 Sam James changed: What|Removed |Added CC||alexey.lapshin at espressif dot co

[Bug c/117549] Miscompile with -O0 and -O1/2/3

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

[Bug c/117549] Miscompile with -O0 and -O1/2/3

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117549 --- Comment #1 from Sam James --- Seems to have started with r6-9085-gd9363c4e3940bf but that commit makes me even more suspicious of the testcase.

[Bug ipa/117550] constexpr inlining and size optimizations

2024-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117550 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ipa/117550] constexpr inlining and size optimizations

2024-11-12 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117550 --- Comment #3 from Alexey --- Testcase is: ``` #include std::string my_string; void append_my_string(const char *foo) { my_string.append(foo); } ``` https://godbolt.org/z/vTE1z7h46

[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline (especially for constexpr in >= c++20)

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Summary|Need a way to make inli

[Bug target/117418] ICE: in plus_constant, at explow.cc:102 with -mx32 -maddress-mode=long and __builtin_ia32_encodekey256_u32()

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117418 --- Comment #2 from GCC Commits --- The releases/gcc-13 branch has been updated by Hu : https://gcc.gnu.org/g:4758f8d410e961b09c8be619d6d0a71d5e7e4aa5 commit r13-9183-g4758f8d410e961b09c8be619d6d0a71d5e7e4aa5 Author: Hu, Lin1 Date: Wed Nov

[Bug ipa/117550] constexpr inlining and size optimizations

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117550 Sam James changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/111733] Emit inline SVE FSCALE instruction for ldexp

2024-11-12 Thread soumyaa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111733 Soumya AR changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111733] Emit inline SVE FSCALE instruction for ldexp

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111733 --- Comment #4 from GCC Commits --- The master branch has been updated by Soumya AR : https://gcc.gnu.org/g:9b2915d95d855333d4d8f66b71a75f653ee0d076 commit r15-5188-g9b2915d95d855333d4d8f66b71a75f653ee0d076 Author: Soumya AR Date: Wed Nov 1

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #33 from Sam James --- Jeff, you seem to have applied it again in r15-5185-g10d76b7f1e5b63, was that intentional?

[Bug target/117483] [15 Regression] ICE: in merge, at config/riscv/riscv-vsetvl.cc:2106

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117483 --- Comment #1 from GCC Commits --- The master branch has been updated by Li Xu : https://gcc.gnu.org/g:445d8bb6a89eb2275c4930ec87a98d5123e5abdd commit r15-5187-g445d8bb6a89eb2275c4930ec87a98d5123e5abdd Author: xuli Date: Tue Nov 12 02:31:2

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #10 from Sam James --- Created attachment 59587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59587&action=edit reduced.c

[Bug c/117549] New: Miscompile with -O0 and -O1/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117549 Bug ID: 117549 Summary: Miscompile with -O0 and -O1/2/3 Product: gcc Version: 6.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Ass

[Bug c/117548] New: ICE when redeclaring function with a compatible type involving C23 structure compatibility

2024-11-12 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117548 Bug ID: 117548 Summary: ICE when redeclaring function with a compatible type involving C23 structure compatibility Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/117418] ICE: in plus_constant, at explow.cc:102 with -mx32 -maddress-mode=long and __builtin_ia32_encodekey256_u32()

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117418 --- Comment #1 from GCC Commits --- The master branch has been updated by Hu : https://gcc.gnu.org/g:2272cd2508f1854c880082f792de15e76ec09a99 commit r15-5184-g2272cd2508f1854c880082f792de15e76ec09a99 Author: Hu, Lin1 Date: Wed Nov 6 15:42:1

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2024-11-12 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #16 from Eugene Rozenfeld --- Sorry for the delay, Rama. I should have time to look into this by the end of the week.

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #32 from Sam James --- Thanks Jeff and Alexey. Alexey, please don't consider it a reflection on your work at all, these things happen. It just makes sense to get the pressure off and let fuzzers and so on progress to other testing.

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

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

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #30 from Jeffrey A. Law --- I've reverted the patch and given Alexey some guidance on how to fix the testcase from Zdenek. Alexey, I'd recommend including Zdenek's testcase as well. Note that it uses 128bit objects, so in the test y

[Bug fortran/117539] Pure procedure and intent(out) polymorphic pointer argument

2024-11-12 Thread gronki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117539 --- Comment #2 from Dominik Gronkiewicz --- Thank you for a quick response! Actually, I do not agree. As explained better by this post and the one below: https://fortran-lang.discourse.group/t/pure-procedure-and-intent-out-polymorphic-pointer-

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Andrew Pinski changed: What|Removed |Added Attachment #59585|0 |1 is obsolete|

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #8 from Andrew Pinski --- Created attachment 59585 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59585&action=edit Change float to int Changing float to int still causes a failure (works on the trunk) and removing the call to

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added Attachment #59583|0 |1 is obsolete|

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #6 from Sam James --- Created attachment 59583 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59583&action=edit reduced.c Reducing it more now as it's a bit too big still.

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added Keywords||needs-testcase --- Comment #5 from Sam Jame

[Bug bootstrap/117503] [15 Regression] selftests fail if GCC_COLORS are defined

2024-11-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117503 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/117503] [15 Regression] selftests fail if GCC_COLORS are defined

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117503 --- Comment #3 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:169897bb402c46394ca38c8b3146d9d0c7ec35f5 commit r15-5179-g169897bb402c46394ca38c8b3146d9d0c7ec35f5 Author: David Malcolm Date: T

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #1 from H.J. Lu --- Since const_0_to_255_operand returns false on (const_int -1 [0x]), we need to get (const_int 255 [0xff]) from co nstant 255>

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2024-11-12 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #14 from anlauf at gcc dot gnu.org --- Created attachment 59582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59582&action=edit Patch handling testcase in comment#13 This patch leads to the following translation of the main:

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread github at skef dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #4 from Skef Iterum --- If only I had been more resolute in my laziness ...

[Bug middle-end/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #3 from Sam James --- -fno-ipa-modref works. I can't diff the dumps because my compilers all work locally but it's probably the IPA fixes I backported that fix it.

[Bug c/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added Summary|Different (and incorrect) |[14 regression] Different

[Bug target/117547] New: FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2024-11-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 Bug ID: 117547 Summary: FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c/117546] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2 fr

[Bug c/117546] Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added See Also||https://github.com/adobe-ty

[Bug c/117546] New: Different (and incorrect) behavior when compiling C code with -O2

2024-11-12 Thread github at skef dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Bug ID: 117546 Summary: Different (and incorrect) behavior when compiling C code with -O2 Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #29 from David Binderman --- (In reply to Sam James from comment #28) > Jeff, can you push the revert for now, given that? +1 My usual gcc testing has mostly been on hold for five days awaiting version 2 of the fix or a revert.

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #28 from Sam James --- Jeff, can you push the revert for now, given that?

[Bug target/117545] Addition of two integers from struct argument uses vector instead of scalar addition

2024-11-12 Thread svetli97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117545 --- Comment #3 from Svetlin Totev --- Oh, sorry for not testing that first.

[Bug target/116274] [14 Regression] x86: poor code generation with 16 byte function arguments and addition

2024-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116274 Andrew Pinski changed: What|Removed |Added CC||svetli97 at gmail dot com --- Comment #

[Bug target/117545] Addition of two integers from struct argument uses vector instead of scalar addition

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

[Bug target/117545] Addition of two integers from struct argument uses vector instead of scalar addition

2024-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117545 --- Comment #2 from Andrew Pinski --- Oh this is fixed on the trunk ...

[Bug target/117545] Addition of two integers incorrectly "optimized" to 16 SIMD instructions instead of a single "lea"

2024-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117545 Andrew Pinski changed: What|Removed |Added Target||X86_64 Component|rtl-optimizat

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #27 from Zdenek Sojka --- (In reply to Alexey Merzlyakov from comment #25) > Updates on GCC regression testing: > Locally checked the GCC make check with enable-languages=all before the > patching vs. r15-4991-g69bd93c167fefb + fix w

[Bug rtl-optimization/117545] New: Addition of two integers incorrectly "optimized" to 16 SIMD instructions instead of a single "lea"

2024-11-12 Thread svetli97 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117545 Bug ID: 117545 Summary: Addition of two integers incorrectly "optimized" to 16 SIMD instructions instead of a single "lea" Product: gcc Version: 14.2.1 Status: UNCONFIRM

[Bug ada/117328] iterated component association fails for array with large index type

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117328 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug bootstrap/117503] [15 Regression] selftests fail if GCC_COLORS are defined

2024-11-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117503 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David Malc

[Bug ada/117328] iterated component association fails for array with large index type

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117328 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:d6214b83e10d26bf116d4fca9de07a14cf4358cd commit r13-9180-gd6214b83e10d26bf116d4fca9de07a14cf4358cd Author: Eric Botcazou

[Bug ada/113868] bogus error for delta aggregate as expression function

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113868 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:4290b2dbef55a4785c86bdfd25d5e376a840f868 commit r13-9179-g4290b2dbef55a4785c86bdfd25d5e376a840f868 Author: Eric Botcazou

[Bug ada/117328] iterated component association fails for array with large index type

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117328 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:4d1e1f947d5dade8474cb39516b60422bcc3c245 commit r14-10923-g4d1e1f947d5dade8474cb39516b60422bcc3c245 Author: Eric Botcazou

[Bug ada/113868] bogus error for delta aggregate as expression function

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113868 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ada/113868] bogus error for delta aggregate as expression function

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113868 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:89f21c18af96a3b994595081939e19d8b042c963 commit r14-10922-g89f21c18af96a3b994595081939e19d8b042c963 Author: Eric Botcazou

[Bug ada/117018] internal error on nested iterated component associations

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117018 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug testsuite/117419] test failures for enum-alias-{1,2,3} on arm-eabi

2024-11-12 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117419 uecker at gcc dot gnu.org changed: What|Removed |Added See Also||https://linaro.atlassian.ne

[Bug ada/62042] missed copy elision for nonlimited types

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ada/117328] iterated component association fails for array with large index type

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117328 --- Comment #3 from Eric Botcazou --- https://gcc.gnu.org/g:d34069c3ffaac95ba880ba12de26972bc3fb91b8 commit r15-5160-gd34069c3ffaac95ba880ba12de26972bc3fb91b8 Author: Eric Botcazou Date: Wed Oct 30 11:22:12 2024 +0100 ada: Fix spurious

[Bug ada/114300] ICE on instantiation of package with a nested ghost package

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114300 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug ada/114127] assertion failure on null aggregate in generic with pragma Ada_2022

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114127 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ada/113037] assertion failure on illegal use of aspect Type_Invariant

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113037 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug ada/112821] unexpected Program_Error raised in the parser on mismatched []

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112821 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug ada/112979] internal error on invalid prefix with assertions enabled

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112979 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ada/62042] missed copy elision for nonlimited types

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042 --- Comment #12 from Eric Botcazou --- https://gcc.gnu.org/g:b861785242450c8711aae6394751a75eadc4a0a9 commit r15-5129-gb861785242450c8711aae6394751a75eadc4a0a9 Author: Eric Botcazou Date: Mon Oct 21 10:55:28 2024 +0200 ada: Elide the cop

[Bug ada/55725] anonymous access result from library function finalized too early

2024-11-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55725 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

2024-11-12 Thread dl.soluz at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483 --- Comment #20 from dennis luehring --- thanks! works with latest gcc.godbolt gcc trunk - on par with clang behavior

[Bug tree-optimization/112376] [14/15 Regression] gcc.dg/tree-ssa/ssa-dom-thread-7.c missed threading in aarch64 case

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

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 --- Comment #4 from Sam James --- (In reply to Yunbo Ni from comment #2) > After reviewing the commit, I realized it's a duplicate of bug 117476. The > mistake was due to using the wrong commit in the bisect process. I’ll be > more careful with

[Bug target/117421] [RISCV] Use byte comparison instead of word comparison

2024-11-12 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117421 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug c++/117504] [12/13/14/15 Regression] Incorrect code emitted when using "constexpr std::array"

2024-11-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 Patrick Palka changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug target/117544] Lack of vsetvli after function call for whole register move

2024-11-12 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117544 --- Comment #1 from Palmer Dabbelt --- (In reply to Kito Cheng from comment #0) > I'm not sure if it's reasonable to ask the Linux kernel maintainers to fix > this by keeping VILL consistent across system calls. That doesn't fix the problem: we

[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

2024-11-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #19

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2024-11-12 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #25 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 > > --- Comment #24 from Jason Merrill --- > (In reply to Jan Hubicka from comment #23) > > So I guess we are missing somewhere __builtin_assert that th

[Bug target/117544] New: Lack of vsetvli after function call for whole register move

2024-11-12 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117544 Bug ID: 117544 Summary: Lack of vsetvli after function call for whole register move Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/117530] [14/15 Regression] Mismatch of lambda type with itself in recursive alias declaration

2024-11-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117530 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Key

[Bug target/117421] [RISCV] Use byte comparison instead of word comparison

2024-11-12 Thread wojciech_mula at poczta dot onet.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117421 --- Comment #4 from Wojciech Mula --- Although, there's no word-wise set for equality, thus I think this sequence would be better. ``` lbu a0, 1(a1) lbu a2, 0(a1) lbu a3, 2(a1) lb a1, 3(a1)

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2024-11-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #24 from Jason Merrill --- (In reply to Jan Hubicka from comment #23) > So I guess we are missing somewhere __builtin_assert that the length of > vector copied is allways smaller then half of address space... Or the compiler could c

[Bug middle-end/116868] GCC trunk doesn't eliminate a superfluous new/delete pair

2024-11-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116868 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/116868] GCC trunk doesn't eliminate a superfluous new/delete pair

2024-11-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116868 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/112376] [14/15 Regression] gcc.dg/tree-ssa/ssa-dom-thread-7.c missed threading in aarch64 case

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112376 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Andrew Carlotti : https://gcc.gnu.org/g:6d5f550231b57b0fa9d8ec53cc6354961ead358b commit r14-10920-g6d5f550231b57b0fa9d8ec53cc6354961ead358b Author: Andrew Carlo

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2024-11-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #23 from Jan Hubicka --- with Jakub's builtion_operator_new patch and https://gcc.gnu.org/pipermail/gcc-patches/2024-November/667834.html on the original testcase we now optimize away allocation and produce int vat1 (struct vector &

[Bug tree-optimization/96945] unused std::vector is not always optimized away

2024-11-12 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96945 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Sta

[Bug tree-optimization/96945] unused std::vector is not always optimized away

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96945 --- Comment #4 from GCC Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:2264b68796aa6f1a609987cf7edb9183bf070e7e commit r15-5176-g2264b68796aa6f1a609987cf7edb9183bf070e7e Author: Jan Hubicka Date: Tue No

[Bug target/117421] [RISCV] Use byte comparison instead of word comparison

2024-11-12 Thread wojciech_mula at poczta dot onet.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117421 --- Comment #3 from Wojciech Mula --- It's worth noting, that Clang first synthesizes a 32-bit word from individual bytes, and then use a single comparison. ``` ext_is_gzip(std::basic_string_view>): li a2, 4 bne a0, a2,

[Bug tree-optimization/112376] [14/15 Regression] gcc.dg/tree-ssa/ssa-dom-thread-7.c missed threading in aarch64 case

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112376 --- Comment #5 from GCC Commits --- The master branch has been updated by Andrew Carlotti : https://gcc.gnu.org/g:f72f8c34952fe27795fc750e80cb78b97b51fa97 commit r15-5175-gf72f8c34952fe27795fc750e80cb78b97b51fa97 Author: Andrew Carlotti Date:

[Bug other/116253] RFE: support for nested diagnostics

2024-11-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116253 --- Comment #4 from David Malcolm --- Created attachment 59580 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59580&action=edit Screenshot of textual output, showing colorization

[Bug other/116253] RFE: support for nested diagnostics

2024-11-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116253 David Malcolm changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependencies

2024-11-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 --- Comment #5 from Richard Biener --- All dependences are resolved but let's keep open to track fallout during stage3.

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependencies

2024-11-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug 116578 depends on bug 116973, which changed state. Bug 116973 Summary: FAIL: gcc.dg/vect/pr52252-st.c with forced SLP https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116973 What|Removed |Added

[Bug tree-optimization/116973] FAIL: gcc.dg/vect/pr52252-st.c with forced SLP

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

[Bug tree-optimization/116973] FAIL: gcc.dg/vect/pr52252-st.c with forced SLP

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116973 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0d4b254b20a9193ab261d02f8a063e21816f85e4 commit r15-5168-g0d4b254b20a9193ab261d02f8a063e21816f85e4 Author: Richard Biener Date:

[Bug target/80881] Implement Windows native TLS

2024-11-12 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #74 from Julian Waters --- Sorry for the noise, any feedback on the new patch?

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 --- Comment #2 from Yunbo Ni --- After reviewing the commit, I realized it's a duplicate of bug 117476. The mistake was due to using the wrong commit in the bisect process. I’ll be more careful with this next time. Apologies for the oversight.

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2024-11-12 Thread ovidiu.panait at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #7 from Ovidiu Panait --- For reference, the patch proposed in comment 6 also fixes the testcase [1]. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047#c0

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 --- Comment #1 from Yunbo Ni --- Sorry I just found I reverted to the wrong commit. I would check it right now.

[Bug c/117543] Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 Yunbo Ni changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #26 from Yunbo Ni --- *** Bug 117543 has been marked as a duplicate of this bug. ***

[Bug c/117543] New: Miscompile with -O1 and -O0/2/3

2024-11-12 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117543 Bug ID: 117543 Summary: Miscompile with -O1 and -O0/2/3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug ada/114300] ICE on instantiation of package with a nested ghost package

2024-11-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114300 --- Comment #3 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:524590a3606d773a7827ed469d80f5c8701e5dd8 commit r15-5152-g524590a3606d773a7827ed469d80f5c8701e5dd8 Author: Eric Botcazou Date: M

  1   2   >