[Bug c++/111885] New: source code after "required from here" note sometimes printed strangely

2023-10-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111885 Bug ID: 111885 Summary: source code after "required from here" note sometimes printed strangely Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/111885] [14 Regression] source code after "required from here" note sometimes printed strangely

2023-10-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111885 Patrick Palka changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug target/111876] aarch64: bf16 complex mul/div does not work when the target has +fp16 support.

2023-10-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 --- Comment #2 from Iain Sandoe --- (In reply to Andrew Pinski from comment #1) > This could either be wrong code for not doing the promotion or just missing > the libgcc functions (which could be implemented as doing the promotion). > >

[Bug target/111876] aarch64: bf16 complex mul/div does not work when the target has +fp16 support or when -fexcess-precision=16 is supplied

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 Andrew Pinski changed: What|Removed |Added Target|aarch64 |aarch64 x86_64

[Bug c/111884] [13/14 Regression] unsigned char no longer aliases anything under -std=c2x

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 Andrew Pinski changed: What|Removed |Added Summary|unsigned char no longer |[13/14 Regression] unsigned

[Bug c/111884] [13/14 Regression] unsigned char no longer aliases anything under -std=c2x

2023-10-19 Thread tom at honermann dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 --- Comment #4 from Tom Honermann --- (In reply to Marek Polacek from comment #3) > Thanks, I can test Thank you. That change looks right. My apologies for introducing the regression.

[Bug c++/108238] returns_nonnull attribute with auto return type fails to compile

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108238 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew

[Bug c++/79021] attribute noreturn on function template ignored in generic lambda

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

[Bug c++/54367] [meta-bug] lambda expressions

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79021, which changed state. Bug 79021 Summary: attribute noreturn on function template ignored in generic lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79021 What|Removed |Added

[Bug target/111876] aarch64: bf16 complex mul/div does not work when the target has +fp16 support.

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 --- Comment #3 from Andrew Pinski --- (In reply to Iain Sandoe from comment #2) > (In reply to Andrew Pinski from comment #1) > > This could either be wrong code for not doing the promotion or just missing > > the libgcc functions (which could

[Bug testsuite/111883] Wstringop-overflow-6.C FAILs with -std=c++26

2023-10-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111883 --- Comment #1 from Jonathan Wakely --- I think Jakub wrote that code, but it looks like we just want the explicit casts. I can add those.

[Bug c/111884] unsigned char no longer aliases anything under -std=c2x

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

[Bug testsuite/111883] Wstringop-overflow-6.C FAILs with -std=c++26

2023-10-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111883 --- Comment #2 from Jakub Jelinek --- Why doesn't it fail with -std=c++23 though? Was there some C++26 change I'm not aware of? In the to_chars cases, we already use float(__value) casts in the _Float16/__bfloat16_t cases (but others too), so

[Bug testsuite/111883] Wstringop-overflow-6.C FAILs with -std=c++26

2023-10-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111883 --- Comment #3 from Marek Polacek --- Did you mean like the following? I have no idea if that's correct but is suppresses the warnings I see. In C++23 I don't see the code in the .ii file at all, so it doesn't warn. ---

[Bug ipa/111873] [12/13/14 Regression] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 Andrew Pinski changed: What|Removed |Added Summary|runtime Segmentation fault |[12/13/14 Regression]

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-10-19

[Bug c/111884] unsigned char no longer aliases anything under -std=c2x

2023-10-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 Sam James changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org,

[Bug target/111876] bf16 complex mul/div does not work when the target has +fp16 support or when -fexcess-precision=16 is supplied

2023-10-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 --- Comment #5 from Iain Sandoe --- for the record an __fp16 implementation works as expected; * when the target does not support +fp16, the code-gen promotes to float and does the multiply with __mulsc3 * when the target supports +fp16, the

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 Andrew Pinski changed: What|Removed |Added Summary|[14 Regression] ICE: in |[14 Regression] ICE: in

[Bug c++/79021] attribute noreturn on function template ignored in generic lambda

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79021 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug target/111645] Intrinsics vec_sldb /vec_srdb fail with __vector unsigned __int128

2023-10-19 Thread carll at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111645 Carl Love changed: What|Removed |Added CC||carll at gcc dot gnu.org --- Comment #5

[Bug c/111884] unsigned char no longer aliases anything under -std=c2x

2023-10-19 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 --- Comment #2 from joseph at codesourcery dot com --- I'm going to guess this was introduced by the char8_t changes ("C: Implement C2X N2653 char8_t and UTF-8 string literal changes", commit 703837b2cc8ac03c53ac7cc0fb1327055acaebd2). /*

[Bug c++/108238] auto return type and some attributes don't get along

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108238 --- Comment #4 from Andrew Pinski --- Here is one which is a little more complex for templated function too: ``` template [[gnu::returns_nonnull]] auto f() { return new T(42); } auto g(void) { return f(); } ```

[Bug target/111528] aarch64: Test gfortran.dg/pr80494.f90 fails with -fstack-protector-strong with gcc-13 since r13-7813-gb96e66fd4ef3e3

2023-10-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111528 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED

[Bug tree-optimization/50856] ARM: suboptimal code for absolute difference calculation

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50856 --- Comment #3 from Andrew Pinski --- The second case will be solved by updating the patch at: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574892.html For the review at https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574948.html

[Bug target/111876] aarch64: bf16 complex mul/div does not work when the target has +fp16 support.

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Last reconfirmed|

[Bug c/111884] New: unsigned char no longer aliases anything under -std=c2x

2023-10-19 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111884 Bug ID: 111884 Summary: unsigned char no longer aliases anything under -std=c2x Product: gcc Version: 13.2.1 Status: UNCONFIRMED Keywords: wrong-code

[Bug testsuite/111850] [14 regression] gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r14-4664-g04c9cf5c786b94

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111850 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #3

[Bug ipa/111773] Inconsistent optimization of replaced operator new()

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111773 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug bootstrap/111601] [14 Regression] bootstrap fails in stagestrain in libcody on x86_64-linux-gnu and powerpc64le-linux-gnu

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111601 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org ---

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #16 from Richard Biener --- The issue is that we cannot CSE a VLA typed "load" (whatever that is) to a constnant. char arr[] = {1, 2, 7, 1, 3, 4, 5, 3, 1 , 0, 1, 2, 4, 4, 9, 9, 1, 2, 7, 1, 3, 4, 5, 3, 1, 0, 1, 2, 4, 4,

[Bug tree-optimization/111131] SLP of gathers incomplete

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/111875] New: With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB

2023-10-19 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 Bug ID: 111875 Summary: With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/111875] With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB

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

[Bug c/111873] New: runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 Bug ID: 111873 Summary: runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre' Product: gcc

[Bug c/111873] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 56149 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56149=edit The compiler output

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-19 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #6 from Alberto Luaces --- Thanks a lot for the guidance. This is the backtrace of the last call to gcc_assert() that makes it crash. It says something about a non-recursive function likely calling itself. I will inspect my

[Bug target/111874] New: Missed mask_fold_left_plus with AVX512

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111874 Bug ID: 111874 Summary: Missed mask_fold_left_plus with AVX512 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/111528] aarch64: Test gfortran.dg/pr80494.f90 fails with -fstack-protector-strong with gcc-13 since r13-7813-gb96e66fd4ef3e3

2023-10-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111528 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:6a527b809f99d3f05df16f792b2de6b32fa0d579 commit r12-9930-g6a527b809f99d3f05df16f792b2de6b32fa0d579 Author: Richard

[Bug target/111874] Missed mask_fold_left_plus with AVX512

2023-10-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111874 --- Comment #1 from Hongtao.liu --- For integer, We have _mm512_mask_reduce_add_epi32 defined as extern __inline int __attribute__ ((__gnu_inline__, __always_inline__, __artificial__)) _mm512_mask_reduce_add_epi32 (__mmask16 __U, __m512i __A)

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #21 from Kewen Lin --- For optimized IR: a$raw$3_220 = D.39813.rawD.30221[3]; vect_a_raw_4_70.539_1584 = MEM [(short intD.20 *) + 8B]; _1640 = a$raw$0_221 & 255; _1649 = a$raw$1_74 & 255; _1658 = a$raw$2_264 & 255; _52

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 --- Comment #11 from David Binderman --- (In reply to Andrew Pinski from comment #10) > Maybe since it was in the libgomp testsuite you missed it when you tested > your patch. I usually find that compiling all the C,C++ and Fortran code in the

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 --- Comment #12 from Tamar Christina --- yes, patch was tested on both aarch64 and x86, but I did not test libgomp indeed. In any case, waiting for regression run to finish and will submit patch.

[Bug target/111876] New: aarch64: Wrong code for bf16 complex mul/div when the target has +fp16 support.

2023-10-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 Bug ID: 111876 Summary: aarch64: Wrong code for bf16 complex mul/div when the target has +fp16 support. Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #17 from JuzheZhong --- (In reply to Richard Biener from comment #16) > The issue is that we cannot CSE a VLA typed "load" (whatever that is) to a > constnant. > > char arr[] = {1, 2, 7, 1, 3, 4, 5, 3, 1 > , 0, 1, 2, 4, 4,

[Bug middle-end/111873] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-loop-optimize -fno-tree-pre'

2023-10-19 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- A reduced testcase: struct a { short b; }; int d; const struct a c; void e(short x) {} void f(short x) {} int g(const struct a i) {return 0;} void h(const struct a i) { d = g(i);

[Bug middle-end/111875] With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB

2023-10-19 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 --- Comment #1 from Filip Kastl --- I found out that this is caused by the copy_prop pass. With -Og, an instance of copy_prop runs after the fold_builtins pass but before the sanopt pass. The fold_builtins pass changes the statement p_2 =

[Bug tree-optimization/111877] New: [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877 Bug ID: 111877 Summary: [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize Product: gcc

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #20 from rguenther at suse dot de --- On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > --- Comment #19 from JuzheZhong --- > (In reply to Richard Biener from

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #23 from JuzheZhong --- (In reply to rguent...@suse.de from comment #22) > On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > > > --- Comment #21 from JuzheZhong

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #18 from Richard Biener --- With RVV you have intrinsic calls in GIMPLE so nothing to optimize: vbool8_t fn () { vbool8_t vmask; vuint8m1_t vand_m; vuint8m1_t varr; uint8_t arr[32]; [local count: 1073741824]: arr =

[Bug target/111874] Missed mask_fold_left_plus with AVX512

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111874 --- Comment #2 from Richard Biener --- (In reply to Hongtao.liu from comment #1) > For integer, We have _mm512_mask_reduce_add_epi32 defined as > > extern __inline int > __attribute__ ((__gnu_inline__, __always_inline__, __artificial__)) >

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 --- Comment #13 from Tamar Christina --- Patch posted https://gcc.gnu.org/pipermail/gcc-patches/2023-October/633569.html

[Bug tree-optimization/111879] New: No gather BB vectorization for

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111879 Bug ID: 111879 Summary: No gather BB vectorization for Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #22 from Richard Biener --- I see the mems properly get their base adjusted: (insn 384 383 0 (set (mem/c:V2DI (plus:DI (reg/f:DI 112 virtual-stack-vars) (const_int 16 [0x10])) [7 MEM[(struct Vec128D.30433 *)_10]+0

[Bug tree-optimization/111866] [14 regression] ICE when compiling gcc.target/powerpc/p9-vec-length-full-7.c

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111866 --- Comment #3 from Tamar Christina --- ok, so the crash looks like it's due to rgroups_control being empty during prologue peeling. It looks like the loop isn't masked so LOOP_VINFO_LENS (loop_vinfo) is being used in this case, but

[Bug tree-optimization/111878] New: [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record

2023-10-19 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 Bug ID: 111878 Summary: [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record Product: gcc

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #22 from rguenther at suse dot de --- On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > --- Comment #21 from JuzheZhong --- > (In reply to rguent...@suse.de from

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record

2023-10-19 Thread zsojka at seznam dot cz via Gcc-bugs
//binary-trunk-r14-4743-20231019111223-g947fb34a165-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231019 (experimental) (GCC)

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #24 from rguenther at suse dot de --- On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > --- Comment #23 from JuzheZhong --- > (In reply to rguent...@suse.de from

[Bug tree-optimization/111131] SLP of gathers incomplete

2023-10-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:beab5b95c581452adeb26efd59ae84a61fb3b429 commit r14-4745-gbeab5b95c581452adeb26efd59ae84a61fb3b429 Author: Richard Biener Date:

[Bug tree-optimization/111131] SLP of gathers incomplete

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 31, which changed state. Bug 31 Summary: SLP of gathers incomplete https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31 What|Removed |Added

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #25 from JuzheZhong --- (In reply to rguent...@suse.de from comment #24) > On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > > > --- Comment #23 from JuzheZhong

[Bug tree-optimization/111879] No gather BB vectorization for

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111879 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Last

[Bug preprocessor/82335] Incorrect _Pragma expansion if macro passed to another macro

2023-10-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82335 --- Comment #3 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:202a214d6859d91af5a95aa989321c5d2173c40a commit r14-4747-g202a214d6859d91af5a95aa989321c5d2173c40a Author: Lewis Hyatt Date: Mon

[Bug c++/89038] #pragma GCC diagnostic ignored "-Wunknown-pragmas" does not work

2023-10-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89038 --- Comment #8 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:19cc4b9d74940f29c961e2a5a8b1fa84992d3d30 commit r14-4748-g19cc4b9d74940f29c961e2a5a8b1fa84992d3d30 Author: Lewis Hyatt Date: Wed

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #23 from Richard Biener --- A less strict patch would remember whether all accesses to the decls coalesced have accesses compatible with a common effective type (just checking whether all decls have the same type isn't enough, even

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #19 from JuzheZhong --- (In reply to Richard Biener from comment #18) > With RVV you have intrinsic calls in GIMPLE so nothing to optimize: > > vbool8_t fn () > { > vbool8_t vmask; > vuint8m1_t vand_m; > vuint8m1_t varr; >

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #21 from JuzheZhong --- (In reply to rguent...@suse.de from comment #20) > On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > > > --- Comment #19 from JuzheZhong

[Bug c++/89038] #pragma GCC diagnostic ignored "-Wunknown-pragmas" does not work

2023-10-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89038 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 --- Comment #14 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:217a0fcb852aeb4aa9e3fb9baec6ff947c8de3d4 commit r14-4746-g217a0fcb852aeb4aa9e3fb9baec6ff947c8de3d4 Author: Tamar Christina

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 Tamar Christina changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/82335] Incorrect _Pragma expansion if macro passed to another macro

2023-10-19 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82335 Lewis Hyatt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-10-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #26 from rguenther at suse dot de --- On Thu, 19 Oct 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 > > --- Comment #25 from JuzheZhong --- > (In reply to rguent...@suse.de from

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug middle-end/111875] With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 --- Comment #3 from Richard Biener --- CCP propagates the alignment here.(In reply to Filip Kastl from comment #1) > I found out that this is caused by the copy_prop pass. With -Og, an instance > of copy_prop runs after the fold_builtins pass

[Bug tree-optimization/111877] [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 CC|

[Bug c/107954] Support -std=c23/gnu23 as aliases of -std=c2x/gnu2x

2023-10-19 Thread daniel.lundin.mail at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107954 Daniel Lundin changed: What|Removed |Added CC||daniel.lundin.mail at gmail dot co

[Bug tree-optimization/106878] [11/12 Regression] ICE: verify_gimple failed at -O2 with pointers and bitwise calculation

2023-10-19 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106878 --- Comment #18 from Alex Coplan --- (In reply to Jakub Jelinek from comment #15) > Just note this had various follow-ups. > r13-2658 > r13-2709 > r13-2891 > at least. So for backports, it sounds like we want r13-2658 without the verify_gimple

[Bug fortran/111880] New: [9/10/11/12/13] False positive warning of obsolescent COMMON block with Fortran submodule

2023-10-19 Thread zed.three at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111880 Bug ID: 111880 Summary: [9/10/11/12/13] False positive warning of obsolescent COMMON block with Fortran submodule Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug libstdc++/110167] excessive compile time for std::to_array with huge arrays

2023-10-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110167 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.4

[Bug tree-optimization/111877] [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877 Tamar Christina changed: What|Removed |Added Last reconfirmed||2023-10-19

[Bug c/104822] -Wscalar-storage-order warning for initialization from NULL seems useless

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104822 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug c/100532] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:259

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100532 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #7 from Steve Kargl --- On Thu, Oct 19, 2023 at 08:00:27AM +, aluaces at udc dot es wrote: > > It says something about a non-recursive function likely calling itself. I > will > inspect my source, even it is a bit too big.

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 Tamar Christina changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #9 from Steve Kargl --- On Thu, Oct 19, 2023 at 04:00:10PM +, aluaces at udc dot es wrote: > > No, I meant building *gcc* with those flags, but alas each gcc compilation > stage was still building with "-O2" so almost all of

[Bug c/111882] New: GCC: 14: internal compiler error: in get_expr_operands, at tree-ssa-operands.cc:940

2023-10-19 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111882 Bug ID: 111882 Summary: GCC: 14: internal compiler error: in get_expr_operands, at tree-ssa-operands.cc:940 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/99087] suboptimal codegen for division by constant 3

2023-10-19 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99087 Ivan Sorokin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/111882] [13/14 Regression] : internal compiler error: in get_expr_operand in ifcvt with Variable length arrays and bitfields inside a struct

2023-10-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111882 --- Comment #2 from Andrew Pinski --- Looks like this was broken when bitfield expansion was added to ifcvt (I think r13-3219-g25413fdb2ac24933214123e24ba165026452a6f2 ).

[Bug analyzer/111881] New: analyzer: ICE in ensure_closed, at analyzer/constraint-manager.cc:130 with -Ofast

2023-10-19 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111881 Bug ID: 111881 Summary: analyzer: ICE in ensure_closed, at analyzer/constraint-manager.cc:130 with -Ofast Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 --- Comment #16 from David Binderman --- Created attachment 56153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56153=edit C source code

[Bug tree-optimization/111877] [14 Regression] ICE: verify_ssa failed: PHI node with wrong VUSE on edge from BB 25 with -O -fno-tree-sink -ftree-vectorize

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111877 Tamar Christina changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 Tamar Christina changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment

[Bug target/111466] RISC-V: redundant sign extensions despite ABI guarantees

2023-10-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111466 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug fortran/110644] Error in gfc_format_decoder

2023-10-19 Thread aluaces at udc dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110644 --- Comment #8 from Alberto Luaces --- No, I meant building *gcc* with those flags, but alas each gcc compilation stage was still building with "-O2" so almost all of the compiler structures are still optimized. Nevertheless I did what you

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com ---

[Bug fortran/111880] [9/10/11/12/13] False positive warning of obsolescent COMMON block with Fortran submodule

2023-10-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111880 kargl at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 --- Comment #20 from Tamar Christina --- (In reply to David Binderman from comment #19) > Created attachment 56154 [details] > C source code > > You might like to have a go at getting the attached code working: > > $ ~/gcc/results/bin/gcc -c

  1   2   >