[Bug tree-optimization/112392] `a == nonnegative ? a : abs` -> abs

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

[Bug tree-optimization/112392] New: `a == nonnegative ? a : abs` -> abs

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112392 Bug ID: 112392 Summary: `a == nonnegative ? a : abs` -> abs Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug c/112391] inline-asm documentation wording for implicitly volatile can be cause confusion

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

[Bug c/112391] New: inline-asm documentation wording for implicitly volatile can be cause confusion

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112391 Bug ID: 112391 Summary: inline-asm documentation wording for implicitly volatile can be cause confusion Product: gcc Version: 14.0 Status: UNCONFIRMED

[Committed] RISC-V: Fix bug of vlds attribute

2023-11-04 Thread Juzhe-Zhong
This issue is noticed when support strided load/store auto-vectorization. Commit it as it is obvious. gcc/ChangeLog: * config/riscv/vector.md: Fix bug. --- gcc/config/riscv/vector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/riscv/vector.md

[Bug tree-optimization/112390] New: `!(A & INT_MIN) & !!(A & INT_MAX)` is not optimized to `A > 0`

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112390 Bug ID: 112390 Summary: `!(A & INT_MIN) & !!(A & INT_MAX)` is not optimized to `A > 0` Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/112389] `(x | z) < (x >> y)` should be optimized to 0

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112389 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/112389] New: `(x | z) < (x >> y)` should be optimized to 0

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112389 Bug ID: 112389 Summary: `(x | z) < (x >> y)` should be optimized to 0 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/112388] New: clear_cache vs cores with different cache line sizes

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112388 Bug ID: 112388 Summary: clear_cache vs cores with different cache line sizes Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug c/112387] New: RISC-V: failed to SLP INT64 gather load

2023-11-04 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112387 Bug ID: 112387 Summary: RISC-V: failed to SLP INT64 gather load Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/112386] New: `CMP0 && CMP1 && CMP2` is better optimized than `CMP0 & CMP1 & CMP2`

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112386 Bug ID: 112386 Summary: `CMP0 && CMP1 && CMP2` is better optimized than `CMP0 & CMP1 & CMP2` Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/112385] `(2 >> a) ^ (5 >> a)` is not optimized to `7 >> a` is 2 and 5 differ in signedness

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112385 --- Comment #2 from Andrew Pinski --- We can even do it if we know the unsigned value does not have the last bit set. That is: ``` int f(int a, unsigned b, int c) { b &= 0x; return (c >> a) ^ (b >> a); } ``` Note clang(LLVM) does not

[Bug libbacktrace/112263] [C++23] std::stacktrace does not identify symbols in shared library

2023-11-04 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112263 --- Comment #11 from Ian Lance Taylor --- vincenzo: the patch in the linked e-mail is the complete diff. There are no changes to generated Makefile.in files.

[Bug tree-optimization/112385] `(2 >> a) ^ (5 >> a)` is not optimized to `7 >> a` is 2 and 5 differ in signedness

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112385 --- Comment #1 from Andrew Pinski --- Note a more complex case like: ``` int f(int a, unsigned b, int c) { c &= 0x; return (c >> a) ^ (b >> a); } ``` Should also be optimized to: ``` int f(int a, unsigned b, int c) { c &= 0x;

[Bug tree-optimization/112385] New: `(2 >> a) ^ (5 >> a)` is not optimized to `7 >> a` is 2 and 5 differ in signedness

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112385 Bug ID: 112385 Summary: `(2 >> a) ^ (5 >> a)` is not optimized to `7 >> a` is 2 and 5 differ in signedness Product: gcc Version: 14.0 Status: UNCONFIRMED

Re: [PATCH] Fix PR ada/111909 On Darwin, determine filesystem case sensitivity at runtime

2023-11-04 Thread Iain Sandoe
Hi Folks > On 4 Nov 2023, at 17:02, Simon Wright wrote: > > On 3 Nov 2023, at 08:39, Arnaud Charlet wrote: >> So without changing fundamentally the model, you can't decide dynamically >> for the whole >> system. Making the choice based on the current directory is pretty random, >> since the

[Bug target/85592] __builtin_cpu_is and __builtin_cpu_supports should be supported for aarch64

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85592 --- Comment #2 from Andrew Pinski --- clang support: https://reviews.llvm.org/D153153

[Bug testsuite/77635] load/store pair testcases need to use -mcpu=generic

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

[Bug target/112384] a non-constant vec dup should be improved

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112384 --- Comment #1 from Andrew Pinski --- Oh f2 just goes to memory. Produces: ``` and x0, x0, 3 str q0, [sp] ldr s0, [sp, x0, lsl 2] dup v0.4s, v0.s[0] ``` Now clang(LLVM) produces: ``` mov

[Bug target/112384] New: a non-constant vec dup should be improved

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112384 Bug ID: 112384 Summary: a non-constant vec dup should be improved Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/111907] ICE: in curr_insn_transform, at lra-constraints.cc:4294 unable to generate reloads for: {*andnottf3} with -mavx512f -mno-evex512

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111907 Andrew Pinski changed: What|Removed |Added CC||haochen.jiang at intel dot com ---

gcc-13-20231104 is now available

2023-11-04 Thread GCC Administrator via Gcc
Snapshot gcc-13-20231104 is now available on https://gcc.gnu.org/pub/gcc/snapshots/13-20231104/ and on various mirrors, see http://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/111907] ICE: in curr_insn_transform, at lra-constraints.cc:4294 unable to generate reloads for: {*andnottf3} with -mavx512f -mno-evex512

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

[Bug target/111907] ICE: in curr_insn_transform, at lra-constraints.cc:4294 unable to generate reloads for: {*andnottf3} with -mavx512f -mno-evex512

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111907 Andrew Pinski changed: What|Removed |Added Summary|ICE: in |ICE: in

[Bug middle-end/112383] New: `a&=CST; (a) != a` and `((~b) & a) & CST != 0`

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112383 Bug ID: 112383 Summary: `a&=CST; (a) != a` and `((~b) & a) & CST != 0` Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug tree-optimization/112093] (X & Y) < X (unsigned) and (X & Y) != X should produce the same code

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112093 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/112382] New: `(a) != a` where a is known to have one known bit set is not optimized to ((~b)>>shift) & 1

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112382 Bug ID: 112382 Summary: `(a) != a` where a is known to have one known bit set is not optimized to ((~b)>>shift) & 1 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/110903] [12/13 Regression] Dead Code Elimination Regression since r12-4526-gd8edfadfc7a979

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110903 Andrew Pinski changed: What|Removed |Added Target Milestone|12.4|14.0 --- Comment #7 from Andrew Pinski

[Bug tree-optimization/110903] [12/13 Regression] Dead Code Elimination Regression

2023-11-04 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110903 --- Comment #6 from Thomas Koenig --- The original regression was caused by r12-4526-gd8edfadfc7a979 . d8edfadfc7a9795b65177a50ce44fd348858e844 is the first bad commit commit d8edfadfc7a9795b65177a50ce44fd348858e844 Author: Aldy Hernandez

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

2023-11-04 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 --- Comment #5 from Maciej W. Rozycki --- Hmm, this seems awkward to me. It won't work AFAICT with the usual native bootstrap environment, where you just run: $ /path/to/configure && make bootstrap and it won't work where you have an old

[Bug target/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

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

[Bug target/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #6 from Kostadin --- (In reply to Andrew Pinski from comment #5) > (In reply to Kostadin from comment #4) > > This is the first commit where it doesn't ICE. I reverted it from master, > > and it did start ICEing again. > > Does the

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg) since r14-4612-g6decda1a35be57

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-11-04 Ever confirmed|0

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg) since r14-4612-g6decda1a35be57

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #6) > bisect says: > > commit r14-4612-g6decda1a35be57 > Author: Richard Biener > Date: Thu Oct 12 11:34:57 2023 +0200 > > tree-optimization/111779 - Handle some

[Bug target/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #5 from Andrew Pinski --- (In reply to Kostadin from comment #4) > This is the first commit where it doesn't ICE. I reverted it from master, > and it did start ICEing again. Does the ICE start at f08ca5903c7 ? If so this was the

[Bug c/111810] rtlFE: nested inline RTL function cause ICE

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

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg) since r14-4612-g6decda1a35be57

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

[Bug target/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #4 from Kostadin --- This is the first commit where it doesn't ICE. I reverted it from master, and it did start ICEing again. commit r14-5001-g8111b5c23bd14f Author: Haochen Gui Date: Mon Oct 30 10:59:51 2023 +0800 Expand:

[Bug c/111816] [gimple FE] ICE with _GIMPLE(ssa) and 2 returns

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

[Bug c/111809] gimpleFE: unreferenced inline function with _GIMPLE(ssa) definition causes ICE

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

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

2023-11-04 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 CC||gaius at gcc dot gnu.org --- Comment #4

[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-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #10 from Andrew Pinski

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861 since r6-6830-g20a0c6f9bdbd78

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

[Bug bootstrap/112379] [14 Regression] bootstrap failure on --enable-checking=release: gcc/gcc-urlifier.cc:100:1: error: get_url_suffix_for_quoted_text() defined but not used [-Werror=unused-function]

2023-11-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112379 Sergei Trofimovich changed: What|Removed |Added Resolution|--- |FIXED

[Bug bootstrap/112379] [14 Regression] bootstrap failure on --enable-checking=release: gcc/gcc-urlifier.cc:100:1: error: get_url_suffix_for_quoted_text() defined but not used [-Werror=unused-function]

2023-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112379 --- Comment #2 from CVS Commits --- The master branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:9eef85a0276a0a118b76ce2da00861b75e9a3012 commit r14-5125-g9eef85a0276a0a118b76ce2da00861b75e9a3012 Author: Sergei Trofimovich

Re: Advice on how to disable floating point instructions

2023-11-04 Thread Andrew Pinski via Gcc
On Sat, Nov 4, 2023 at 9:41 AM Enrico via Gcc wrote: > > Hello, > > > for a custom architecture I am working on, I would like to entirely disable > the usage of hardware floating point instructions in favor of library > methods on demand. > > I need advice on what is the best strategy to do this.

[Bug target/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

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

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg)

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #5 from Andrew Pinski --- ``` Trying 25, 31, 32 -> 34: 25: strict_low_part(r114:TI#0)=r102:QI REG_DEAD r102:QI 31: {r131:SI=r130:SI&0x1f800;clobber flags:CC;} REG_DEAD r130:SI REG_UNUSED flags:CC 32:

Re: [PATCH] tree-optimization: Add register pressure heuristics

2023-11-04 Thread Ajit Agarwal
Hello Richard: Below are the performance numbers on CPU 2017 benchmarks with and without register pressure changes for code sinking. INT Benchmarks: With register pressure code sinking changes: Estimated Estimated Base Base

[Bug rtl-optimization/112380] [14 regression] ICE when building Mesa (in combine, internal compiler error: in simplify_subreg)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #4 from Sam James --- (In reply to Sam James from comment #3) > might not be a 14 regression, I need to build older gccs with more checking ok, it is a 14 regression

Re: [PATCH] diagnostics: fix gcc-urlifier.cc bootstrap failure [PR112379]

2023-11-04 Thread David Malcolm
On Sat, 2023-11-04 at 16:23 +, Sergei Trofimovich wrote: > From: Sergei Trofimovich > > Without the change `./configure --enable-checking=release` bootstrap > fails as: > >     gcc/gcc-urlifier.cc:100:1: error: > 'get_url_suffix_for_quoted_text()' >     defined but not used

[Bug c++/112377] Implement -Walloc-size in c++

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

[Bug rtl-optimization/112381] [14 regression] ICE when building Mesa (in reload, internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #3 from Sam James --- (In reply to Sam James from comment #0) > Interestingly, it is the same source file as > in PR112380 (which still occurs on trunk). sorry, I lied here, just similar names and I skimmed

[Bug rtl-optimization/112381] [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #2 from Sam James --- ``` [...] In file included from ../mesa-23.2.1/src/util/u_debug.h:49, from ../mesa-23.2.1/src/util/format/u_format.h:35, from ../mesa-23.2.1/src/compiler/nir/nir.h:43,

[Bug rtl-optimization/112381] [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 --- Comment #1 from Sam James --- Created attachment 56507 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56507=edit reduced.i Attached reduced version. Not bothered cleaning it up b/c of that issue with it working on trunk. Needs gcc

[Bug rtl-optimization/112381] New: [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for)

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112381 Bug ID: 112381 Summary: [14 regression] ICE when building Mesa (internal compiler error: in lra_split_hard_reg_for) Product: gcc Version: 14.0 Status: UNCONFIRMED

Re: [PATCH] Fix PR ada/111909 On Darwin, determine filesystem case sensitivity at runtime

2023-11-04 Thread Simon Wright
On 3 Nov 2023, at 08:39, Arnaud Charlet wrote: > In addition to the non portable issues already mentioned, this change isn't > OK also > for other reasons. > > Basically this function is global and decides once for all on the case > sensitivity, while > the case sensitiviy is on a per

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target

Advice on how to disable floating point instructions

2023-11-04 Thread Enrico via Gcc
Hello, for a custom architecture I am working on, I would like to entirely disable the usage of hardware floating point instructions in favor of library methods on demand. I need advice on what is the best strategy to do this. My idea is to: - create a new flag (let's say -m[no-]float-insn or

[Bug tree-optimization/110903] [12/13 Regression] Dead Code Elimination Regression

2023-11-04 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110903 Thomas Koenig changed: What|Removed |Added Summary|[12/13/14 Regression] Dead |[12/13 Regression] Dead

[Bug bootstrap/112379] [14 Regression] bootstrap failure on --enable-checking=release: gcc/gcc-urlifier.cc:100:1: error: get_url_suffix_for_quoted_text() defined but not used [-Werror=unused-function]

2023-11-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112379 --- Comment #1 from Sergei Trofimovich --- Proposed trivial fix by marking helper as `ATTRIBUTE_UNUSED`: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/635194.html

[PATCH] diagnostics: fix gcc-urlifier.cc bootstrap failure [PR112379]

2023-11-04 Thread Sergei Trofimovich
From: Sergei Trofimovich Without the change `./configure --enable-checking=release` bootstrap fails as: gcc/gcc-urlifier.cc:100:1: error: 'get_url_suffix_for_quoted_text()' defined but not used [-Werror=unused-function] This happens because the helper is used only in `ASSERT`

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #3 from Sam James --- might not be a 14 regression, I need to build older gccs with more checking

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #2 from Sam James --- reduced: ``` enum { TGSI_FILE_NULL }; struct ureg_src { unsigned File : 4; unsigned : 2; unsigned : 2; unsigned : 2; unsigned : 1; unsigned IndirectFile : 4; unsigned IndirectSwizzle : 2; int :

[Bug c/60846] Add 128-bit integer types for general use on 32-bit/64-bit CPUs

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

[Bug fortran/97245] ASSOCIATED intrinsic does not recognize a pointer variable the second time it is used

2023-11-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97245 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |13.3 Resolution|---

[Bug fortran/97245] ASSOCIATED intrinsic does not recognize a pointer variable the second time it is used

2023-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97245 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e6ea74b68c5904446da6050751fde97d02549d1f commit r13-8002-ge6ea74b68c5904446da6050751fde97d02549d1f Author: Harald Anlauf

[Bug rtl-optimization/112380] [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380 --- Comment #1 from Sam James --- I'll try reduce it now.

[Bug rtl-optimization/112380] New: [14 regression] ICE when building mesa

2023-11-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
grind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --with-build-config='bootstrap-O3 bootstrap-lto bootstrap-cet' Thread model: posix Supported LTO compression algor

[Bug target/112368] Darwin failures for avx256_move_by_pieces and avx256_store_by_pieces

2023-11-04 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112368 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |RESOLVED

[Bug bootstrap/112379] New: [14 Regression] bootstrap failure on --enable-checking=release: gcc/gcc-urlifier.cc:100:1: error: get_url_suffix_for_quoted_text() defined but not used [-Werror=unused-func

2023-11-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
ompression algorithms: zlib gcc version 14.0.0 20231104 (experimental) (GCC)

[Bug analyzer/112378] Missing -fanalizer diagnostics with glibc under _GNU_SOURCE

2023-11-04 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112378 --- Comment #1 from Rimvydas (RJ) --- The -fanalyzer does not seem to handle glibc __CONST_SOCKADDR_ARG definitions with transparent_unions that are used under -D_GNU_SOURCE (__USE_GNU). Minimal reduced testcase: $ cat test_sockaddr.c struct

[Bug analyzer/112378] New: Missing -fanalizer diagnostics with glibc under _GNU_SOURCE

2023-11-04 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112378 Bug ID: 112378 Summary: Missing -fanalizer diagnostics with glibc under _GNU_SOURCE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/112349] ranges::max makes unnecessary copies

2023-11-04 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112349 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #2 from 康桓瑋

[Bug target/111930] aarch64: SME should be supported

2023-11-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111930 --- Comment #4 from Richard Sandiford --- (In reply to Xi Ruoyao from comment #3) > Note that now we have only 2 weeks before GCC 14 stage 1 ends. Yeah, I'm aware. :)

[Bug target/111930] aarch64: SME should be supported

2023-11-04 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111930 --- Comment #3 from Xi Ruoyao --- (In reply to Richard Sandiford from comment #1) > We're aiming to add SME and SME2 support in GCC 14, hopefully by the end of > the year. Note that now we have only 2 weeks before GCC 14 stage 1 ends.

[Bug c/98541] warning with -Wnonnull for array parameter with bound > 0

2023-11-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98541 uecker at gcc dot gnu.org changed: What|Removed |Added Known to fail||11.0 Resolution|---

[Bug c++/112377] Implement -Walloc-size in c++

2023-11-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112377 uecker at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/112377] Implement -Walloc-size in c++

2023-11-04 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112377 uecker at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-11-04

Re: Remove redundant partial specialization in _Nth_type

2023-11-04 Thread Jonathan Wakely
On Sat, 28 Oct 2023 at 14:15, Feng Jisen wrote: > > This patch remove a redundant partial specialization in class _Nth_type. Thanks for the patch, I've pushed it to trunk now. > > For the original metafunction _Nth_type code, > # 0 > template > struct _Nth_type<0, _Tp0, _Rest...> >

[committed] libstdc++: Use strerror_r in std::generic_category()::message(int) [PR110133]

2023-11-04 Thread Jonathan Wakely
Tested x86_64-linux. Pushed to trunk. Probably worth backporting after some time on trunk. -- >8 -- Use strerror_r instead of strerror when available, due to the latter not being thread-safe. This is complicated by Glibc providing a GNU-specific strerror_r which is not compatible with POSIX

[Bug libstdc++/110133] System error message should ideally use strerror_r over strerror

2023-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110133 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:51f94778b45514992a716b0b2d7a87244e6f0018 commit r14-5123-g51f94778b45514992a716b0b2d7a87244e6f0018 Author: Jonathan Wakely

[committed] libstdc++: Replace "_N" in examples of naming conventions

2023-11-04 Thread Jonathan Wakely
Pushed to trunk. -- >8 -- The name "_N" is listed as a reserved name on Solaris, so we shouldn't use it as an example of our naming conventions. libstdc++-v3/ChangeLog: * doc/xml/manual/appendix_contributing.xml: Replace example that uses a BADNAME. *

[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-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 --- Comment #9 from Jonathan Wakely --- (In reply to Patrick Palka from comment #5) > I can't reproduce any of these testsuite failures on trunk with x86_64 > -m32... could you provide a preprocessed source file perhaps? The libstdc++

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #21 from David Binderman --- (In reply to Martin Uecker from comment #16) > I agree that the C++ should have this warning as well, although it seems > less important there. This would be an enhancement request for the C++ FE. See

[Bug c++/112377] New: Implement -Walloc-size in c++

2023-11-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112377 Bug ID: 112377 Summary: Implement -Walloc-size in c++ Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[committed] openmp: Add omp::decl support for C2X

2023-11-04 Thread Jakub Jelinek
Hi! This patch adds omp::decl support which has been added recently for C++ also to C. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. 2023-11-04 Jakub Jelinek * c-parser.h (c_maybe_parse_omp_decl): Declare. * c-parser.cc (struct c_parser): Add

[committed] openmp: Add support for omp::directive and omp::sequence attributes in C2X

2023-11-04 Thread Jakub Jelinek
Hi! The following patch adds support for attribute syntax which we have in C++11 and above since GCC 12 also for C, where OpenMP standard is going to add it in OpenMP 6.0. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. 2023-11-04 Jakub Jelinek gcc/c/ *

Re: [PATCH] Fortran: Fix generate_error library function fnspec

2023-11-04 Thread Paul Richard Thomas
Hi Martin, This looks to be 'obvious' and is certainly OK for mainline. Backport if you wish. Thanks Paul On Fri, 3 Nov 2023 at 12:54, Martin Jambor wrote: > Hi, > > when developing an otherwise unrelated patch I've discovered that the > fnspec for the Fortran library function

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

2023-11-04 Thread waffl3x
I'm unfortunately going down a rabbit hole again. --function.h:608 ``` /* If pointers to member functions use the least significant bit to indicate whether a function is virtual, ensure a pointer to this function will have that bit clear. */ #define MINIMUM_METHOD_BOUNDARY \

[Bug testsuite/112376] [14 Regression] gcc.dg/tree-ssa/ssa-dom-thread-7.c was not adjusted for aarch64 case

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

[Bug testsuite/112376] New: [14 Regression] gcc.dg/tree-ssa/ssa-dom-thread-7.c was not adjusted for aarch64 case

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112376 Bug ID: 112376 Summary: [14 Regression] gcc.dg/tree-ssa/ssa-dom-thread-7.c was not adjusted for aarch64 case Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/112375] [14 Regression] vget_set_lane_1.c fails

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112375 --- Comment #2 from Andrew Pinski --- This simple patch fixes the issue but I have not tested it yet, basically it moves the ins case before the zip: ``` diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc index

[Bug target/112375] [14 Regression] vget_set_lane_1.c fails

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

[Bug target/112375] New: vget_set_lane_1.c fails

2023-11-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112375 Bug ID: 112375 Summary: vget_set_lane_1.c fails Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3

[Bug tree-optimization/112272] suboptimal zero-initialization of struct of mixed pointer and integer types

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