[Bug c++/102846] Misleading suggestion to include cassert

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102846 Andrew Pinski changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #

[Bug c/118625] Ironic fix-it hint when for use of assert macro function not as macro function

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

[Bug c/118625] Ironic fix-it hint when the right parenthesis of an assert macro is forgotten

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

[Bug testsuite/118597] [15 Regression] gcc.dg/vect/vect-fncall-mask.c fails since r15-6945-gea1deefe54ea1c

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118597 --- Comment #5 from Andrew Pinski --- (In reply to Richard Biener from comment #4) > It will need less strict pattern matching, likely just the SSA names used > changed (I also have the opinion -raw dumps should be removed, so try to > not rely

[Bug c/118625] New: Ironic fix-it hint when the right parenthesis of an assert macro is forgotten

2025-01-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118625 Bug ID: 118625 Summary: Ironic fix-it hint when the right parenthesis of an assert macro is forgotten Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug testsuite/118597] [15 Regression] gcc.dg/vect/vect-fncall-mask.c fails since r15-6945-gea1deefe54ea1c

2025-01-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118597 Richard Biener changed: What|Removed |Added Keywords|missed-optimization | CC|

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

2025-01-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/118558] [15 Regression] csmith: another runtime error with march=znver3 since r15-3467-g5df05de3d91775

2025-01-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/118558] [15 Regression] csmith: another runtime error with march=znver3 since r15-3467-g5df05de3d91775

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558 --- Comment #10 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7f1deb47a70ff804f0b2cce7be7e5fe8ba13 commit r15-7149-g7f1deb47a70ff804f0b2cce7be7e5fe8ba13 Author: Richard Biener Date:

[Bug c++/118624] in-class template declaration failed to match out-class impl

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624 --- Comment #3 from Andrew Pinski --- Or P1787R6 changed how the lookup here and I am not 100% sure if any compiler implements that paper 100% either.

[Bug c++/118624] in-class template declaration failed to match out-class impl

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

[Bug c++/118624] in-class template declaration failed to match out-class impl

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

[Bug c++/118624] New: in-class template declaration failed to match out-class impl

2025-01-22 Thread shyeyian at petalmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624 Bug ID: 118624 Summary: in-class template declaration failed to match out-class impl Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118623] [12/13/14/15 regression] Miscompile with -O2/3 and -O0/1

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 --- Comment #4 from Andrew Pinski --- Created attachment 60247 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60247&action=edit self testing testcase

[Bug tree-optimization/118623] [12/13/14/15 regression] Miscompile with -O2/3 and -O0/1

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 --- Comment #3 from Andrew Pinski --- (In reply to Sam James from comment #2) > Changing it to: > ``` > int a, b; > > int c(int f, int g) { > for (int d = 0; d <= 4; d++) { > int e = 1 << f; > if (g & e) > return d; > } > re

[Bug tree-optimization/118623] [12/13/14/15 regression] Miscompile with -O2/3 and -O0/1

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 --- Comment #2 from Sam James --- Changing it to: ``` int a, b; int c(int f, int g) { for (int d = 0; d <= 4; d++) { int e = 1 << f; if (g & e) return d; } return 5; } int h(int f, int g) { if ((c(g - 50, g) + g + g) & 1)

[Bug tree-optimization/118623] [12/13/14/15 regression] Miscompile with -O2/3 and -O0/1

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 Sam James changed: What|Removed |Added Component|c |tree-optimization --- Comment #1 from Sam J

[Bug c/118623] [12/13/14/15 regression] Miscompile with -O2/3 and -O0/1

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 Sam James changed: What|Removed |Added Summary|Miscompile with -O2/3 and |[12/13/14/15 regression]

[Bug c/118623] New: Miscompile with -O2/3 and -O0/1

2025-01-22 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623 Bug ID: 118623 Summary: Miscompile with -O2/3 and -O0/1 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #11 from Andrew Pinski --- (In reply to Sam James from comment #9) > (In reply to Andrew Pinski from comment #8) > > Of course, you can try the new -fzero-init-padding-bits=all too. I think would produce the same behavior as r15-57

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

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #10 from Sam James --- (or unions, etc)

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #8 from Andrew Pinski --- Found out where the change from the self test failing to comparison fails: r15-5746-g0547dbb725b6d8 self test fails r15-5747-gfd62fdc5e1b3c4 fails with comparison Maybe there is some uninitialized variable

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

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #9 from Sam James --- (In reply to Andrew Pinski from comment #8) Of course, you can try the new -fzero-init-padding-bits=all too.

[Bug c++/107741] Missed member variable name in mangling of externally visible lambdas used in inline initialization of static members

2025-01-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107741 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned a

[Bug c++/103524] [meta-bug] modules issue

2025-01-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 118582, which changed state. Bug 118582 Summary: [15 regression] [modules] Bad file data when building as a header module since r15-2807 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118582 What|Removed

[Bug c++/118582] [15 regression] [modules] Bad file data when building as a header module since r15-2807

2025-01-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118582 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118582] [15 regression] [modules] Bad file data when building as a header module since r15-2807

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118582 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:21cccfa91e6ed172062e0c62682422269c914937 commit r15-7146-g21cccfa91e6ed172062e0c62682422269c914937 Author: Nathaniel Shead Date:

[Bug c++/107741] Missed member variable name in mangling of externally visible lambdas used in inline initialization of static members

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107741 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:685c458fb4775cbd1a3b3d3585d1e5615d7eaee9 commit r15-7147-g685c458fb4775cbd1a3b3d3585d1e5615d7eaee9 Author: Nathaniel Shead Date:

[Bug c/118403] uninitialized warning with automatic union

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403 --- Comment #15 from Sam James --- (In reply to Stephen Hemminger from comment #14) > (In reply to Sam James from comment #13) > > (In reply to Stephen Hemminger from comment #12) > > > > What does `gcc --version` give? > > $ gcc-15 --version

[Bug target/118622] vshrn_n_u16 with a vmvnq_u16 should produce the same code as a vsubhn_u16 with -1

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118622 --- Comment #1 from Andrew Pinski --- Created attachment 60246 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60246&action=edit testcase In comment #0, I forgot the add in the include files so I am attaching the full testcase here.

[Bug target/118622] New: vshrn_n_u16 with a vmvnq_u16 should produce the same code as a vsubhn_u16 with -1

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118622 Bug ID: 118622 Summary: vshrn_n_u16 with a vmvnq_u16 should produce the same code as a vsubhn_u16 with -1 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywor

[Bug middle-end/118621] On PowerPC, taking address-of stack-allocated struct variable gets 0xffffffffffffffff

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118621 --- Comment #2 from Andrew Pinski --- I suspect you file this bug with debian since that is where you got GCC and the GSL library from.

[Bug middle-end/118621] On PowerPC, taking address-of stack-allocated struct variable gets 0xffffffffffffffff

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

[Bug c/118621] New: On PowerPC, taking address-of stack-allocated struct variable gets 0xffffffffffffffff

2025-01-22 Thread ej_zg at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118621 Bug ID: 118621 Summary: On PowerPC, taking address-of stack-allocated struct variable gets 0x Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug tree-optimization/82142] struct zeroing should use wide stores instead of avoiding overwriting padding

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82142 --- Comment #2 from Sam James --- On trunk, the codegen looks optimal now (surely Jakub's changes in PR116416).

[Bug c++/118620] New: ICE: Segmentation fault

2025-01-22 Thread eczbek.void at gmail dot com via Gcc-bugs
-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250122/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch

[Bug c++/118619] New: ICE on lambda with explicit this parameter in concept

2025-01-22 Thread eczbek.void at gmail dot com via Gcc-bugs
-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250122/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch

[Bug middle-end/86284] Insert trap instruction in place of missing return statement on dodgy code

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86284 --- Comment #7 from Sam James --- (and for C, I think we have another bug for this, but it's very hard to do.)

[Bug c++/104642] Add __builtin_trap() for missing return at -O0

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

[Bug middle-end/86284] Insert trap instruction in place of missing return statement on dodgy code

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

[Bug target/118501] [14 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #12 from Xi Ruoyao --- LoongArch fixed on trunk too.

[Bug target/118501] [14 regression] aarch64: ICE in simplify_context::simplify_subreg

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501 --- Comment #11 from GCC Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:9ddf4a6cc650360e620c8fd97f550bf833cc177a commit r15-7145-g9ddf4a6cc650360e620c8fd97f550bf833cc177a Author: Xi Ruoyao Date: Wed Jan

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > r15-6007-g2c605367b4953f fails with comparison r15-5801-g75ade6106bbe01 fails with comparison

[Bug c/118618] New: RISC-V: Zcmp extension and RVV auto-vectorization are both enabled,the sp register error.

2025-01-22 Thread bigmagicreadsun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118618 Bug ID: 118618 Summary: RISC-V: Zcmp extension and RVV auto-vectorization are both enabled,the sp register error. Product: gcc Version: 14.2.1 Status: UNCONFIRMED

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

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

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > the auto_vec for converts could use N as being 2 too since > supportable_indirect_convert_operation only currently pushes up to 2 > elements and allocating memor

[Bug tree-optimization/118617] the auto_vec converts variable that gets passed into supportable_indirect_convert_operation could use internal storage

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

[Bug tree-optimization/118617] New: the auto_vec converts variable that gets passed into supportable_indirect_convert_operation could use internal storage

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118617 Bug ID: 118617 Summary: the auto_vec converts variable that gets passed into supportable_indirect_convert_operation could use internal storage Product: gcc Versi

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #7 from Andrew Pinski --- the auto_vec for converts could use N as being 2 too since supportable_indirect_convert_operation only currently pushes up to 2 elements and allocating memory in the heap would be slowing than the internal s

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #6 from Andrew Pinski --- r15-6007-g2c605367b4953f fails with comparison

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #6 from Andrew Pinski --- This should avoid the warning and not change release checking performance: ``` [apinski@xeond2 gcc]$ git diff tree-vect-generic.cc diff --git a/gcc/tree-vect-generic.cc b/gcc/tree-vect-generic.cc index c2f7

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #5 from Andrew Pinski --- I also think this warning is bogus. Because converts will be non empty if supportable_indirect_convert_operation returns true. Yes adding an assert will workaround the issue though. Maybe that is enough her

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #9 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:5472f5185c0c78483f0d4e078e974030d7b5dccd commit r15-7136-g5472f5185c0c78483f0d4e078e974030d7b5dccd Author: Haochen Jiang Date: T

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #4 from Sam James --- I am, fwiw, I just found the presence of the warning a bit odd as I've never seen FPs with -Waggressive-loop-optimizations. But if it's a FP, then I don't intend on trying to reduce it, and I'm fine with closing

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #8 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:7f59b88279963cd05d2c2620a03d8ddc9b7a2775 commit r15-7135-g7f59b88279963cd05d2c2620a03d8ddc9b7a2775 Author: Haochen Jiang Date: T

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #3 from Andrew Pinski --- I thought we documented somewhere you should use --disable-werror if you are using bootstrap-O3 and/or bootstrap-lto .

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 Haochen Jiang changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #13 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:a75896c142f845831a81f818dd329e87736c05a9 commit r15-7140-ga75896c142f845831a81f818dd329e87736c05a9 Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #10 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:71a27375d09ec6b4dee3938b6d1ed6762ecdcfea commit r15-7137-g71a27375d09ec6b4dee3938b6d1ed6762ecdcfea Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #15 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:f1056463cb4c7950fc1bada6485c14df71ea3dd7 commit r15-7142-gf1056463cb4c7950fc1bada6485c14df71ea3dd7 Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #14 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:cfef82be8973c9dc481c96306ba3e2c342398e48 commit r15-7141-gcfef82be8973c9dc481c96306ba3e2c342398e48 Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #12 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:a3e198853031504b5a71373ff09c33ee5be1a824 commit r15-7139-ga3e198853031504b5a71373ff09c33ee5be1a824 Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #16 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:f1f281324b23e602436a10404c4b3a671d7f6f06 commit r15-7143-gf1f281324b23e602436a10404c4b3a671d7f6f06 Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #7 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:d584660fd44c714855c5295b45cb4a06f1d82e58 commit r15-7134-gd584660fd44c714855c5295b45cb4a06f1d82e58 Author: Haochen Jiang Date: T

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #11 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:d4d5935f124ab72bb32d76ba8467aa2cdbc2a329 commit r15-7138-gd4d5935f124ab72bb32d76ba8467aa2cdbc2a329 Author: Haochen Jiang Date:

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #6 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:b2667fca938c393579e6e4ae9144ff5111ee8b8f commit r15-7133-gb2667fca938c393579e6e4ae9144ff5111ee8b8f Author: Haochen Jiang Date: T

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 --- Comment #5 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:a19aca8afbf141bb550e9040135cc46387ce7f73 commit r15-7132-ga19aca8afbf141bb550e9040135cc46387ce7f73 Author: Haochen Jiang Date: T

[Bug target/118609] gcc.target/i386/amxmovrs-t2rpntlvw-2.c etc. FAIL

2025-01-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118609 --- Comment #3 from GCC Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:a19aca8afbf141bb550e9040135cc46387ce7f73 commit r15-7132-ga19aca8afbf141bb550e9040135cc46387ce7f73 Author: Haochen Jiang Date: T

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #2 from Sam James --- r15-1677-gc320a7efcd35ba

[Bug tree-optimization/118616] [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 --- Comment #1 from Sam James --- Created attachment 60244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60244&action=edit build.log.xz

[Bug tree-optimization/118616] New: [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 Bug ID: 118616 Summary: [15 regression] -Waggressive-loop-optimizations warnings in tree-vect-generic.cc on x86 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 Sam James changed: What|Removed |Added Keywords||patch Ever confirmed|0

[Bug target/118609] gcc.target/i386/amxmovrs-t2rpntlvw-2.c etc. FAIL

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118609 Sam James changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/118270] [15 Regression] Many AVX10.2 test failures

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270 Sam James changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #3 from S

[Bug target/118609] gcc.target/i386/amxmovrs-t2rpntlvw-2.c etc. FAIL

2025-01-22 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118609 --- Comment #1 from Haochen Jiang --- I am going to revise the testcase through the thread: https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674157.html Dup with PR118270

[Bug tree-optimization/118572] [15 regression] wrong code for expression ((0x80 & c) != 0) && ((0xc0 & c) == 0x80)) since r15-6893

2025-01-22 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

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

2025-01-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497 Sam James changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |vmakarov at gcc dot gnu.org Last

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > My bet is on r15-6661 then. That was my next guess anyways and you would be correct, that is: r15-6661-gc5db3f50bdf34e works Now to start bisecting when the

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

2025-01-22 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||jakub at gcc dot gnu.org --- Comment #4

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #3 from Andrew Pinski --- r15-6660-g45d306a835cb3f fails with comparison

[Bug rtl-optimization/91981] Speed degradation because of inlining a register clobbering function

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

[Bug rtl-optimization/91981] Speed degradation because of inlining a register clobbering function

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

[Bug rtl-optimization/107772] function prologue generated even though it's only needed in an unlikely path

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107772 Andrew Pinski changed: What|Removed |Added Keywords||ra Status|NEW

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

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

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #2 from Andrew Pinski --- So far I have the following data points after I reapplied the patch: r15-5746-g0547dbb725b6d8 fails the way it was reported r15-6350-gbb829ce157f8b4 fails with comparison r15-6503-g2b687ad95de610 fails w

[Bug rtl-optimization/116028] [15 regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Bug 116028 depends on bug 118615, which changed state. Bug 118615 Summary: [15 Regression] Bootstrap failure on aarch64 after r15-2810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 What|Removed |Added ---

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

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 Bug ID: 118615 Summary: [15 Regression] Bootstrap failure on aarch64 after r15-2810 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Se

[Bug middle-end/118614] [riscv] Naked function attribute on riscv optimizes away C conditional

2025-01-22 Thread charlie at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614 --- Comment #3 from Charlie --- Oh okay, thank you for clarifying this behavior for me. I was assuming that in a naked function there would be different behavior with register variables, but I see that is an invalid assumption and it was just co

[Bug middle-end/118614] [riscv] Naked function attribute on riscv optimizes away C conditional

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

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-22 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #11 from Thomas Petazzoni --- Is there any update about this patch? Should consider Microblaze unmaintained/broken, and possibly drop support for it?

[Bug fortran/118613] maxval/minval may evaluate argument too often

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

[Bug fortran/118613] maxval/minval may evaluate argument too often

2025-01-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613 --- Comment #4 from anlauf at gcc dot gnu.org --- Created attachment 60243 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60243&action=edit Preliminary patch This does the job and fixes the rank-1 case. Regtests ok. Still need to adjust

[Bug middle-end/118614] [riscv] Naked function attribute on riscv optimizes away C conditional

2025-01-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #1 from Andrew P

[Bug c/118614] New: [riscv] Naked function attribute on riscv optimizes away C conditional

2025-01-22 Thread charlie at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614 Bug ID: 118614 Summary: [riscv] Naked function attribute on riscv optimizes away C conditional Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: norma

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

2025-01-22 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497 --- Comment #3 from Vladimir Makarov --- (In reply to Andrew Pinski from comment #2) > I wonder if the patch in r15-2810-g3c67a0fa1dd39a3378deb854a7fef0ff7fe38004 > (which was reverted due to a bootstrap failure on aarch64) fixes this one > too

[Bug fortran/118613] maxval/minval may evaluate argument too often

2025-01-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613 --- Comment #3 from anlauf at gcc dot gnu.org --- Adding a second temporary reduces the evaluation count for the rank-1 case further: diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intrinsic.cc index afbec5b2752..0cdc886a715 100

[Bug rtl-optimization/118562] [15 Regression] SEGV in late-combine (rtl_ssa::function_info::remove_use)

2025-01-22 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118562 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug fortran/118613] maxval/minval may evaluate argument too often

2025-01-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #1) > The following partial patch seems to fix the rank-2 cases here by forcing > a temporary that gets reused: This prints: 4 0

[Bug fortran/118613] maxval/minval may evaluate argument too often

2025-01-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613 --- Comment #1 from anlauf at gcc dot gnu.org --- The following partial patch seems to fix the rank-2 cases here by forcing a temporary that gets reused: diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intrinsic.cc index afbec5b2

  1   2   >