[Bug testsuite/112340] [14 regression] assembler instruction counts off for gcc.target/powerpc/pr106550_1.c

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112340 --- Comment #2 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:a5a76c6f8795f8072e8005e5ada741b69c742198 commit r14-5184-ga5a76c6f8795f8072e8005e5ada741b69c742198 Author: Jiufu Guo Date: Tue Nov

[Bug tree-optimization/105834] [13 Regression] Dead Code Elimination Regression at -O2 (trunk vs. 12.1.0)

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105834 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112407 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug target/112411] ICE: SIGSEGV with --param=min-nondebug-insn-uid=2147483647 on powerpc64le-unknown-linux-gnu

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112411 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c++/112414] Does gcc need __builtin_assume_separate_storage?

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112414 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Res

[Bug testsuite/112419] [14 Regression] gcc.dg/Wnonnull-4.c excess error for 32-bit targets

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112419 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|---

[Bug c/112420] Unexpected vectorization for RISC-V

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112420 --- Comment #1 from Richard Biener --- We end up using gathers for the strided load which would be OK and avoid the issue noted in the comment. Thus we get true from vect_use_strided_gather_scatters_p (). That has a comment guard: /* As

[Bug c/112420] Unexpected vectorization for RISC-V

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112420 --- Comment #2 from JuzheZhong --- (In reply to Richard Biener from comment #1) > We end up using gathers for the strided load which would be OK and avoid the > issue noted in the comment. Thus we get true from > vect_use_strided_gather_scatter

[Bug target/112411] ICE: SIGSEGV with --param=min-nondebug-insn-uid=2147483647 on powerpc64le-unknown-linux-gnu

2023-11-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112411 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/112420] Unexpected vectorization for RISC-V

2023-11-07 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112420 --- Comment #3 from rguenther at suse dot de --- On Tue, 7 Nov 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112420 > > --- Comment #2 from JuzheZhong --- > (In reply to Richard Biener from comment #1

[Bug c/112422] New: Build process does a redundant number of checks ?

2023-11-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112422 Bug ID: 112422 Summary: Build process does a redundant number of checks ? Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug ipa/111613] [12/13/14 Regression] Bit field stores can be incorrectly optimized away when -fstore-merging is in effect

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111613 Richard Biener changed: What|Removed |Added Last reconfirmed|2023-09-27 00:00:00 |2023-11-7 --- Comment #4 from Richard

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from ibuclaw at gcc dot gnu.org --- > Based on what I see here, this patch to core.cpuid should be sufficient to fix > loop and not introduce any change in existing beha

[Bug target/112411] ICE: SIGSEGV with --param=min-nondebug-insn-uid=2147483647 on powerpc64le-unknown-linux-gnu

2023-11-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112411 --- Comment #3 from Richard Sandiford --- This parameter is firmly into “developer only” territory, so I'm not sure we should try to enforce a range. IMO we should just recommend that the parameter isn't included in fuzz testing.

[Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with LTO on internal compiler error: in expand_insn, at optabs.cc:8305

2023-11-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 --- Comment #2 from Tamar Christina --- (In reply to Richard Biener from comment #1) > Possibly the same as PR112359? Some were yeah, looks like there are still 2 ICEs in imagick and exchange, I'll start reducing those.

[Bug c++/112421] GCC emits warning potential null dereference

2023-11-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112421 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIR

[Bug middle-end/86172] [meta-bug] issues with -Wnull-dereference

2023-11-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86172 Bug 86172 depends on bug 112421, which changed state. Bug 112421 Summary: GCC emits warning potential null dereference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112421 What|Removed |Added

[Bug libstdc++/105580] [12/13/14 Regression] warning "potential null pointer dereference" raised when using istreambuf_iterator and any "-O" flag

2023-11-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105580 Jonathan Wakely changed: What|Removed |Added CC||jlame646 at gmail dot com --- Comment

[Bug bootstrap/112422] Build process does a redundant number of checks ?

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112422 Andrew Pinski changed: What|Removed |Added Component|c |bootstrap --- Comment #1 from Andrew Pi

[Bug libstdc++/112351] libstdc++ locale init doesn't handle __gthread_once failure

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112351 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7562f089a190953b8ef615b90b7b0520e812a930 commit r14-5220-g7562f089a190953b8ef615b90b7b0520e812a930 Author: Richard Biener Date:

[Bug libstdc++/112351] libstdc++ locale init doesn't handle __gthread_once failure

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112351 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #5 from ibuclaw at gcc dot gnu.org --- Upstream PR https://github.com/dlang/dmd/pull/15778

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from ibuclaw at gcc dot gnu.org --- > Upstream PR https://github.com/dlang/dmd/pull/15778 Excellent, thanks a lot for the blindingly fast fix. I'll file a bug with Ora

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #7 from ibuclaw at gcc dot gnu.org --- Patch ready to apply to releases/gcc-13, and backports to gcc-12 and gcc-11. Mainline will get this in the next upstream merge.

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0b25c1295d4e84af681f4b1f4af2ad37cd270da3 commit r13-8008-g0b25c1295d4e84af681f4b1f4af2ad37cd270da3 Author: Iain Buclaw Date

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:8a880d895a468a44fd3e268dc548e64aebe8f5d4 commit r12-9963-g8a880d895a468a44fd3e268dc548e64aebe8f5d4 Author: Iain Buclaw Date

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:47d833394a09068ba0607a57aa149dfe3dc11e8b commit r11-11092-g47d833394a09068ba0607a57aa149dfe3dc11e8b Author: Iain Buclaw Da

[Bug c++/112423] New: A weird reported diagnosis about user-defined-literal

2023-11-07 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112423 Bug ID: 112423 Summary: A weird reported diagnosis about user-defined-literal Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c/112420] Unexpected vectorization for RISC-V

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112420 --- Comment #4 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:beb1e2bf1bd4b7c8fc8d3dd450667344ae8e0aca commit r14-5221-gbeb1e2bf1bd4b7c8fc8d3dd450667344ae8e0aca Author: Juzhe-Zhong Date: Tue Nov 7

[Bug c/112420] Unexpected vectorization for RISC-V

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112420 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-07 Thread manolis.tsamis at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #11 from Manolis Tsamis --- Hi all, I will also go ahead and try to reproduce that, although it may take me some time due to my limited experience with HPPA. Once I manage to reproduce, most f-m-o issues are straightforward to locat

[Bug modula2/111956] Many powerpc platforms do _not_ have support for IEEE754 long double

2023-11-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 Gaius Mulley changed: What|Removed |Added Attachment #56508|0 |1 is obsolete|

[Bug libgomp/112424] New: libgomp: cuStreamSynchronize error: misaligned address

2023-11-07 Thread patrick.begou--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112424 Bug ID: 112424 Summary: libgomp: cuStreamSynchronize error: misaligned address Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug modula2/111956] Many powerpc platforms do _not_ have support for IEEE754 long double

2023-11-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 Gaius Mulley changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #7 from Gaius Mulle

[Bug bootstrap/112422] Build process does a redundant number of checks ?

2023-11-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112422 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug modula2/111956] Many powerpc platforms do _not_ have support for IEEE754 long double

2023-11-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 --- Comment #8 from Gaius Mulley --- Created attachment 56524 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56524&action=edit Proposed fix v5 (git diff -w) Here is the same patch as v5 but generated using git diff -w.

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

2023-11-07 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112407 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/112425] New: Invalid SARIF output when column number is zero

2023-11-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112425 Bug ID: 112425 Summary: Invalid SARIF output when column number is zero Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug testsuite/112419] [14 Regression] gcc.dg/Wnonnull-4.c excess error for 32-bit targets

2023-11-07 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112419 Hans-Peter Nilsson changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |uecker at gcc dot gnu.org

[Bug target/112426] New: sched1 pessimizes codegen on aarch64 by increasing register pressure

2023-11-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112426 Bug ID: 112426 Summary: sched1 pessimizes codegen on aarch64 by increasing register pressure Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

2023-11-07 Thread trnka at scm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112407 --- Comment #3 from Tomáš Trnka --- Yes, -frecursive makes the build pass and it is a workaround which I have been using ever since upgrading to 13. Should have mentioned that, sorry. I see that something is making the compiler think the routin

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-07 Thread saurabh.jha at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 --- Comment #5 from Saurabh Jha --- Hey, I did some digging into it. The ICE is happening on this assert: gcc_assert (REG_P (op)) Here the op->code is MEM while it was expecting a REG. For the test program above, the function arm_effective_re

[Bug tree-optimization/110540] [14 Regression] Dead Code Elimination Regression since r14-1163-gd8b058d3ca4

2023-11-07 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110540 --- Comment #3 from Andrew Macleod --- EVRP figures out the j value can only be 0 or -9 and removes a few stmts as a result, and simplifies the PHI, producing [local count: 114863530]: # j_12 = PHI <0(2), -9(6)> [local count: 107374182

[Bug target/112426] sched1 pessimizes codegen on aarch64 by increasing register pressure

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112426 --- Comment #1 from Andrew Pinski --- This looks almost the same as PR 100697 really.

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 Alex Coplan changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7

2023-11-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 --- Comment #11 from Patrick Palka --- Sorry for the breakage... FWIW a patch is on review at https://gcc.gnu.org/pipermail/gcc-patches/2023-October/634859.html

[Bug rtl-optimization/97756] [11/12/13/14 Regression] Inefficient handling of 128-bit arguments

2023-11-07 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97756 --- Comment #13 from Thomas Koenig --- (In reply to Patrick Palka from comment #3) > Perhaps related to this PR: On x86_64, the following basic wrapper around > int128 addition > > __uint128_t f(__uint128_t x, __uint128_t y) { return x + y; }

[Bug tree-optimization/106511] [13/14 Regression] New -Werror=maybe-uninitialized since r13-1268-g8c99e307b20c502e

2023-11-07 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106511 --- Comment #8 from Andrew Macleod --- (In reply to Richard Biener from comment #2) > VRP could use max_stmt_executions here (note it doesn't properly handle loop > nests so the name is somewhat misleading) Do you have to ask for max_stmt_execu

[Bug c++/112427] New: [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_referenc

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 Bug ID: 112427 Summary: [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have

[Bug c++/112427] [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 --- Comment #1 from Sam James --- This reproduces with just 'g++ -c mesh.cpp.ii' for me. ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured wi

[Bug c++/112427] [14 regression] ICE when buliding Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug rtl-optimization/109391] Inefficient codegen on AArch64 when structure types are returned

2023-11-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109391 Richard Sandiford changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/112427] [14 regression] ICE when building Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at

2023-11-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Las

[Bug c/112428] New: Wnonnull outputs wrong type

2023-11-07 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112428 Bug ID: 112428 Summary: Wnonnull outputs wrong type Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee

[Bug c/112429] New: Wnonnull should warn for multi-dimensional arrays

2023-11-07 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112429 Bug ID: 112429 Summary: Wnonnull should warn for multi-dimensional arrays Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #12 from Sam James --- (In reply to Manolis Tsamis from comment #11) > Hi all, > > I will also go ahead and try to reproduce that, although it may take me some > time due to my limited experience with HPPA. Once I manage to reproduc

[Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with LTO on internal compiler error: in expand_insn, at optabs.cc:8305

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 --- Comment #3 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:fd940d248bfccb6994794152681dc4c693160919 commit r14-5231-gfd940d248bfccb6994794152681dc4c693160919 Author: Robin Dapp Date: Mon Nov

[Bug middle-end/112359] [14 Regression] ICE: in expand_fn_using_insn, at internal-fn.cc:215 with -O -ftree-loop-if-convert -mavx512fp16

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112359 --- Comment #4 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:fd940d248bfccb6994794152681dc4c693160919 commit r14-5231-gfd940d248bfccb6994794152681dc4c693160919 Author: Robin Dapp Date: Mon Nov

[Bug tree-optimization/112361] [14 Regression] avx512f-reduce-op-1.c miscompiled since r14-5076

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112361 --- Comment #8 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:fd940d248bfccb6994794152681dc4c693160919 commit r14-5231-gfd940d248bfccb6994794152681dc4c693160919 Author: Robin Dapp Date: Mon Nov

[Bug target/109078] Missing optimization on aarch64 for types like `float32x4x2_t`

2023-11-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109078 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2023-11-07 Ever confirmed|0

[Bug target/106694] Redundant move instructions in ARM SVE intrinsics use cases

2023-11-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106694 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug target/106694] Redundant move instructions in ARM SVE intrinsics use cases

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106694 --- Comment #11 from JuzheZhong --- (In reply to Richard Sandiford from comment #10) > Some of the SME changes I'm working on fix this, but I'm not sure how widely > we'll be able to use them on non-SME code. Assigning myself just in case. Hi,

[Bug tree-optimization/22196] Missed back prop

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22196 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > This actually undos some of what phi-opt might do and only should be done > for a few operations. I think divide, multiple, shifts and rotates should > be done a

[Bug tree-optimization/111760] risc-v regression: COND_LEN_* incorrect fold/simplify in middle-end

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111760 JuzheZhong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/112430] New: [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread public at timruffing dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Bug ID: 112430 Summary: [14 Regression] ICE: verify_ssa failed, missing definition Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/112431] New: RISC-V GCC-15 feature: Support register overlap on widen RVV instructions

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112431 Bug ID: 112431 Summary: RISC-V GCC-15 feature: Support register overlap on widen RVV instructions Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norm

[Bug c/112431] RISC-V GCC-15 feature: Support register overlap on widen RVV instructions

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112431 JuzheZhong changed: What|Removed |Added CC||lehua.ding at rivai dot ai --- Comment #1

[Bug c/112431] RISC-V GCC-15 feature: Support register overlap on widen RVV instructions

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112431 --- Comment #2 from JuzheZhong --- My colleague Lehua takes this response to support this feature.

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/112432] New: Internal-fn: The [i|l|ll]rint family don't support FLOATN

2023-11-07 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112432 Bug ID: 112432 Summary: Internal-fn: The [i|l|ll]rint family don't support FLOATN Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

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

2023-11-07 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107954 Joseph S. Myers changed: What|Removed |Added Target Milestone|--- |14.0 Status|NEW

[Bug c/112433] New: RISC-V GCC-15 feature: Split register allocation into RVV and non-RVV, and make vsetvl PASS run between them

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112433 Bug ID: 112433 Summary: RISC-V GCC-15 feature: Split register allocation into RVV and non-RVV, and make vsetvl PASS run between them Product: gcc Version: 14.0 Status: U

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 --- Comment #2 from Sam James --- Reduced: ``` int secp256k1_scalar_reduce_512_r_0_0, secp256k1_scalar_reduce_512_m6, secp256k1_scalar_reduce_512_m9, secp256k1_scalar_reduce_512_th, secp256k1_scalar_reduce_512_tl; unsigned int secp256k1_

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 --- Comment #3 from Sam James --- Better reduction without uninit: ``` int secp256k1_scalar_reduce_512_r_0_0, secp256k1_scalar_reduce_512_m6, secp256k1_scalar_reduce_512_m9, secp256k1_scalar_reduce_512_th, secp256k1_scalar_reduce_512_tl;

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #13 from Sam James --- Created attachment 56527 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56527&action=edit compile.c.323r.fold_mem_offsets.bad.xz Output from ``` hppa2.0-unknown-linux-gnu-gcc -c -DNDEBUG -g -fwrapv -O3

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #15 from JuzheZhong --- Update status: There are only these following dump FAILs: FAIL: gcc.dg/signbit-2.c scan-tree-dump optimized "\\s+>\\s+{ 0(, 0)+ }" FAIL: gcc.dg/signbit-2.c scan-tree-dump-not optimized "\\s+>>\\s+31" XPASS:

[Bug c/112433] RISC-V GCC-15 feature: Split register allocation into RVV and non-RVV, and make vsetvl PASS run between them

2023-11-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112433 --- Comment #1 from Kito Cheng --- Give few more background why LLVM must do that way: LLVM can't allocate new pseudo register during register allocation process, however spilling vector register with specific length may require scratch register

[Bug c/112433] RISC-V GCC-15 feature: Split register allocation into RVV and non-RVV, and make vsetvl PASS run between them

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112433 --- Comment #2 from JuzheZhong --- (In reply to Kito Cheng from comment #1) > Give few more background why LLVM must do that way: LLVM can't allocate new > pseudo register during register allocation process, however spilling vector > register wi

[Bug c/112431] RISC-V GCC-15 feature: Support register overlap on widen RVV instructions

2023-11-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112431 --- Comment #3 from Kito Cheng --- Share some thought from my end: we've tried at least 3 different approach on LLVM side before, and now we model that as "partial early clobber", we plan to upstream this on LLVM side but just didn't get high e

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/112374] [14 Regression] `--with-arch=skylake-avx512 --with-cpu=skylake-avx512` causes a comparison failure

2023-11-07 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 Haochen Jiang changed: What|Removed |Added CC||haochen.jiang at intel dot com --- Comm

[Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94

2023-11-07 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415 --- Comment #14 from dave.anglin at bell dot net --- On 2023-11-07 8:36 p.m., sjames at gcc dot gnu.org wrote: > If I instrument certain functions in compile.c with no optimisation attribuet > or build the file with -fno-fold-mem-offsets, Python

[Bug c/112434] New: unexpected error when compiling for riscv64: invalid 'asm': invalid use of '%c'

2023-11-07 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112434 Bug ID: 112434 Summary: unexpected error when compiling for riscv64: invalid 'asm': invalid use of '%c' Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severi

[Bug middle-end/112430] [14 Regression] ICE: verify_ssa failed, missing definition since r14-1837-g43a3252c42af12

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Sam James changed: What|Removed |Added Target||x86_64-linux-gnu CC|

[Bug middle-end/112430] [14 Regression] ICE: verify_ssa failed, missing definition since r14-1837-g43a3252c42af12

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 --- Comment #6 from Andrew Pinski --- Created attachment 56529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56529&action=edit Cleanup testcase Basically removed the long variable/function names.

[Bug c/112434] unexpected error when compiling for riscv64: invalid 'asm': invalid use of '%c'

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112434 --- Comment #1 from Andrew Pinski --- The c inline-asm modifiers is not documented for riscv ...

[Bug target/112435] New: [14 regression]

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Bug ID: 112435 Summary: [14 regression] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unass

[Bug pch/64117] warning control #pragmas in precompiled headers are not obeyed for template code

2023-11-07 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64117 Lewis Hyatt changed: What|Removed |Added Keywords||patch Severity|normal

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #1 from Andrew Pinski --- What binutils version are you using? It could also be a binutils bug. vblendps is just a plain avx instruction even.

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #2 from Sam James --- (In reply to Andrew Pinski from comment #1) > What binutils version are you using? > It could also be a binutils bug. > $ as --version GNU assembler (Gentoo 2.41 p2) 2.41.0 > vblendps is just a plain avx inst

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|WAITING Last reconfirmed||2023-11-08 --- Comment #3 from Andrew Pinski --- I could not reproduce it with: GNU C++17 (GCC) version 14.0.0 20231107 (experimental) [trunk 8b937ae0a9e] (x86_64-pc-linux-gnu) compiled by GNU C version 14.0.0 20231107

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #5 from Andrew Pinski --- vblendps$240, %ymm17, %ymm0, %ymm2 vblendps$240, %ymm1, %ymm17, %ymm17 vshuff32x4 $1, %ymm1, %ymm0, %ymm0

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #6 from Andrew Pinski --- #(insn:TI 48 192 56 6 (set (reg:V8SF 22 xmm2 [445]) #(vec_select:V8SF (vec_concat:V16SF (reg:V8SF 20 xmm0 [orig:442 MEM[(__m256_u * {ref-all})gridptr_432] ] [442]) #(reg:V8SF 53 xmm17

[Bug bootstrap/112422] Build process does a redundant number of checks ?

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112422 Sam James changed: What|Removed |Added Blocks||84402 CC|

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, |

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #8 from Sam James --- I've kicked off a reduction although I'm not really sure how it's going to turn out... I'll do a bisect while I wait.

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #9 from Andrew Pinski ---

[Bug target/106694] Redundant move instructions in ARM SVE intrinsics use cases

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106694 --- Comment #12 from JuzheZhong --- (In reply to Richard Sandiford from comment #10) > Some of the SME changes I'm working on fix this, but I'm not sure how widely > we'll be able to use them on non-SME code. Assigning myself just in case. Hi,

  1   2   >