[Bug target/114323] [14 Regression] MVE vector load intrinsic miscompiled since r14-5622-g4d7647edfd7d98

2024-03-14 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114323 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at

Results for 13.2.1 20240315 [releases/gcc-13 r13-8439-g7d2d6e1ab5] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9) via Gcc-testresults
git commit g:7d2d6e1ab566f8fa5e87028b7ab9da8d5d0a1369 gcc-descr r13-8439-g7d2d6e1ab566f8 power9 Linux 5.15.0-97-generic ppc64le GNU Make 4.3 DejaGnu: DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 64-bit LAST_UPDATED: Fri Mar 15 04:27:49 UTC 2024

Re: C/C++ frontend patches ping

2024-03-14 Thread Andi Kleen
Andrew Pinski writes: > On Thu, Mar 14, 2024 at 9:36 PM Andi Kleen wrote: >> >> >> musttail support for C/C++ >> >> https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643867.html >> >> >> Support constexpr for asm statements in C++ >> >>

[Bug middle-end/114347] wrong constant folding when casting __bf16 to int

2024-03-14 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114347 --- Comment #2 from Paul Eggert --- (In reply to Andrew Pinski from comment #1) > I am not so sure that 257.0bf16 gets rounded to 256. It should get rounded to 256, since 257 has no exact representation in __bf16 and 256 is the closest

Results for 14.0.1 20240315 (experimental) [remotes/origin/HEAD r14-9486-gd7d05824ae] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER8) via Gcc-testresults
git commit g:d7d05824ae68da24908d97a10b9ec59d08f75a90 gcc-descr r14-9486-gd7d05824ae68da power8 Linux 5.4.0-172-generic ppc64le GNU Make 4.2.1 DejaGnu: DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 64-bit LAST_UPDATED: Fri Mar 15 02:48:14 UTC 2024

[Bug middle-end/114347] wrong constant folding when casting __bf16 to int

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114347 --- Comment #1 from Andrew Pinski --- Hmm, I am not so sure that 257.0bf16 gets rounded to 256.

Results for 14.0.1 20240314 (experimental) [master r14-9481-g6cf4286ff94] (GCC) testsuite on s390x-ibm-linux-gnu arch14

2024-03-14 Thread stefansf--- via Gcc-testresults
LAST_UPDATED: Thu Mar 14 18:05:20 UTC 2024 (revision r14-9481-g6cf4286ff94) === acats tests === FAIL: cb1010a === acats Summary === # of expected passes2327 # of unexpected failures1 Native configuration is s390x-ibm-linux-gnu arch14

[Bug c/114347] New: wrong constant folding when casting __bf16 to int

2024-03-14 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114347 Bug ID: 114347 Summary: wrong constant folding when casting __bf16 to int Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

Re: C/C++ frontend patches ping

2024-03-14 Thread Andrew Pinski
On Thu, Mar 14, 2024 at 9:36 PM Andi Kleen wrote: > > > musttail support for C/C++ > > https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643867.html > > > Support constexpr for asm statements in C++ > > https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643933.html Both of these were

[Bug libstdc++/81482] by-value lambda capture in remove_if

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81482 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

C/C++ frontend patches ping

2024-03-14 Thread Andi Kleen
musttail support for C/C++ https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643867.html Support constexpr for asm statements in C++ https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643933.html

[Bug target/81759] Improve data tracking for _pext_u64

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81759 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-08-08 00:00:00 |2024-3-14 --- Comment #4 from Andrew

[Bug target/81759] Improve data tracking for _pext_u64 and __builtin_ffsll

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81759 --- Comment #3 from Andrew Pinski --- (In reply to Daniel Fruzynski from comment #2) > Looks that __builtin_ffs does not check if input value is nonzero at all. > Assembler code for following code also has unnecessary instructions: > > [code] >

Results for 14.0.1 20240315 (experimental) [remotes/origin/HEAD r14-9486-gd7d05824ae6] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9) via Gcc-testresults
git commit g:d7d05824ae68da24908d97a10b9ec59d08f75a90 gcc-descr r14-9486-gd7d05824ae68da power9 Linux 5.15.0-97-generic ppc64le GNU Make 4.3 DejaGnu: DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 64-bit LAST_UPDATED: Fri Mar 15 02:58:21 UTC 2024

[Bug tree-optimization/114346] New: vectorizer generates the same IV twice

2024-03-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114346 Bug ID: 114346 Summary: vectorizer generates the same IV twice Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/114345] FRE missing knowledge of semantics of IFN loads

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114345 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/114345] FRE missing knowledge of semantics of IFN loads

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

[Bug c++/83777] Invalid dependent initialization of a static data member.

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83777 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-01-11 00:00:00 |2024-3-14 Status|WAITING

Results for 13.2.1 20240315 [releases/gcc-13 r13-8439-g7d2d6e1ab5] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
git commit g:7d2d6e1ab566f8fa5e87028b7ab9da8d5d0a1369 gcc-descr r13-8439-g7d2d6e1ab566f8 power9 IEEE128 Linux 6.8.0-0.rc6.20240229git805d849d7c3c.51.fc41.ppc64le ppc64le GNU Make 4.4.1 DejaGnu: DejaGnu version 1.6.3 Expect version 5.45.4 Tcl version 8.6 64-bit

[Bug tree-optimization/114345] New: FRE missing knowledge of semantics of IFN loads

2024-03-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114345 Bug ID: 114345 Summary: FRE missing knowledge of semantics of IFN loads Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 Andrew Pinski changed: What|Removed |Added CC||joerg at netbsd dot org --- Comment #19

[Bug preprocessor/47047] Support for path translation in __FILE__

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

[Bug tree-optimization/88823] ivopts introduces -1(OVF)

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88823 --- Comment #2 from Andrew Pinski --- Looks to be fixed on the trunk.

Re: [PATCH] vect: Use xor to invert oversized vector masks

2024-03-14 Thread Hongtao Liu
On Thu, Mar 14, 2024 at 11:42 PM Andrew Stubbs wrote: > > Don't enable excess lanes when inverting vector bit-masks smaller than the > integer mode. This is yet another case of wrong-code due to mishandling > of oversized bitmasks. > > This issue shows up in vect/tsvc/vect-tsvc-s278.c and >

[Bug tree-optimization/88926] ivopts with some NOP conversions

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88926 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-01-21 00:00:00 |2024-3-14 --- Comment #3 from Andrew

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #6 from Andrew

Regressions on master at commit r14-9469 vs commit r14-9458 on Linux/x86_64

2024-03-14 Thread H.J. Lu via Gcc-regression
Regressions on master at commit r14-9469 vs commit r14-9458 on Linux/x86_64 New failures: FAIL: gcc.dg/torture/convert-dfp.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) New passes:

Results for 14.0.1 20240314 (experimental) [master r14-9469-g9349aefa1df] (GCC) testsuite on x86_64-pc-linux-gnu

2024-03-14 Thread H.J. Lu via Gcc-testresults
10728 /export/gnu/import/git/gcc-test-master-intel64/bld/gcc/xgcc version 14.0.1 20240314 (experimental) [master r14-9469-g9349aefa1df] (GCC) === gfortran tests === Running target unix === gfortran Summary for unix === # of expected passes6971

[Bug rtl-optimization/43473] hword size destination variable induces suboptimal code generation compared to full word size var

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43473 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #3 from

[Bug rtl-optimization/29860] comment / code incosistency in cfgcleanup.c:flow_find_cross_jump

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29860 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

Results for 14.0.1 20240315 (experimental) [remotes/origin/HEAD r14-9486-gd7d05824ae] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
git commit g:d7d05824ae68da24908d97a10b9ec59d08f75a90 gcc-descr r14-9486-gd7d05824ae68da power9 IEEE128 Linux 6.8.0-0.rc6.20240229git805d849d7c3c.51.fc41.ppc64le ppc64le GNU Make 4.4.1 DejaGnu: DejaGnu version 1.6.3 Expect version 5.45.4 Tcl version 8.6 64-bit

Results for 14.0.1 20240314 (experimental) [master r14-9483-g6dbf0d252f6] (GCC) testsuite on i686-pc-linux-gnu

2024-03-14 Thread H.J. Lu via Gcc-testresults
unexpected failures125 # of unexpected successes 27 # of expected failures 1556 # of unsupported tests 4078 /export/gnu/import/git/gcc-test-master-ia32/bld/gcc/xgcc version 14.0.1 20240314 (experimental) [master r14-9483-g6dbf0d252f6] (GCC) ==

Regressions on master at commit r14-9483 vs commit r14-9469 on Linux/i686

2024-03-14 Thread H.J. Lu via Gcc-regression
Regressions on master at commit r14-9483 vs commit r14-9469 on Linux/i686 New failures: FAIL: g++.dg/torture/pr104601.C -O0 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O1 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O2 -flto -fno-use-linker-plugin

Results for 11.4.1 20240315 [releases/gcc-11 revision 5cc46561670:7ce5f15d07e:f51018ba255198aa342c2c7bb5e826e9a671f0a1] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9) via Gcc-testresults
git commit g:f51018ba255198aa342c2c7bb5e826e9a671f0a1 gcc-descr r11-11280-gf51018ba255198 power9 Linux 5.15.0-97-generic ppc64le GNU Make 4.3 DejaGnu: DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 64-bit LAST_UPDATED: Fri Mar 15 01:51:34 UTC 2024

Results for 11.4.1 20240315 [releases/gcc-11 revision 5cc4656167:7ce5f15d07:f51018ba255198aa342c2c7bb5e826e9a671f0a1] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER8) via Gcc-testresults
git commit g:f51018ba255198aa342c2c7bb5e826e9a671f0a1 gcc-descr r11-11280-gf51018ba255198 power8 Linux 5.4.0-172-generic ppc64le GNU Make 4.2.1 DejaGnu: DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 64-bit LAST_UPDATED: Fri Mar 15 01:21:36 UTC 2024

[Bug target/111555] [AArch64] __ARM_FEATURE_UNALIGNED should be undefined with -mstrict-align

2024-03-14 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 from

[r14-9478 Regression] FAIL: g++.dg/torture/pr104601.C -Os (test for excess errors) on Linux/x86_64

2024-03-14 Thread haochen.jiang
On Linux/x86_64, df483ebd24689a3bebfae2089637a00eca0e5a12 is the first bad commit commit df483ebd24689a3bebfae2089637a00eca0e5a12 Author: Jonathan Wakely Date: Mon Feb 26 13:17:13 2024 + libstdc++: Add nodiscard in caused FAIL: g++.dg/torture/pr104601.C -O0 (test for excess

[r14-9478 Regression] FAIL: g++.dg/torture/pr104601.C -Os (test for excess errors) on Linux/x86_64

2024-03-14 Thread haochen.jiang via Gcc-regression
On Linux/x86_64, df483ebd24689a3bebfae2089637a00eca0e5a12 is the first bad commit commit df483ebd24689a3bebfae2089637a00eca0e5a12 Author: Jonathan Wakely Date: Mon Feb 26 13:17:13 2024 + libstdc++: Add nodiscard in caused FAIL: g++.dg/torture/pr104601.C -O0 (test for excess

Results for 14.0.1 20240313 (experimental) [src r14-9453-g74bca21db31] (GCC) testsuite on powerpc-ibm-aix7.2.5.0

2024-03-14 Thread David Edelsohn via Gcc-testresults
LAST_UPDATED: Wed Mar 13 15:54:20 UTC 2024 (revision r14-9453-g74bca21db31) Native configuration is powerpc-ibm-aix7.2.5.0 === g++ tests === Running target unix FAIL: g++.dg/compat/eh/new1 cp_compat_x_tst.o-cp_compat_y_tst.o execute XPASS: g++.dg/debug/pr46583.C -gdwarf-2 -g1

Re: [PATCH v1] libstdc++: Optimize removal from unique assoc containers [PR112934]

2024-03-14 Thread Barnabás Pőcze
Hi 2024. március 13., szerda 12:43 keltezéssel, Jonathan Wakely írta: > On Mon, 11 Mar 2024 at 23:36, Barnabás Pőcze wrote: > > > > Previously, calling erase(key) on both std::map and std::set > > would execute that same code that std::multi{map,set} would. > > However, doing that is

[Bug target/114334] [14 Regression] ICE: in extract_insn, at recog.cc:2812 (unrecognizable insn and:HF?) with lroundf16() and -ffast-math -mavx512fp16

2024-03-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114334 Hongtao Liu changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

Re: [PATCH v14 23/26] c++: Implement __is_invocable built-in trait

2024-03-14 Thread Ken Matsui
On Fri, Mar 8, 2024 at 9:17 AM Patrick Palka wrote: > > On Wed, 28 Feb 2024, Ken Matsui wrote: > > > This patch implements built-in trait for std::is_invocable. > > > > gcc/cp/ChangeLog: > > > > * cp-trait.def: Define __is_invocable. > > * constraint.cc (diagnose_trait_expr): Handle

Results for 14.0.1 20240315 (experimental) [remotes/origin/HEAD r14-9485-gc1f6690b821] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9) via Gcc-testresults
git commit g:c1f6690b821f06616d442d732b24473d91eca66a gcc-descr r14-9485-gc1f6690b821f06 power9 Linux 5.15.0-97-generic ppc64le GNU Make 4.3 DejaGnu: DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 64-bit LAST_UPDATED: Fri Mar 15 00:22:36 UTC 2024

[Bug target/110027] [11/12/13/14 regression] Misaligned vector store on detect_stack_use_after_return

2024-03-14 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 --- Comment #15 from Hongtao Liu --- A patch is posted at https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647604.html

[Bug testsuite/114343] [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114343 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

RE: [PATCH v3] RISC-V: Introduce gcc attribute riscv_rvv_vector_bits for RVV

2024-03-14 Thread Li, Pan2
> Shouldn't a major user-facing change like this be discussed in a PR against > https://github.com/riscv-non-isa/riscv-c-api-doc/ or > https://github.com/riscv-non-isa/rvv-intrinsic-doc before or concurrent with > compiler implementation? I think Kito is working on the spec doc already. Hi Kito

[Bug target/114344] [arm/mips] __alignof__ report a member packed struct as 1, while normal load/store instruction is used

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114344 --- Comment #2 from Andrew Pinski --- Note __alignof__ might say 1, but alignof vs what GCC knows the alignment of the decl are 2 different things.

Results for 14.0.1 20240314 (experimental) [master-ia32 r14-9483-g6dbf0d252f6] (GCC) testsuite on i686-pc-linux-gnu

2024-03-14 Thread H.J. Lu via Gcc-testresults
# of unexpected successes 27 # of expected failures 1556 # of unsupported tests 4063 /export/gnu/import/git/gcc-test-master-ia32/bld/gcc/xgcc version 14.0.1 20240314 (experimental) [master-ia32 r14-9483-g6dbf0d252f6] (GCC) === gfortran tests === Running target unix

Regressions on master at commit r14-9483 vs commit r14-9469 on Linux/i686

2024-03-14 Thread H.J. Lu via Gcc-regression
Regressions on master at commit r14-9483 vs commit r14-9469 on Linux/i686 New failures: FAIL: g++.dg/torture/pr104601.C -O0 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O1 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O2 -flto -fno-use-linker-plugin

Results for 14.0.1 20240315 (experimental) [remotes/origin/master r14-9485-gc1f6690b821] (GCC) testsuite on pru-unknown-elf

2024-03-14 Thread The GnuPru BuildBot via Gcc-testresults
LAST_UPDATED: Fri Mar 15 01:00:11 UTC 2024 (revision r14-9485-gc1f6690b821) Target is pru-unknown-elf Host is x86_64-pc-linux-gnu === gcc tests === Running target pru-sim FAIL: c-c++-common/analyzer/out-of-bounds-diagram-11.c (test for excess errors) FAIL:

[Bug target/114344] [arm/mips] __alignof__ report a member packed struct as 1, while normal load/store instruction is used

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

[PATCH v2 0/3] LoongArch: Cleanup unused/redundant codes.

2024-03-14 Thread Chenghui Pan
Changes from v1: Some correction about ChangeLog format. There's some unused/redundant definitions inside LoongArch target support codes, these patches make a simple cleanup. Regression test passed. Chenghui Pan (3): LoongArch: Remove unused/useless definitions. LoongArch: Change

[PATCH v2 3/3] LoongArch: Combine UNITS_PER_FP_REG and UNITS_PER_FPREG macros.

2024-03-14 Thread Chenghui Pan
These macros are completely same in definition, so we can keep the previous one and eliminate later one. gcc/ChangeLog: * config/loongarch/loongarch.cc (loongarch_hard_regno_mode_ok_uncached): Combine UNITS_PER_FP_REG and UNITS_PER_FPREG macros.

[PATCH v2 2/3] LoongArch: Change loongarch_expand_vec_cmp()'s return type from bool to void.

2024-03-14 Thread Chenghui Pan
This function is always return true at the end of function implementation, so the return value is useless. gcc/ChangeLog: * config/loongarch/lasx.md (vec_cmp): Remove checking of loongarch_expand_vec_cmp()'s return value. (vec_cmpu): Ditto. *

[PATCH v2 1/3] LoongArch: Remove unused/useless definitions.

2024-03-14 Thread Chenghui Pan
This patch removes some unnecessary definitions of target hook functions according to the documentation of GCC. gcc/ChangeLog: * config/loongarch/loongarch-protos.h (loongarch_cfun_has_cprestore_slot_p): Delete. (loongarch_adjust_insn_length): Delete.

Results for 12.3.1 20240315 [releases/gcc-12 r12-10215-gcaabffc463] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
git commit g:caabffc463db169e4a54deade79abe0888df05b5 gcc-descr r12-10215-gcaabffc463db16 power9 IEEE128 Linux 6.8.0-0.rc6.20240229git805d849d7c3c.51.fc41.ppc64le ppc64le GNU Make 4.4.1 DejaGnu: DejaGnu version 1.6.3 Expect version 5.45.4 Tcl version 8.6 64-bit

[Bug tree-optimization/106119] [12 Regression] Bogus use-after-free warning triggered by optimizer

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106119 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14 Regression] Bogus |[12 Regression] Bogus

Results for 14.0.1 20240314 (experimental) [remotes/origin/HEAD r14-9484-gefab88888c] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER8) via Gcc-testresults
(test for excess errors) === gcc Summary === # of expected passes178055 # of unexpected failures148 # of unexpected successes 12 # of expected failures 1597 # of unsupported tests 4965 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc

[Bug tree-optimization/106238] [12 regression] Inline optimization causes dangling pointer warning on "include/c++/12.1.0/bits/stl_tree.h"

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106238 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14 regression] |[12 regression] Inline

[Bug target/106342] [12/13/14 Regression] internal compiler error: in extract_insn, at recog.cc:2791 since r12-4240-g2b8453c401b699

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106342 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [PATCH] i386[stv]: Handle REG_EH_REGION note

2024-03-14 Thread Hongtao Liu
On Thu, Mar 14, 2024 at 10:46 PM Uros Bizjak wrote: > > On Thu, Mar 14, 2024 at 8:42 AM Uros Bizjak wrote: > > > > On Thu, Mar 14, 2024 at 8:32 AM Hongtao Liu wrote: > > > > > > On Thu, Mar 14, 2024 at 3:22 PM Uros Bizjak wrote: > > > > > > > > On Thu, Mar 14, 2024 at 2:33 AM liuhongt wrote:

Re:[pushed] [PATCH v2] LoongArch: Remove masking process for operand 3 of xvpermi.q.

2024-03-14 Thread chenglulu
Pushed to r14-9486. 在 2024/3/14 上午9:26, Chenghui Pan 写道: The behavior of non-zero unused bits in xvpermi.q instruction's third operand is undefined on LoongArch, according to our discussion (https://github.com/llvm/llvm-project/pull/83540), we think that keeping original insn operand as

[gcc r14-9486] LoongArch: Remove masking process for operand 3 of xvpermi.q.

2024-03-14 Thread LuluCheng via Gcc-cvs
https://gcc.gnu.org/g:d7d05824ae68da24908d97a10b9ec59d08f75a90 commit r14-9486-gd7d05824ae68da24908d97a10b9ec59d08f75a90 Author: Chenghui Pan Date: Thu Mar 14 09:26:54 2024 +0800 LoongArch: Remove masking process for operand 3 of xvpermi.q. The behavior of non-zero unused bits in

[Bug target/114344] New: [arm/mips] __alignof__ report a member packed struct as 1, while normal load/store instruction is used

2024-03-14 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114344 Bug ID: 114344 Summary: [arm/mips] __alignof__ report a member packed struct as 1, while normal load/store instruction is used Product: gcc Version: unknown Status:

[Bug tree-optimization/106757] [12/13 Regression] Incorrect "writing 1 byte into a region of size 0" on a vectorized loop

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106757 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14 Regression] |[12/13 Regression]

Results for 14.0.1 20240314 (experimental) [master revision gcc-14-9484-gefab88888c1] (GCC) testsuite on aarch64-unknown-linux-gnu

2024-03-14 Thread ci_notify--- via Gcc-testresults
/workspace/tcwg_gnu_3/abe/builds/destdir/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc version 14.0.1 20240314 (experimental) [master revision gcc-14-9484-gefab8c1] (GCC) === gfortran tests === Running target tcwg-local === gfortr

[Bug sanitizer/113430] [11/12/13 only] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 --- Comment #10 from Sam James --- I don't plan on pursuing it myself, leaving it to someone else, as I can't reproduce on my main workstation and I don't want to faff w/ kernel config.

[Bug sanitizer/113430] [11/12/13 only] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 --- Comment #9 from Sam James --- Created attachment 57708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57708=edit 0001-libsanitizer-fix-ASAN-with-aggressive-CONFIG_ARCH_MM.patch Untested patch for 13.

[Bug tree-optimization/106842] [12 Regression] misleading warning : iteration X invokes undefined behavior

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106842 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14 Regression] |[12 Regression] misleading

Regressions on native/master at commit r14-9484 vs commit r14-9483 on Linux/x86_64

2024-03-14 Thread H. J. Lu via Gcc-regression
Regressions on native/master at commit r14-9484 vs commit r14-9483 on Linux/x86_64 New failures: FAIL: gcc.dg/torture/convert-dfp-2.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) FAIL: gcc.dg/torture/convert-dfp.c -O2 -flto -fuse-linker-plugin

C/C++ results under Intel SDE for 14.0.1 20240314 (experimental) [native/master r14-9484-gefab88888c1] (GCC) testsuite on x86_64-pc-linux-gnu

2024-03-14 Thread H. J. Lu via Gcc-testresults
1462 /export/gnu/import/git/gcc-test-master-intel64-native/bld/gcc/xgcc version 14.0.1 20240314 (experimental) [native/master r14-9484-gefab8c1] (GCC) === g++ tests === Running target sde FAIL: g++.target/i386/mv28.C -std=c++14 (test for errors, line 10) FAIL: g++.

[Bug tree-optimization/106931] [12 Regression] -Wstringop-overflow false positive -O3 -fno-tree-vectorize with loop unrolling since r12-3300-gece28da924ddda8b

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106931 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14 Regression] |[12 Regression]

Results for 14.0.1 20240314 (experimental) [native/master r14-9484-gefab88888c1] (GCC) testsuite on x86_64-pc-linux-gnu

2024-03-14 Thread H. J. Lu via Gcc-testresults
LAST_UPDATED: Thu Mar 14 22:40:05 UTC 2024 (revision r14-9484-gefab8c1) Native configuration is x86_64-pc-linux-gnu === gcc tests === Running target unix XPASS: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 72) XPASS: gcc.dg/Wstringop-overflow-47.c pr97027

[Bug c++/107138] [12 regression] std::variant triggers false-positive 'may be used uninitialized' warning

2024-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14 regression] |[12 regression]

[Bug sanitizer/89323] Asan memory leak detection on 32bit x86 linux platform

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89323 --- Comment #7 from Andrew Pinski --- This might work but I can't test it with x32: ``` diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index 77a0e68222b..eb99edefbd3 100644 --- a/libsanitizer/configure.tgt +++

[Bug sanitizer/113430] [12/13 only] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 Andrew Pinski changed: What|Removed |Added Summary|Trivial program segfaults |[12/13 only] Trivial

[Bug sanitizer/113430] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-14 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 Dimitrij Mijoski changed: What|Removed |Added CC||dmjpp at hotmail dot com ---

[Bug testsuite/114343] [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114343 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.3 Assignee|dmalcolm at

[Bug analyzer/114343] [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114343 --- Comment #1 from Andrew Pinski --- No there is a missing `}` in the line that was done for testsuite/gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c : /* { dg-bogus "may result in an unaligned pointer value" "Fixed in

[Bug analyzer/114343] New: [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206

2024-03-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114343 Bug ID: 114343 Summary: [13 regression] many erratic errors starting with r13-8433-g1277f69b9b0206 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug sanitizer/89323] Asan memory leak detection on x86 platform

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89323 Andrew Pinski changed: What|Removed |Added Target||i?86 Status|WAITING

RELLEB relocation format for ELF

2024-03-14 Thread Fangrui Song via Gcc
The relocation formats REL and RELA for ELF are inefficient. In a release build of Clang for x86-64, .rela.* sections consume a significant portion (approximately 20.9%) of the file size. I propose RELLEB, a new format offering significant file size reductions: 17.2% (x86-64), 16.5% (aarch64),

[Bug target/113934] Switch avr to LRA

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/59863] const array in function is placed on stack

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59863 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug tree-optimization/99091] local array not prompted to static

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

[Bug target/95943] arc -mbig-endian "inappropriate arguments" error from assembler

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

Results for 14.0.1 20240314 (experimental) [remotes/origin/HEAD r14-9484-gefab88888c1] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9) via Gcc-testresults
=== gcc Summary === # of expected passes179063 # of unexpected failures132 # of unexpected successes 19 # of expected failures 1614 # of unsupported tests 4186 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc version 14.0.1 20240314 (ex

[Bug target/111555] [AArch64] __ARM_FEATURE_UNALIGNED should be undefined with -mstrict-align

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > (In reply to YunQiang Su from comment #2) > > For AArch64, clang supports `-mno-unaligned-access`, while gcc doesn't, > > should we add it as an alias of

[Bug target/111555] [AArch64] __ARM_FEATURE_UNALIGNED should be undefined with -mstrict-align

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555 --- Comment #3 from Andrew Pinski --- (In reply to YunQiang Su from comment #2) > For AArch64, clang supports `-mno-unaligned-access`, while gcc doesn't, > should we add it as an alias of -mstrict-align? -mno-unaligned-access is the arm option

[Linaro-TCWG-CI] gcc-14-9478-gdf483ebd246: FAIL: 7 regressions on aarch64

2024-03-14 Thread ci_notify--- via Gcc-regression
Dear contributor, our automatic CI has detected problems related to your patch(es). Please find some details below. If you have any questions, please follow up on linaro-toolch...@lists.linaro.org mailing list, Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain developer

[Bug target/111555] [AArch64] __ARM_FEATURE_UNALIGNED should be undefined with -mstrict-align

2024-03-14 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555 YunQiang Su changed: What|Removed |Added CC||syq at gcc dot gnu.org --- Comment #2

[Bug middle-end/114342] suboptimal codegen of vector::vector(range)

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

Results for 14.0.1 20240314 (experimental) [master r14-9481-g6cf4286ff94] (GCC) testsuite on s390x-ibm-linux-gnu default

2024-03-14 Thread stefansf--- via Gcc-testresults
0/vector/vec-scalar-cmp-1.c scan-assembler ne:\\n[^:]*\\twfcdb\\t%v[0-9]*,%v[0-9]*\\n\\t[^:]+\\tlocghine\\t%r2,1 XPASS: gcc.target/s390/vxe/popcount-1.c scan-assembler vpopctb\\t%v24,%v24 XPASS: gcc.target/s390/vxe/popcount-1.c scan-assembler vpopcth\\t%v24,%v24 ===

[Bug middle-end/114342] suboptimal codegen of vector::vector(range)

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114342 --- Comment #1 from Andrew Pinski --- The first memcpy (rep movsq) is for: ``` int arr[]{-5, 10, 15, -5, 10, 15, -5, 10, 15, -5, 10, 15, -5, 10, 15, -5, 10, 15, -5, 10, 15,-5, 10, 15 -5, 10, 15, -5, 10, 15, -5, 10, 15, -5, 10, 15, -5, 10, 15,

[Bug c++/114342] New: suboptimal codegen of vector::vector(range)

2024-03-14 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114342 Bug ID: 114342 Summary: suboptimal codegen of vector::vector(range) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/114341] Optimization opportunity with {mul,div} "(x & -x)" and {<<,>>} "ctz(x)"

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114341 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-14

Results for 14.0.1 20240314 (experimental) [remotes/origin/HEAD r14-9484-gefab88888c] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER9 IEEE128) via Gcc-testresults
Summary === # of expected passes179063 # of unexpected failures116 # of unexpected successes 19 # of expected failures 1614 # of unsupported tests 4188 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc version 14.0.1 20240314 (experimental) [remote

[Bug tree-optimization/114341] Optimization opportunity with {mul,div} "(x & -x)" and {<<,>>} "ctz(x)"

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114341 --- Comment #1 from Andrew Pinski --- x/(y&-y) is already recorded as PR 97738 .

Results for 14.0.1 20240314 (experimental) [remotes/origin/HEAD r14-9483-g6dbf0d252f] (GCC) testsuite on powerpc64le-unknown-linux-gnu

2024-03-14 Thread Bill Seurer (POWER8) via Gcc-testresults
(test for excess errors) === gcc Summary === # of expected passes178055 # of unexpected failures148 # of unexpected successes 12 # of expected failures 1597 # of unsupported tests 4965 /home/gccbuild/build/nightly/build-gcc-trunk/gcc/xgcc

[Bug tree-optimization/114341] New: Optimization opportunity with {mul,div} "(x & -x)" and {<<,>>} "ctz(x)"

2024-03-14 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114341 Bug ID: 114341 Summary: Optimization opportunity with {mul,div} "(x & -x)" and {<<,>>} "ctz(x)" Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

  1   2   3   4   5   >