[Bug rtl-optimization/108681] [13 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-14 Thread Martin.Jansa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 --- Comment #10 from Martin Jansa --- (In reply to rsand...@gcc.gnu.org from comment #9) > Fixed. Thanks, I can confirm that it fixes the hang in the original case (building carotene in opencv).

[Bug analyzer/107396] [13 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107396 --- Comment #2 from Kewen Lin --- *** Bug 108726 has been marked as a duplicate of this bug. ***

[Bug target/108726] gcc.dg/analyzer/pipe-glibc.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108726 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/108375] [10/11/12/13 Regression] Some variably modified types not detected as such

2023-02-14 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375 --- Comment #6 from Martin Uecker --- Created attachment 54458 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54458=edit preliminary patch against trunk Here is a preliminary patch. It takes a bit from type_common to cache negative

[Bug target/108778] Missing optimization with direct register access instead of structure mapping

2023-02-14 Thread klaus.doldinger64 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108778 --- Comment #1 from Wilhelm M --- This is a simpler example: #include #include typedef struct Cpu { // this is missing in avr headers volatile uint8_t reserved_0_3[4]; volatile uint8_t ccp; volatile uint8_t reserved_5_a[6];

[Bug target/108778] Missing optimization with direct register access instead of structure mapping

2023-02-14 Thread klaus.doldinger64 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108778 --- Comment #2 from Wilhelm M --- Or even simpler: #include #include static uint16_t g; int main() { for(uint8_t i = 0; i < 20; i++) { ++g; //VPORTA_DIR; // suppresses optimization VPORTA.DIR; } }

[Bug tree-optimization/108571] Fix for PR96373 regresses fabd_1.c with -ftrapping-math

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108571 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:b9c78605039f839f3c79ad8fca4f60ea9a5654ed commit r13-5979-gb9c78605039f839f3c79ad8fca4f60ea9a5654ed Author: Richard Sandiford

[Bug target/96373] SVE miscompilation on vectorized division loop, leading to FP exception

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96373 --- Comment #16 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:b9c78605039f839f3c79ad8fca4f60ea9a5654ed commit r13-5979-gb9c78605039f839f3c79ad8fca4f60ea9a5654ed Author: Richard Sandiford

[Bug target/108779] AARCH64 should add an option to change TLS register location to support EL1/EL2/EL3 system registers

2023-02-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108779 ktkachov at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/108728] gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108728 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/108782] [13 Regression] ICE in add_phi_arg, at tree-phinodes.cc:359

2023-02-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108782 --- Comment #2 from Richard Biener --- We're applying outer loop vectorization but the nested cycle isn't vectorizable because we run into if (!flow_bb_inside_loop_p (loop, gimple_bb (use_stmt))) { if (dump_enabled_p

[Bug tree-optimization/108785] New: nested cycle vectorization too restrictive

2023-02-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108785 Bug ID: 108785 Summary: nested cycle vectorization too restrictive Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/108723] [13 Regression] Recent changes broke risc-v testsuite

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108723 --- Comment #1 from CVS Commits --- The master branch has been updated by Andreas Schwab : https://gcc.gnu.org/g:26f4b055d97804666d6d144b2af9b9dee0854354 commit r13-5981-g26f4b055d97804666d6d144b2af9b9dee0854354 Author: Andreas Schwab Date:

[Bug testsuite/108723] [13 Regression] Recent changes broke risc-v testsuite

2023-02-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108723 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:91b36d1c85ae3ad667d11c1ceeffc698126ab804 commit r13-5982-g91b36d1c85ae3ad667d11c1ceeffc698126ab804 Author: Jakub Jelinek Date:

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/108777] Add support for --param asan-kernel-mem-intrinsic-prefix=1

2023-02-14 Thread elver at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108777 --- Comment #8 from Marco Elver --- Thanks for the quick turnaround!

[Bug target/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 Kewen Lin changed: What|Removed |Added Last reconfirmed||2023-02-14 Status|UNCONFIRMED

[Bug target/108731] gcc.target/powerpc/bfp/vec-test-data-class-9.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108731 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/108731] gcc.target/powerpc/bfp/vec-test-data-class-9.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108731 Kewen Lin changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 --- Comment #2 from Kewen Lin --- *** Bug 108731 has been marked as a duplicate of this bug. ***

[Bug target/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 --- Comment #3 from Kewen Lin --- PR108731 has another test case gcc.target/powerpc/bfp/vec-test-data-class-9.c which needs to be updated too.

[Bug tree-optimization/108782] [13 Regression] ICE in add_phi_arg, at tree-phinodes.cc:359

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108782 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:994224236e0231807681b62e880d3c2772c69521 commit r13-5983-g994224236e0231807681b62e880d3c2772c69521 Author: Richard Biener Date:

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/108782] [13 Regression] ICE in add_phi_arg, at tree-phinodes.cc:359

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

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 Kewen Lin changed: What|Removed |Added Last reconfirmed||2023-02-14 CC|

[Bug debug/108772] [13 Regression] ICE in force_decl_die, at dwarf2out.cc:26751 since r13-4161-g32d16fe9d7e347bc

2023-02-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108772 --- Comment #5 from Richard Biener --- Btw, the limbo DIE is created via #0 new_die (tag_value=DW_TAG_variable, parent_die=, t=) at /home/rguenther/src/trunk/gcc/dwarf2out.cc:5882 #1 0x00e006ad in gen_variable_die (

[Bug c++/71954] template partial specialization for constexpr error

2023-02-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71954 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/108779] AARCH64 should add an option to change TLS register location to support EL1/EL2/EL3 system registers

2023-02-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108779 --- Comment #3 from ktkachov at gcc dot gnu.org --- Created attachment 54459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54459=edit Candidate patch Patch that implements -mtp= similar to clang if you have the capability to try it out

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-02-14 Thread ecurtin at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 ecurtin at redhat dot com changed: What|Removed |Added CC||ecurtin at redhat dot com

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #10 from Marek Polacek --- Sorry. A patch is on review.

[Bug middle-end/108786] New: bitmap_first_set_bit misses a bitmap_clear_first_bit

2023-02-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108786 Bug ID: 108786 Summary: bitmap_first_set_bit misses a bitmap_clear_first_bit Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/108786] bitmap_first_set_bit misses a bitmap_clear_first_bit

2023-02-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108786 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-02-14

[Bug ipa/108679] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:656 since r13-4685-g4834e9360f7bf42f

2023-02-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108679 --- Comment #4 from Martin Jambor --- I have proposed the fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611978.html

[Bug middle-end/108657] [13 Regression] csmith: possible wrong checksum with -O3 and -ftrivial-auto-var-init=zero

2023-02-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108657 --- Comment #13 from David Binderman --- I tried adding flag 1 to the run of the two binaries. Here is the bash history: 1003 gcc bug880.c 1004 ./a.out > /tmp/0 1005 ~/gcc/results/bin/gcc -w -O3 -ftrivial-auto-var-init=zero bug880.c -o

[Bug c++/108761] Add option to produce a unique section for non-COMDAT __attribute__((section("foo"))) object

2023-02-14 Thread paul_robinson at playstation dot sony.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108761 --- Comment #7 from Paul Robinson --- Okay. I'm persuaded this is not a great idea, and I'll solve the customer's problem another way.

[Bug target/108787] New: [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 Bug ID: 108787 Summary: [13 Regression] libsodium miscompilation on power9 starting with r13-2107 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/108787] [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |13.0 Priority|P3

[Bug target/108738] compile-time and memory-hog in mdreorg

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108738 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ec23e9e25eb64bb066dc408fd498861b8587bec8 commit r13-5994-gec23e9e25eb64bb066dc408fd498861b8587bec8 Author: Richard Biener Date:

[Bug target/108738] compile-time and memory-hog in mdreorg

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108738 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e1dfac7e71056e879f101fef1c5ecb8ff6be1a1f commit r13-5995-ge1dfac7e71056e879f101fef1c5ecb8ff6be1a1f Author: Richard Biener Date:

[Bug libstdc++/108797] New: libstdc++: Inconsistent noexcept-specific for valarray begin/end

2023-02-14 Thread holger.k at elberer dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108797 Bug ID: 108797 Summary: libstdc++: Inconsistent noexcept-specific for valarray begin/end Product: gcc Version: 9.5.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107096] Fully masking vectorization with AVX512 ICEs gcc.dg/vect/vect-over-widen-*.c

2023-02-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107096 --- Comment #10 from Hongtao.liu --- > > There's no other way to do N bit to two N/2 bit hi/lo (un)packing > (there's a 2x N/2 bit -> N bit operation, for whatever reason). > There's also no way to transform the d rgroup mask into the > f

[Bug tree-optimization/107096] Fully masking vectorization with AVX512 ICEs gcc.dg/vect/vect-over-widen-*.c

2023-02-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107096 --- Comment #11 from Hongtao.liu --- > > There's no other way to do N bit to two N/2 bit hi/lo (un)packing > (there's a 2x N/2 bit -> N bit operation, for whatever reason). > There's also no way to transform the d rgroup mask into the > f

[Bug libstdc++/108797] [10/11 Regression] libstdc++: Inconsistent noexcept-specifier for valarray begin/end

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108797 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug libstdc++/108797] [10/11 Regression] libstdc++: Inconsistent noexcept-specifier for valarray begin/end

2023-02-14 Thread holger.k at elberer dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108797 --- Comment #2 from Holger Kaelberer --- I expected that. Just for reference: Where can I find release-planning for specific releases/xxx branches of gcc?

[Bug tree-optimization/107096] Fully masking vectorization with AVX512 ICEs gcc.dg/vect/vect-over-widen-*.c

2023-02-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107096 --- Comment #12 from rguenther at suse dot de --- On Wed, 15 Feb 2023, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107096 > > --- Comment #11 from Hongtao.liu --- > > > > > There's no other way to do N

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 --- Comment #4 from Andrew Pinski --- (In reply to Marek Polacek from comment #3) > This came up in kernel: https://bugzilla.kernel.org/show_bug.cgi?id=215851 > which I've reduced to > > void > foo (void **failaddr) > { > *failaddr = ({

[Bug c/108796] Can't intermix C2x and GNU style attributes

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796 Andrew Pinski changed: What|Removed |Added Summary|GCC 13 accepts [[noreturn]] |Can't intermix C2x and GNU

[Bug tree-optimization/107972] backward propagation of finite property not performed

2023-02-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107972 --- Comment #5 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #3) > The backwards propagation fixed, but neither: <...> > avoids the 4.2e+1 cases in the output, because in neither case we properly > determine the ranges of res

[Bug tree-optimization/108355] [13 Regression] Dead Code Elimination Regression at -O2 since r13-2772-g9baee6181b4e42

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108355 --- Comment #4 from Andrew Pinski --- (In reply to CVS Commits from comment #3) > The trunk branch has been updated by Andrew Pinski : Sorry I forgot to fix the commit message for the corrected bug #.

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug tree-optimization/108354] [13 Regression] Dead Code Elimination Regression at -O2 since r13-89-gb3e98eb3396e16

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108354 Bug 108354 depends on bug 96921, which changed state. Bug 96921 Summary: Failure to optimize combined boolean not patterns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 What|Removed |Added

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96921, which changed state. Bug 96921 Summary: Failure to optimize combined boolean not patterns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 What|Removed |Added

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

XMM/YMM assembly bloat

2023-02-14 Thread Owen Cook via Gcc-bugs
Within "unrollOptimizations.c" compiled on a Ryzen 5 2600 using x86-64 gcc 12.2 "-O2 -march=native" gives vastly different assembler results given some scope things I have found. If the for loop iterator name is both int i in each loop, gcc seemingly spreads arrayA and arrayB into one single XMM

Re: XMM/YMM assembly bloat

2023-02-14 Thread Owen Cook via Gcc-bugs
Adding white space/newlines outside the function also affect the length of assembly. On Tue, Feb 14, 2023 at 5:09 PM Owen Cook wrote: > Within "unrollOptimizations.c" compiled on a Ryzen 5 2600 using x86-64 gcc > 12.2 "-O2 -march=native" gives vastly different assembler results given > some

[Bug target/108790] bpf: gcc emits malformed ldxdw instruction at -O2

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108790 --- Comment #1 from CVS Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:c348a717213b03c6661878934f197f4d261f0e56 commit r13-5989-gc348a717213b03c6661878934f197f4d261f0e56 Author: David Faust Date: Tue

[Bug c/108796] GCC 13 accepts [[noreturn]] attribute without -std=c2x

2023-02-14 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796 --- Comment #2 from Sam James --- Sorry, for completeness, I meant to include: ``` $ gcc-12 -O2 /tmp/foo.c # ditto with -std=c89 /tmp/foo.c:3:1: warning: 'noreturn' attribute ignored [-Wattributes] 3 | [[noreturn]] void foo(void) { |

[Bug c/101682] gcc incorrectly rejects C2x attributes after declaration-specifiers

2023-02-14 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101682 Sam James changed: What|Removed |Added CC||sam at gentoo dot org --- Comment #7 from

[Bug c/108796] GCC 13 accepts [[noreturn]] attribute without -std=c2x

2023-02-14 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796 Sam James changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Sam James

[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69585 --- Comment #6 from Andrew Pinski --- I see this only changed the C++ front-end. sudo just ran into a similar issue for the C front-end, see PR 108796.

[Bug tree-optimization/108354] [13 Regression] Dead Code Elimination Regression at -O2 since r13-89-gb3e98eb3396e16

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108354 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 --- Comment #7 from Marek Polacek --- I know you can't jump into a statement expression but that's not what's happening here. The kernel uses this trick to get the current address for error messages: #define __this_address ({ __label__

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 --- Comment #8 from Andrew Pinski --- (In reply to Marek Polacek from comment #7) > I know you can't jump into a statement expression but that's not what's > happening here. The kernel uses this trick to get the current address for > error

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-02-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #21 from Gaius Mulley --- For clarity the "RTentity uninitialized Storage module" error has disappeared.

[Bug c/108796] GCC 13 accepts [[noreturn]] attribute without -std=c2x

2023-02-14 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 --- Comment #5 from Andrew Pinski --- (In reply to Marek Polacek from comment #3) > I don't think we should be warning here at all and I have a patch to that > effect. I also disagree with the saying we should not be warning here. Address to

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 --- Comment #6 from Andrew Pinski --- On the statement expression part, it is documented that jumping into statement expression is not allowed too: https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Statement-Exprs.html#Statement-Exprs >Jumping

Re: XMM/YMM assembly bloat

2023-02-14 Thread Andrew Pinski via Gcc-bugs
On Tue, Feb 14, 2023 at 2:14 PM Owen Cook via Gcc-bugs wrote: > > Adding white space/newlines outside the function also affect the length of > assembly. Note -march=native is dependent on the machine which is being used. IIRC godbolt uses a few different machines and that means the answer which

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-02-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment

[Bug c++/106675] [10/11/12/13 Regression] g++ crashes on funky operators

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106675 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:53512f0055186d5556e9859c1f8beb25d2d28530 commit r11-10525-g53512f0055186d5556e9859c1f8beb25d2d28530 Author: Marek Polacek

[Bug c++/106675] [10/11/12/13 Regression] g++ crashes on funky operators

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106675 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1721d85708116a1edbe5ba30f055d47e6c1e29b6 commit r12-9174-g1721d85708116a1edbe5ba30f055d47e6c1e29b6 Author: Marek Polacek

[Bug c++/106675] [10 Regression] g++ crashes on funky operators

2023-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106675 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Summary|[10/11/12/13

[Bug c/108796] GCC 13 accepts [[noreturn]] attribute without -std=c2x

2023-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug tree-optimization/108355] [13 Regression] Dead Code Elimination Regression at -O2 since r13-2772-g9baee6181b4e42

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108355 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a42ed1d9181d21d5cb02f131f641c0cf375eca9d commit r13-5988-ga42ed1d9181d21d5cb02f131f641c0cf375eca9d Author: Andrew Pinski Date:

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #10 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a42ed1d9181d21d5cb02f131f641c0cf375eca9d commit r13-5988-ga42ed1d9181d21d5cb02f131f641c0cf375eca9d Author: Andrew Pinski Date:

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-02-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 Gaius Mulley changed: What|Removed |Added Status|NEW |WAITING

[Bug c++/106675] [10/11/12/13 Regression] g++ crashes on funky operators

2023-02-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106675 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:cce62625025380c2ea2a220deb10f8f355f83abf commit r13-5990-gcce62625025380c2ea2a220deb10f8f355f83abf Author: Marek Polacek Date:

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #3 from Kewen Lin --- One more test case fail with abort on both LE & BE (with -Ofast -mcpu=power9): #define N 16 unsigned long long vals[N]; unsigned int res[N]; unsigned int expects[N] = {0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,

[Bug c++/108795] [10/11/12/13 Regression] ICE in prep_operand, at cp/call.cc:6325

2023-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108795 Marek Polacek changed: What|Removed |Added Target Milestone|--- |10.5 Status|UNCONFIRMED

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

2023-02-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080 --- Comment #10 from Marek Polacek --- (In reply to Andrew Pinski from comment #8) > (In reply to Marek Polacek from comment #7) > > I know you can't jump into a statement expression but that's not what's > > happening here. The kernel uses

[Bug c/108796] New: GCC 13 accepts [[noreturn]] attribute without -std=c2x

2023-02-14 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796 Bug ID: 108796 Summary: GCC 13 accepts [[noreturn]] attribute without -std=c2x Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/108787] [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 --- Comment #2 from Jakub Jelinek --- In *.optimized dump it looks correct: d_16 = h2_14(D) w* s1_15(D); _19 = WIDEN_MULT_PLUS_EXPR ; d0_17 = WIDEN_MULT_PLUS_EXPR ; where WIDEN_MULT_EXPR has 2 64-bit unsigned operands and 128-bit result,

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-02-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #2 from Segher Boessenkool --- Right, it needs a vpopcntb or similar first.

[Bug c/108789] New: __builtin_(add|mul)_overflow methods generate duplicate operations if both operands are const

2023-02-14 Thread dpejesh at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108789 Bug ID: 108789 Summary: __builtin_(add|mul)_overflow methods generate duplicate operations if both operands are const Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug target/108787] [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 --- Comment #3 from Jakub Jelinek --- --- gcc/config/rs6000/rs6000.md.jj 2023-01-16 11:52:16.036734757 +0100 +++ gcc/config/rs6000/rs6000.md 2023-02-14 18:53:25.071014954 +0100 @@ -3231,20 +3231,26 @@ (plus:TI (mult:TI

[Bug target/108673] ICE with -fstack-clash-protection and noreturn attribute on x86_64-w64-mingw32

2023-02-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108673 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug c++/108788] New: Lookup of injected class name should be type-dependent

2023-02-14 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108788 Bug ID: 108788 Summary: Lookup of injected class name should be type-dependent Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/108787] [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 --- Comment #1 from Jakub Jelinek --- Correction, -fPIC isn't important. Even more reduced testcase: __attribute__((noipa)) unsigned __int128 foo (unsigned long long h0, unsigned long long h1, unsigned long long h2, unsigned long long r0,

[Bug target/108673] ICE with -fstack-clash-protection and noreturn attribute on x86_64-w64-mingw32

2023-02-14 Thread amy.mclaughlin at iar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108673 amy.mclaughlin at iar dot com changed: What|Removed |Added CC||amy.mclaughlin at iar

[Bug middle-end/108789] __builtin_(add|mul)_overflow methods generate duplicate operations if both operands are const

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

[Bug target/108787] [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 Jakub Jelinek changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comment

[Bug target/108673] ICE with -fstack-clash-protection and noreturn attribute on x86_64-w64-mingw32

2023-02-14 Thread franke at computer dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108673 --- Comment #4 from Christian Franke --- I get similar results with x86_64-pc-cygwin-gcc (aka gcc) 11.3.0 and x86_64-w64-mingw32-gcc 11.3.0, both from current Cygwin distro and with x86_64-w64-mingw32-gcc (aka gcc) 12.2.0 from current MSYS2

[Bug target/108790] New: bpf: gcc emits malformed ldxdw instruction at -O2

2023-02-14 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108790 Bug ID: 108790 Summary: bpf: gcc emits malformed ldxdw instruction at -O2 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/108787] [13 Regression] libsodium miscompilation on power9 starting with r13-2107

2023-02-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108787 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2023-02-14 Ever confirmed|0

[Bug c/108791] New: [12/13 Regression] ICE: verify_gimple failed

2023-02-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108791 Bug ID: 108791 Summary: [12/13 Regression] ICE: verify_gimple failed Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/108791] [12/13 Regression] ICE: verify_gimple failed

2023-02-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108791 G. Steinmetz changed: What|Removed |Added Target||x86_64-pc-linux-gnu --- Comment #1 from

[Bug c++/108793] New: [12/13 Regression] ICE: verify_gimple failed

2023-02-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108793 Bug ID: 108793 Summary: [12/13 Regression] ICE: verify_gimple failed Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/108794] New: ICE in determine_visibility, at cp/decl2.cc:2839

2023-02-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108794 Bug ID: 108794 Summary: ICE in determine_visibility, at cp/decl2.cc:2839 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

  1   2   >