[Bug c++/112715] Incorrect handling of template type aliases instantiated from decltype of lambdas

2023-11-25 Thread gcc at nospam dot scs.stanford.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112715 --- Comment #1 from David Mazières --- I should have mentioned, I hereby place the test case in the public domain.

[Bug c++/112715] New: Incorrect handling of template type aliases instantiated from decltype of lambdas

2023-11-25 Thread gcc at nospam dot scs.stanford.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112715 Bug ID: 112715 Summary: Incorrect handling of template type aliases instantiated from decltype of lambdas Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug testsuite/112714] New: gcc.dg/tree-ssa/predcom-2.c fails on aarch64-* with -march=armv9-a+sve

2023-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112714 Bug ID: 112714 Summary: gcc.dg/tree-ssa/predcom-2.c fails on aarch64-* with -march=armv9-a+sve Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

Re: [PATCH 2/2] testsuite/unroll-8: Disable vectorization for varibale-factor targets

2023-11-25 Thread Andrew Pinski
On Wed, Nov 22, 2023 at 4:18 PM Jeff Law wrote: > > > > On 11/21/23 16:27, Palmer Dabbelt wrote: > > The vectorizer picks up these loops and disables unrolling on targets > > with variable vector factors. That result in better code here, but it > > trips up the unrolling tests. So just disable

[Bug target/112531] [14] RISC-V: gcc.dg/unroll-8.c rtl-dump scan errors with --param=riscv-autovec-preference=scalable

2023-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112531 Andrew Pinski changed: What|Removed |Added Target|riscv |riscv aarch64-*-* CC|

[Bug testsuite/112691] [14 Regression] gcc.dg/vla-1.c fails

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

[Bug testsuite/112691] [14 Regression] gcc.dg/vla-1.c fails

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112691 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:bd7f16b43e2afe5bd8429479485b5c70cedbdee6 commit r14-5850-gbd7f16b43e2afe5bd8429479485b5c70cedbdee6 Author: Andrew Pinski Date:

[COMMITTED] Fix gcc.dg/vla-1.c

2023-11-25 Thread Andrew Pinski
r14-5628-g53ba8d669550d3 added noipa to f1 but `-fno-ipa-vrp` should have been used instead. The testcase is testing about the clone of f1 so turning off IPA VRP is the correct approach here rather than turning off of IPA on the function. gcc/testsuite/ChangeLog: PR testsuite/112691

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

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

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112688 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a9693bff396b28748464630e4c524776bce3ff4e commit r14-5849-ga9693bff396b28748464630e4c524776bce3ff4e Author: Andrew Pinski Date:

[Bug c++/108321] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec

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

[Bug c++/108321] g++.dg/contracts/contracts-tmpl-spec2.C fails after r13-4160-g2efb237ffc68ec

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108321 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:6e15e4e1abed02443a27a69455f4bfa49457c99e commit r14-5848-g6e15e4e1abed02443a27a69455f4bfa49457c99e Author: Andrew Pinski Date:

[PATCH 2/2] Fix gcc.target/aarch64/simd/vmulxd_{f64, f32}_2.c after after IPA-VRP improvement for return values

2023-11-25 Thread Andrew Pinski
Just like the patch against gcc.target/aarch64/movk.c, the issue here is the two functions, foo32 and foo64 needed to mark as noipa so that IPA-VRP cannot propagate the return value. gcc/testsuite/ChangeLog: * gcc.target/aarch64/simd/vmulx.x (foo32): Mark as noipa rather than

[PATCH 1/2] Fix contracts-tmpl-spec2.C on targets where plain char is unsigned by default

2023-11-25 Thread Andrew Pinski
Since contracts-tmpl-spec2.C is just testing contracts, I thought it would be better to just add `-fsigned-char` to the options rather than change the testcase to support both cases. Committed after testing on aarch64-linux-gnu. gcc/testsuite/ChangeLog: PR testsuite/108321 *

[Bug sanitizer/112708] "gcc -fsanitize=address" produces wrong debug info for variables in function prologue

2023-11-25 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112708 --- Comment #6 from Bruno Haible --- For comparison, what clang 17 with -fsanitize=address does in this situation, is to not generate a stepping point at the function entry (xg-message.c:50). The gdb 'step' command brings me directly to the

Re: [PATCH] libstdc++/complex: Remove implicit type casts in complex

2023-11-25 Thread Weslley da Silva Pereira
Hi Jonathan, Is there a way I can see my patch merged (when it gets merged)? Particularly, I want to have a link for the commit. I would like to add this as "impact on third party software" for the software https://github.com/tlapack/tlapack. Thanks, Weslley On Mon, Nov 6, 2023 at 3:44 AM

[Bug target/112443] [12/13/14 Regression] Misoptimization of _mm256_blendv_epi8 intrinsic on avx512bw+avx512vl

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

[Committed] RISC-V: Fix typo

2023-11-25 Thread Juzhe-Zhong
Fix typo. Committed. gcc/ChangeLog: * config/riscv/riscv-avlprop.cc (alv_can_be_propagated_p): Fix typo. (avl_can_be_propagated_p): Ditto. (vlmax_ta_p): Ditto. --- gcc/config/riscv/riscv-avlprop.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Bug c/112713] New: RISC-V: Trunk GCC regression on VSETVL PASS comparing with GCC-13

2023-11-25 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112713 Bug ID: 112713 Summary: RISC-V: Trunk GCC regression on VSETVL PASS comparing with GCC-13 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH] Update GMP/MPFR/MPC/ISL/gettext to latest release

2023-11-25 Thread Iain Sandoe
e >> is clean? > > I was able to build a native GCC: > > /tmp/sh/i-native/bin/gcc --version --verbose > Using built-in specs. > COLLECT_AS_OPTIONS='--version' > COLLECT_GCC=/tmp/sh/i-native/bin/gcc > COLLECT_LTO_WRAPPER=/tmp/sh/i-native/lib/gcc/x86_64-pc-linux-gnu/

[Bug c++/112712] New: Crash when compiling g++ -m68020-60 -O2

2023-11-25 Thread miro.kropacek at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112712 Bug ID: 112712 Summary: Crash when compiling g++ -m68020-60 -O2 Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

Re: [PATCH v5 1/1] c++: Initial support for P0847R7 (Deducing This) [PR102609]

2023-11-25 Thread waffl3x
I don't think so, I'm concerned that it might eat the xobj parameter if we do it that way. Besides, all we want is the lambda type anyway, I don't want to build a whole new node just to do that. Upon further consideration I think my solution does work and shouldn't cause problems. The field that

gcc-13-20231125 is now available

2023-11-25 Thread GCC Administrator via Gcc
Snapshot gcc-13-20231125 is now available on https://gcc.gnu.org/pub/gcc/snapshots/13-20231125/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 13 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2023-11-25 Thread alexhenrie24 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #13 from Alex Henrie --- I should clarify that I was testing with GCC 12.2. It turns out that GCC 12.3 does not crash, and I have now confirmed that the patch from comment #5 applied to GCC 12.3 fixes

Re: [PATCH] Update GMP/MPFR/MPC/ISL/gettext to latest release

2023-11-25 Thread Sebastian Huber
-in specs. COLLECT_AS_OPTIONS='--version' COLLECT_GCC=/tmp/sh/i-native/bin/gcc COLLECT_LTO_WRAPPER=/tmp/sh/i-native/lib/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper gcc (GCC) 14.0.0 20231125 (experimental) [master 9c26c91b94e] Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

2023-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112688 --- Comment #3 from Andrew Pinski --- movk.c is fixed, I will submit the change for vmulxd_*_2.c in a few.

[Bug testsuite/112688] [14 Regression] testcases: gcc.target/aarch64/movk.c and vmulxd_*_2.c need to updated after r14-5628-g53ba8d669550d3

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112688 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:8d559a9b85d9a6de4f358171178a74605f554082 commit r14-5845-g8d559a9b85d9a6de4f358171178a74605f554082 Author: Andrew Pinski Date:

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned

2023-11-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112711 --- Comment #3 from Sergei Trofimovich --- I confirm bisect landed on r14-5831-gaae723d360ca26 as well.

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned

2023-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112711 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned

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

[Bug sanitizer/112709] [13/14 Regression] address sanitize and returns_twice causes an ICE

2023-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112709 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|address

[Bug middle-end/112711] New: [14 Regression] possibly wrong code in bswap32(int) on llvm-16.0.6 test suite

2023-11-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
LTO compression algorithms: zlib gcc version 14.0.0 20231125 (experimental) (GCC)

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2023-11-25 Thread alexhenrie24 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #12 from Alex Henrie --- Created attachment 56687 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56687=edit Minimal example to reproduce the crash Here's a minimal example that crashes on MinGW 12 with -m32 -mavx512f

[Bug fortran/106856] [12 Regression][OOP] CLASS attribute handling / ICE in gfc_conv_expr_present, at fortran/trans-expr.cc:1977 since r12-4346-geb92cd57a1ebe7cd

2023-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106856 --- Comment #19 from anlauf at gcc dot gnu.org --- *** Bug 96655 has been marked as a duplicate of this bug. ***

[Bug fortran/96655] [OOP] CLASS dummy arguments: Bogus "Duplicate OPTIONAL attribute specified"

2023-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96655 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/100651] [11/12/13/14 Regression] Bad handling of optional, allocatable character argument

2023-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2023-11-25 Thread alexhenrie24 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #11 from Alex Henrie --- Well, this is interesting: Unpatched MinGW 12 crashes in the same way if I set both -march=native and -mpreferred-stack-boundary=2. So the problem is not the patch itself, it's just that the patch revealed

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2023-11-25 Thread gabrielopcode at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #10 from Gabriel Ivăncescu --- (In reply to Alexander Monakov from comment #9) > -mpreferred-stack-boundary=n means that functions consume stack in > increments of 2**n. This is sufficient to ensure that once stack is aligned > to

Re: [PATCH v5 1/1] c++: Initial support for P0847R7 (Deducing This) [PR102609]

2023-11-25 Thread Jason Merrill
On 11/24/23 01:49, waffl3x wrote: and this in tsubst_lambda_expr that assumes iobj: /* Fix the type of 'this'. */ fntype = build_memfn_type (fntype, type, type_memfn_quals (fntype), type_memfn_rqual (fntype)); Unfortunately, putting a condition on this had some unforeseen consequences. I've

[Bug target/112443] [12/13/14 Regression] Misoptimization of _mm256_blendv_epi8 intrinsic on avx512bw+avx512vl

2023-11-25 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112443 --- Comment #8 from Mikael Pettersson --- Can this be closed now?

[Bug preprocessor/112701] wrong type inference for ternary operator with `0/0u` in preprocessing context

2023-11-25 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112701 --- Comment #2 from Mikael Pettersson --- gcc-2.95.3 generates neither, gcc-3.0.4 and up generate the bar: .long 0 (or .zero 4) one.

[pushed] wwwdocs: reading: Update the MicroBlaze section

2023-11-25 Thread Gerald Pfeifer
MicroBlaze is now with AMD, spelt MicroBlaze not MicroBlace, and the docs have a new address. --- htdocs/readings.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/readings.html b/htdocs/readings.html index 2e320945..e4e68909 100644 --- a/htdocs/readings.html

[pushed] wwwdocs: gcc-13: Refer to GCC (instead of gcc)

2023-11-25 Thread Gerald Pfeifer
Refer to the overall project as GCC. Pushed. Gerald --- htdocs/gcc-13/porting_to.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html index db0bf2fa..c727d66f 100644 --- a/htdocs/gcc-13/porting_to.html +++

Re: c: tree: target: C2x (...) function prototypes and va_start relaxation

2023-11-25 Thread Gerald Pfeifer
On Fri, 21 Oct 2022, Joseph Myers wrote: > C2x allows function prototypes to be given as (...), a prototype > meaning a variable-argument function with no named arguments. I noticed this did not make it into gcc-13/changes.html ? Was that intentional? Gerald

Re: [PATCH] Update GMP/MPFR/MPC/ISL/gettext to latest release

2023-11-25 Thread Richard Biener
On Sat, Nov 25, 2023 at 12:26 PM Sebastian Huber wrote: > > contrib/ChangeLog Did you verify an in-tree build with these works and the testsuite is clean? > * download_prerequisites: Update to gmp-6.3.0, mpfr-4.2.1, > mpc-1.3.1, isl-0.26, and gettext-0.22.4. > *

[PATCH v5] libstdc++: Remove UB from month and weekday additions and subtractions.

2023-11-25 Thread Cassio Neri
The following invoke signed integer overflow (UB) [1]: month + months{MAX} // where MAX is the maximum value of months::rep month + months{MIN} // where MIN is the maximum value of months::rep month - months{MIN} // where MIN is the minimum value of months::rep weekday + days {MAX}

[Bug tree-optimization/110062] missed vectorization in graphicsmagick

2023-11-25 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 --- Comment #11 from Jan Hubicka --- trunk -O3 -flto -march=native -fopenmp Operation: Sharpen: 257 256 256 Average: 256 Iterations Per Minute GCC13 -O3 -flto -march=native -fopenmp 257 256

Re: [wwwdocs][patch][OpenMP] gcc-14/changes.html + projects/gomp/: OpenMP update

2023-11-25 Thread Tobias Burnus
Gerald Pfeifer wrote: On Fri, 24 Nov 2023, Tobias Burnus wrote: While I expect more changes, I want to cleanup my stashed changes. Good approach! + The destory now optionally accepts the depend object as + argument. Is "depend object" a well known technical term in that context?

[Bug target/109811] libjxl 0.7 is a lot slower in GCC 13.1 vs Clang 16

2023-11-25 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109811 --- Comment #18 from Jan Hubicka --- I made a typo: Mainline with -O2 -flto -march=native run manually since build machinery patch is needed 23.03 22.85 23.04 Should be Mainline with -O3 -flto -march=native run

[pushed] doc: Complete and sort the list of front ends

2023-11-25 Thread Gerald Pfeifer
gcc: PR other/69374 * doc/install.texi (Downloading the source): Sort the list of front ends and add D, Go, and Modula-2. --- gcc/doc/install.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index

[Bug target/69374] install.texi is bit-rotten

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69374 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:9c26c91b94eb72397a4892b28022070a33636492 commit r14-5844-g9c26c91b94eb72397a4892b28022070a33636492 Author: Gerald Pfeifer Date:

[pushed] doc: Remove obsolete notes on GCC 4.x on FreeBSD

2023-11-25 Thread Gerald Pfeifer
FreeBSD 6 and 7 have been end of life for years as have been GCC 4.x releases, so no point in detailing specifics of changes around those. gcc: PR target/69374 * doc/install.texi (Specific) <*-*-freebsd*>: Remove older contents referencing GCC 4.x. ---

[Bug target/69374] install.texi is bit-rotten

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69374 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:f7df9d7aca6b7978ad4c08ee24267787a805a301 commit r14-5843-gf7df9d7aca6b7978ad4c08ee24267787a805a301 Author: Gerald Pfeifer Date:

Re: [PATCH] rs6000: Canonicalize copysign (x, -1) back to -abs (x) in the backend [PR112606]

2023-11-25 Thread Jakub Jelinek
On Sat, Nov 25, 2023 at 12:03:56PM +, Tamar Christina wrote: > For the C99 versions of copysign, expand_COPYSIGN has optimized expansions > inplace. > One of the hooks there forces it to abs/neg. There is also code in place > for if the target > prefers integer expansion over floating

RE: [PATCH] rs6000: Canonicalize copysign (x, -1) back to -abs (x) in the backend [PR112606]

2023-11-25 Thread Tamar Christina
> -Original Message- > From: Xi Ruoyao > Sent: Saturday, November 25, 2023 10:43 AM > To: Jakub Jelinek ; Segher Boessenkool > ; David Edelsohn > Cc: gcc-patches@gcc.gnu.org; Tamar Christina ; > Andrew Pinski > Subject: Re: [PATCH] rs6000: Canonicalize copysign (x, -1) back to -abs (x)

[Bug middle-end/112710] New: [13/14 Regression] ICE: in write_type, at cp/mangle.cc:2226 with -fdump-go-spec=filename -flto -fno-use-linker-plugin

2023-11-25 Thread zsojka at seznam dot cz via Gcc-bugs
-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-5841-20231125103155-g9866c98e101-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231125 (experimental) (GCC)

Re: [PATCH] [gcc-wwwdocs]gcc-13/14: Mention Intel new ISA and march support

2023-11-25 Thread Gerald Pfeifer
On Mon, 17 Jul 2023, Haochen Jiang via Gcc-patches wrote: >GCC now supports the Intel CPU named Granite Rapids through > -march=graniterapids. > +The switch enables the AMX-FP16, PREFETCHI ISA extensions. Do I understand correclty that it enables AMX-FP16 and PREFETCHI? How about

[PATCH] Update GMP/MPFR/MPC/ISL/gettext to latest release

2023-11-25 Thread Sebastian Huber
contrib/ChangeLog * download_prerequisites: Update to gmp-6.3.0, mpfr-4.2.1, mpc-1.3.1, isl-0.26, and gettext-0.22.4. * prerequisites.md5: Update hash. * prerequisites.sha512: Likewise. --- contrib/download_prerequisites | 10 +- contrib/prerequisites.md5

Re: [patch][GCN] install.texi: Update GCN entry - @uref and LLVM version remark

2023-11-25 Thread Gerald Pfeifer
On Fri, 24 Nov 2023, Tobias Burnus wrote: > Stumbled over this. Same here. :-) > Comments? Thank you for fixing this. Gerald

[pushed] doc: Update ISO C++ reference

2023-11-25 Thread Gerald Pfeifer
http->https it is, once again. Gerald gcc: * doc/standards.texi (Standards): Update ISO C++ reference. --- gcc/doc/standards.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index 6eebb9426f3..4b18fa91289 100644

Re: [PATCH] rs6000: Canonicalize copysign (x, -1) back to -abs (x) in the backend [PR112606]

2023-11-25 Thread Xi Ruoyao
On Sat, 2023-11-25 at 11:17 +0100, Jakub Jelinek wrote: > The middle-end has been changed quite recently to canonicalize > -abs (x) to copysign (x, -1) rather than the other way around. > While I agree with that at GIMPLE level, since it matches the GIMPLE > goal of as few operations as possible

[Bug target/109812] GraphicsMagick resize is a lot slower in GCC 13.1 vs Clang 16 on Intel Raptor Lake

2023-11-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 liuhongt at gcc dot gnu.org changed: What|Removed |Added CC||liuhongt at gcc dot

[PATCH] rs6000: Canonicalize copysign (x, -1) back to -abs (x) in the backend [PR112606]

2023-11-25 Thread Jakub Jelinek
Hi! The middle-end has been changed quite recently to canonicalize -abs (x) to copysign (x, -1) rather than the other way around. While I agree with that at GIMPLE level, since it matches the GIMPLE goal of as few operations as possible for a canonical form (-abs (x) is 2 GIMPLE statements,

Re: [PATCH] Fix gcc.target/aarch64/movk.c testcase after IPA-VRP improvement for return values

2023-11-25 Thread Richard Sandiford
Andrew Pinski writes: > This fixes the testcase. > > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/movk.c: Add noipa on dummy_number_generator > and remove -fno-inline option. > > Signed-off-by: Andrew Pinski OK, thanks. Richard > --- > gcc/testsuite/gcc.target/aarch64/movk.c

[Bug fortran/100651] [11/12/13/14 Regression] Weird memory corruption with multiple triggers

2023-11-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

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

[pushed] wwwdocs: readings: Update OpenPOWER link

2023-11-25 Thread Gerald Pfeifer
This is the original patch and a follow-up to fix an embarrassing markup mistake. Gerald commit 17418f262b17680a07a4493631aa0743b5fe9780 Author: Gerald Pfeifer Date: Fri Nov 24 09:33:26 2023 +0100 readings: Update OpenPOWER link The original link now redirects to a very

[PATCH] Emit funcall external declarations only if actually used.

2023-11-25 Thread Jose E. Marchesi
There are many places in GCC where alternative local sequences are tried in order to determine what is the cheapest or best alternative to use in the current target. When any of these sequences involve a libcall, the current implementation of emit_library_call_value_1 introduce a side-effect

[Bug target/111408] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since r14-2866-ge68a31549d9

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

[Bug target/109977] [14 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%d' at -Og since r14-215-g85279b0bddc1c5

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

[Bug target/111408] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu since r14-2866-ge68a31549d9

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111408 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9866c98e1015d98b8fc346d7cf73a0070cce5f69 commit r14-5841-g9866c98e1015d98b8fc346d7cf73a0070cce5f69 Author: Jakub Jelinek Date:

[Bug target/109977] [14 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%d' at -Og since r14-215-g85279b0bddc1c5

2023-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109977 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a6a43a3b763816fec7c4eec6ae7be5b263dff340 commit r14-5840-ga6a43a3b763816fec7c4eec6ae7be5b263dff340 Author: Jakub Jelinek Date:

Re: [PATCH] i386: Fix up *jcc_bt*_mask{,_1} [PR111408]

2023-11-25 Thread Uros Bizjak
On Sat, Nov 25, 2023 at 8:19 AM Jakub Jelinek wrote: > > Hi! > > The following testcase is miscompiled in GCC 14 because the > *jcc_bt_mask and *jcc_bt_mask_1 patterns have just > one argument in (match_operator 0 "bt_comparison_operator" [...]) > but as bt_comparison_operator is eq,ne, we need

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2023-11-25 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[PATCH] RISC-V: Remove incorrect function gate gather_scatter_valid_offset_mode_p

2023-11-25 Thread Juzhe-Zhong
Come back to review the codes of gather/scatter, notice gather_scatter_valid_offset_mode_p looks odd. gather_scatter_valid_offset_mode_p is supposed to block vluxei64/vsuxei64 in RV32 system. However, it failed to do that since it is passing data_mode instead of index mode: