[Bug target/119425] [15 Regression] ICE: in extract_constrain_insn, at recog.cc:2783 insn does not satisfy its constraints: {avx2_pblenddv8si} since r15-1679

2025-03-23 Thread lin1.hu at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119425 --- Comment #3 from Hu Lin --- Confirmed, constraint "jm" should with attr "addr" "gpr16". I'll send the patch out after I've gone through all the existing patterns.

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #5 from Andrew Pinski --- Created attachment 60858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60858&action=edit Easy running testcase

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #13 from Andrew Pinski --- Created attachment 60857 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60857&action=edit Patch which I am testing

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #7 from Andrew Pinski --- So what is interesting is at -O2 (but not -O1 or -O0) GCC 3.4.6 worked.

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

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

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #8 from Andrew Pinski --- (In reply to Sam James from comment #6) > (In reply to Andrew Pinski from comment #5) > > Created attachment 60858 [details] > > Easy running testcase > > With this, we can make it a regression (5.5 works)?

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #6 from Sam James --- (In reply to Andrew Pinski from comment #5) > Created attachment 60858 [details] > Easy running testcase With this, we can make it a regression (5.5 works)?

[Bug target/119368] immintrin code running slower with gcc than clang

2025-03-23 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119368 --- Comment #2 from Jan Hubicka --- On this combiner fails to match: Failed to match this instruction: (set (subreg:V4SI (reg:V2DI 101 [ ]) 0) (sign_extend:V4SI (vec_select:V4HI (mem:V8HI (reg:DI 106) [0 *x_3(D)+0 S16 A128]) (p

[Bug target/119368] immintrin code running slower with gcc than clang

2025-03-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119368 --- Comment #4 from Hongtao Liu --- > > But for this case, I think targetm.can_change_mode_class (op_mode, > result_mode, ALL_REGS) is not needed since it's memory. I mean case in #c1, for case in #c0, it's more complicated. 1. It's also rela

[Bug other/42270] manual's sections are ordered counter intuitively

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42270 --- Comment #4 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:9fc2f849f58d3b35a7d7ceca057be07f9ad6284d commit r15-8684-g9fc2f849f58d3b35a7d7ceca057be07f9ad6284d Author: Sandra Loosemore Date

[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

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

[Bug middle-end/118939] [14/15 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Sam James changed: What|Removed |Added Summary|[14 Regression] ada:|[14/15 Regression] ada: |

[Bug middle-end/56888] memcpy implementation optimized as a call to memcpy

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888 --- Comment #53 from Andrew Pinski --- (In reply to Richard Biener from comment #52) > I'm not working on this. Honza, I'd like to see loop-distribution > automatically disable pattern recognition when a) inside a function named > like patterns

[Bug c++/119436] [12/13/14/15 regression] ICE in pop_local_binding, at cp/name-lookup.cc:2636

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119436 Sam James changed: What|Removed |Added Known to fail||15.0, 6.1.0 Target Milestone|---

[Bug c++/119154] GCC 15.0 std module with compiled with -O3 breaks when loaded with -O0 (not -O1, -O2 and -Ofast)

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119154 --- Comment #12 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:9fcb9d39c36ae0c1b1681c68d314580ae0c820c4 commit r15-8687-g9fcb9d39c36ae0c1b1681c68d314580ae0c820c4 Author: Nathaniel Shead Date

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #18 from Sam James --- WFM.

[Bug middle-end/119439] gcc_assert and gcc_checking_assert should use [[assume(x)]];

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119439 Sam James changed: What|Removed |Added CC||jakub at gcc dot gnu.org Status

[Bug middle-end/119439] New: gcc_assert and gcc_checking_assert should use [[assume(x)]];

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119439 Bug ID: 119439 Summary: gcc_assert and gcc_checking_assert should use [[assume(x)]]; Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keywords: internal-improv

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #17 from Andrew Pinski --- (In reply to Sam James from comment #16) > Sorry, this machine was testing with --enable-checking=release. Fixing that > works (so gcc_checking_assert does something). But it means I see the > warning with

[Bug libitm/88319] all-target and all-target-libitm build targets fail for libitm.

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88319 --- Comment #8 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:70bc553e1b565d2e162894ea29a223b44e9133e3 commit r15-8689-g70bc553e1b565d2e162894ea29a223b44e9133e3 Author: Iain Sandoe Date: Sun

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #16 from Sam James --- Sorry, this machine was testing with --enable-checking=release. Fixing that works (so gcc_checking_assert does something). But it means I see the warning with release-checking, so maybe should do gcc_assert ins

[Bug target/114591] [12/13/14/15 Regression] register allocators introduce an extra load operation since gcc-12

2025-03-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114591 --- Comment #18 from Hongtao Liu --- (In reply to Hongtao Liu from comment #16) > > > > 4952 /* See if a MEM has already been loaded with a widening operation; > > 4953 if it has, we can use a subreg of that. Many CISC machines >

[Bug target/119368] immintrin code running slower with gcc than clang

2025-03-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119368 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug target/119425] [15 Regression] ICE: in extract_constrain_insn, at recog.cc:2783 insn does not satisfy its constraints: {avx2_pblenddv8si} since r15-1679

2025-03-23 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119425 Hongtao Liu changed: What|Removed |Added CC||lin1.hu at intel dot com --- Comment #2 f

[Bug preprocessor/119438] stringify operator # should mention what the token afterwards was if not a macro parameter

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119438 --- Comment #2 from Andrew Pinski --- This should not be too hard to add, current code does: ``` /* Check the stringifying # constraint 6.10.3.2.1 of function-like macros when lexing the subsequent token. */ if (macro->coun

[Bug preprocessor/119438] stringify operator # should mention what the token afterwards was if not a macro parameter

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

[Bug preprocessor/119438] More descriptive warning desired: '#' is not followed by a macro parameter

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

[Bug preprocessor/119438] New: More descriptive warning desired: '#' is not followed by a macro parameter

2025-03-23 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119438 Bug ID: 119438 Summary: More descriptive warning desired: '#' is not followed by a macro parameter Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: n

[Bug other/42270] manual's sections are ordered counter intuitively

2025-03-23 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42270 --- Comment #7 from sandra at gcc dot gnu.org --- I've checked in patches doing most of the re-ordering, but I'm leaving this issue open for now because I'd still like to do something to group the attributes and built-ins sections, once I figure o

[Bug c++/104255] parsing function signature fails when it uses a function parameter outside of an unevaluated context

2025-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104255 --- Comment #10 from Patrick Palka --- *** Bug 119434 has been marked as a duplicate of this bug. ***

[Bug middle-end/56888] memcpy implementation optimized as a call to memcpy

2025-03-23 Thread bugdal at aerifal dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888 --- Comment #54 from Rich Felker --- I don't think name detection is a reasonable solution to this problem. It won't solve anything when there's an intermediate call where you'd get indirect recursion. The right solution here is always honoring

[Bug c++/64500] push_to_top_level() shows up high during Chromium build.

2025-03-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 ak at gcc dot gnu.org changed: What|Removed |Added Version|5.0 |14.0 Ever confirmed|0

[Bug c++/64500] push_to_top_level() shows up high during Chromium build.

2025-03-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Comment

[Bug d/117832] Use CONSTRUCTOR_ZERO_PADDING_BITS in the D FE

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117832 --- Comment #2 from Iain Buclaw --- Gave a little test of this flag. Doesn't look like it will be able to replace all the uses where `memset(0)` is currently generated in the D front-end. It probably doesn't harm to have both this and `-ftrivia

[Bug c++/119437] New: ICE in build_base_path, at cp/class.cc:302

2025-03-23 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119437 Bug ID: 119437 Summary: ICE in build_base_path, at cp/class.cc:302 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug middle-end/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 --- Comment #14 from Sam James --- For completeness, it was also "fixed" on trunk by r15-472-g151d1533f2b5d1.

[Bug c++/119437] [12/13/14/15 regression] ICE in build_base_path, at cp/class.cc:302

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119437 Sam James changed: What|Removed |Added Known to fail||15.0, 8.1.0 Target Milestone|---

[Bug c++/119434] template argument 2 is invalid for CTAD

2025-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119434 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 Xi Ruoyao changed: What|Removed |Added Known to fail||14.2.0 Known to work|

[Bug other/42270] manual's sections are ordered counter intuitively

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42270 --- Comment #5 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:bf2157abfa0d3e685d888df57052740c5ec87950 commit r15-8685-gbf2157abfa0d3e685d888df57052740c5ec87950 Author: Sandra Loosemore Date

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #14 from Andrew Pinski --- s/gcc_assert_checking/gcc_checking_assert/ :)

[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

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

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #15 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/678928.html

[Bug other/42270] manual's sections are ordered counter intuitively

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42270 --- Comment #6 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:96492302a23c945d35fe1c83062da6f22c4f7b72 commit r15-8686-g96492302a23c945d35fe1c83062da6f22c4f7b72 Author: Sandra Loosemore Date

[Bug other/42270] manual's sections are ordered counter intuitively

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42270 --- Comment #3 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:557e809455a886e8f59f57e5c7b0a940e028d130 commit r15-8683-g557e809455a886e8f59f57e5c7b0a940e028d130 Author: Sandra Loosemore Date

[Bug middle-end/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a

2025-03-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Eric Botcazou changed: What|Removed |Added Component|target |middle-end --- Comment #12 from Eric Bo

[Bug c/118005] Diagnostic for mixing noipa and inline mentions nonline rather noipa

2025-03-23 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118005 Alejandro Colomar changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVA

[Bug c++/119436] New: ICE in pop_local_binding, at cp/name-lookup.cc:2636

2025-03-23 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119436 Bug ID: 119436 Summary: ICE in pop_local_binding, at cp/name-lookup.cc:2636 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug target/119435] Darwin: constructor priorities are not supported

2025-03-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119435 --- Comment #2 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #1) > I am actually surprised we don't have an enhancement bug for this. > > The reason we do not have this is because it needs linker support (for a > complete impl.)

[Bug target/119435] Darwin: constructor priorities are not supported

2025-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119435 --- Comment #3 from Iain Sandoe --- (In reply to Sergey Fedorov from comment #2) > (In reply to Iain Sandoe from comment #1) > > I am actually surprised we don't have an enhancement bug for this. > > > > The reason we do not have this is becaus

[Bug target/119435] Darwin: constructor priorities are not supported

2025-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119435 Iain Sandoe changed: What|Removed |Added Severity|normal |enhancement Target|powerpc-ap

[Bug libitm/88319] all-target and all-target-libitm build targets fail for libitm.

2025-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88319 Iain Sandoe changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/119435] New: Darwin PowerPC error: constructor priorities are not supported

2025-03-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119435 Bug ID: 119435 Summary: Darwin PowerPC error: constructor priorities are not supported Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/116827] New C++ failures in macOS 15

2025-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116827 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org

[Bug target/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-03-23 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug middle-end/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #5 from Iain Buclaw --- (In reply to Iain Buclaw from comment #4) > I'm going to call this a bug in the D front-end. > > https://godbolt.org/z/EYvcfE4aK > > extern(C++) class Foo { > ubyte[4] not_multiple_of_8; > } > > static

[Bug target/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-03-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Eric Botcazou changed: What|Removed |Added Component|ada |target --- Comment #10 from Eric Botcaz

[Bug middle-end/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #4 from Iain Buclaw --- I'm going to call this a bug in the D front-end. https://godbolt.org/z/EYvcfE4aK extern(C++) class Foo { ubyte[4] not_multiple_of_8; } static assert(__traits(classInstanceAlignment, Foo) == 8); static a

[Bug rtl-optimization/119362] tree-object-size.cc:1377:1: error: unrecognizable insn

2025-03-23 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119362 --- Comment #1 from John David Anglin --- Created attachment 60856 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60856&action=edit ira-costs.cc patch to fix build on PA 1.x The hunk of code disabled in the attached patch was added in com

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Iain Buclaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:72d85f2163306c8ba234d228d8071ed368cbd2f2 commit r13-9445-g72d85f2163306c8ba234d228d8071ed368cbd2f2 Author: Iain Buclaw Date

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:e4e7d446ec3efba0c70bebfa9ba6385c233ef083 commit r14-11439-ge4e7d446ec3efba0c70bebfa9ba6385c233ef083 Author: Iain Buclaw Dat

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #5 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:597168191e2909aec745f4dc084e1f8d44fdb3e4 commit r15-8682-g597168191e2909aec745f4dc084e1f8d44fdb3e4 Author: Iain Buclaw Date: Sun M

[Bug target/118485] [15 Regression] gnat fails to build on m68k-linux-gnu-gnu

2025-03-23 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118485 --- Comment #9 from Mikael Pettersson --- (In reply to Mikael Pettersson from comment #5) > I see the same failure with vanilla gcc-15-20250119 in a native bootstrap on > m68k-linux-gnu. > > Trying a bisect, but it'll be painfully slow. gcc-15

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libitm/88319] all-target and all-target-libitm build targets fail for libitm.

2025-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88319 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org Last rec

[Bug libstdc++/118546] std::experimental::simd operator== fails to compile with clang++ 19.1.0 on x86-64-v4

2025-03-23 Thread lee.imple at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118546 Imple Lee changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #3 from Iain Buclaw --- The last change that touched TYPE_PACKED between 12..13 was r13-1104-gf4c3ce32fa54c1. Could start there for a quick bisect.

[Bug c++/119434] New: template argument 2 is invalid for CTAD

2025-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119434 Bug ID: 119434 Summary: template argument 2 is invalid for CTAD Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #2 from Iain Buclaw --- Reduced test: ``` void test8847e() { auto foo()(inout int) { struct Bar {} return inout(Bar)(); } auto bar = foo(0); }

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 --- Comment #4 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #3) > (In reply to Sam James from comment #2) > > Created attachment 60797 [details] > > reduced.i > > Hmm strangely I cannot reproduce the ICE with the reduced test case. .

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 --- Comment #3 from Xi Ruoyao --- (In reply to Sam James from comment #2) > Created attachment 60797 [details] > reduced.i Hmm strangely I cannot reproduce the ICE with the reduced test case.

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug bootstrap/119430] profiledbootstrap fails on armv7a-unknown-linux-gnueabhif (crashes in elists__append_elmt during stagefeedback)

2025-03-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ada/118939] [14 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-03-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Eric Botcazou changed: What|Removed |Added Last reconfirmed|2025-02-21 00:00:00 |2025-03-23 Ever confirmed|0

[Bug libstdc++/119429] size_t __nargs = -1 in std::format

2025-03-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119429 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #21 f

[Bug ipa/119376] [15 Regression] musttail does not get dropped after inlining?

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 --- Comment #14 from Andrew Pinski --- Another one testcase: ``` struct s1 { int t; }; char *f1(int); char *f2(int a) { s1 t; asm("":"+m"(t)); [[clang::musttail]] return f1(a); } ``` But this is about escapability of t.