[pushed] Darwin, powerpc: Fix bootstrap.

2024-01-12 Thread Iain Sandoe
Tested on powerpc-darwin9, pushed to trunk, thanks, Iain --- 8< --- Recent changes to the member names of the diagnostics class missed one case in the Darwin PowerPC host code. Fixed thus. gcc/ChangeLog: * config/rs6000/host-darwin.cc (segv_handler): Use the revised

[Bug rtl-optimization/110079] [11/12/13/14 Regression] ICE with -freorder-blocks-and-partition and inline-asm goto

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110079 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug c++/110065] [11/12/13/14 Regression] [C++20/2b] auto return type in template argument causes ICE, also accepts-invalid

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110065 Richard Biener changed: What|Removed |Added Priority|P3 |P2

GCN: Enable effective-target 'vect_early_break', 'vect_early_break_hw'

2024-01-12 Thread Thomas Schwinge
Hi! OK to push the attached "GCN: Enable effective-target 'vect_early_break', 'vect_early_break_hw'"? ("The relevant test cases are all-PASS with just [two] exceptions, to be looked into individually, later on." I'm not currently planning to look into that.) Grüße Thomas -

[Bug middle-end/113354] Regression/14: unable to find a register to spill on mips

2024-01-12 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113354 --- Comment #1 from YunQiang Su --- In file included from ../../../../../libstdc++-v3/src/c++17/floating_from_chars.cc:86: ../../../../../libstdc++-v3/src/c++17/fast_float/fast_float.h: In function ‘std::from_chars_result

Re: [PATCH 2/2] RISC-V/testsuite: Also verify if-conversion runs for pr105314.c

2024-01-12 Thread Maciej W. Rozycki
On Fri, 12 Jan 2024, Andrew Pinski wrote: > > Verify that if-conversion succeeded through noce_try_store_flag_mask, as > > per PR rtl-optimization/105314, tightening the test case and making it > > explicit. > > > > gcc/testsuite/ > > * gcc.target/riscv/pr105314.c: Scan the RTL

[Bug c++/110031] [11/12/13/14 Regression] ICE with deprecated attribute and NTTP and diagnostic for deprecated printed out so much

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110031 Richard Biener changed: What|Removed |Added Priority|P4 |P2 Keywords|

[Bug c++/110031] [11/12/13/14 Regression] ICE with deprecated attribute and NTTP and diagnostic for deprecated printed out so much

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110031 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Keywords|

[Bug c++/110006] [11/12/13/14 Regression] friend function template with constraint doesn't match existing declaration

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110006 Richard Biener changed: What|Removed |Added Last reconfirmed|2023-07-10 00:00:00 |2024-1-12 Priority|P3

[Bug tree-optimization/109960] [11/12/13/14 Regression] missing combining of `(a&1) != 0 || (a&2)!=0` into `(a&3)!=0`

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109960 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/109943] [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-6834-g41ade3399bd

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109943 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #6 from Richard Biener

[Bug tree-optimization/109943] [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-6834-g41ade3399bd

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109943 --- Comment #5 from Richard Biener --- With the __builtin_unreachable present (thus g >= 0) we simplify (int)(char)d to d & 255 which causes the VN difference: Value numbering stmt = _9 = (int) _8; +d.4_7 is available for d.4_7 +_2 is

Re: [PATCH] c++, demangle: Implement https://github.com/itanium-cxx-abi/cxx-abi/issues/148 non-proposal

2024-01-12 Thread Jason Merrill
On 1/12/24 07:45, Jakub Jelinek wrote: Hi! The following patch attempts to implement what apparently clang++ implemented for explicit object member function mangling, but nobody actually proposed in patch form in https://github.com/itanium-cxx-abi/cxx-abi/issues/148 Ok for trunk if it passes

Re: [PATCH] Add support for function attributes and variable attributes

2024-01-12 Thread Guillaume Gomez
Just realized that you were asking for the patch I forgot to join... Here it is. Le ven. 12 janv. 2024 à 11:09, Guillaume Gomez a écrit : > > > It sounds like the patch you have locally is ready, but it has some > > nontrivial changes compared to the last version you posted to the list. > >

[Bug c++/110065] [11/12/13/14 Regression] [C++20/2b] auto return type in template argument causes ICE, also accepts-invalid

2024-01-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110065 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c/108476] Please turn -Wreturn-type on by default for C

2024-01-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108476 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5

[Bug c/89072] -Wall -Werror should be defaults

2024-01-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/109925] [11/12/13/14 Regression] Wrong code at -O2 on x86_64-linux-gnu since GCC-12

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109925 Richard Biener changed: What|Removed |Added Priority|P3 |P2

GCC 14.0.1 Status Report (2024-01-12), Stage 4 in effect now

2024-01-12 Thread Richard Biener via Gcc
Status == The GCC development branch which will become GCC 14 is now in regression and documentation fixes only mode (Stage 4). Please concentrate now on fixing regressions from GCC 13 and earlier. GCC 14.1 will be released when we reach the milestone of zero P1 regressions (note not all

GCC 14.0.1 Status Report (2024-01-12), Stage 4 in effect now

2024-01-12 Thread Richard Biener
Status == The GCC development branch which will become GCC 14 is now in regression and documentation fixes only mode (Stage 4). Please concentrate now on fixing regressions from GCC 13 and earlier. GCC 14.1 will be released when we reach the milestone of zero P1 regressions (note not all

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

2024-01-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113182 --- Comment #21 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c05beab4ae240a593299c08ef8c775d91187a141 commit r14-7188-gc05beab4ae240a593299c08ef8c775d91187a141 Author: Jakub Jelinek Date:

[Bug tree-optimization/109893] [14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r14-160-gf828503eeb79ad1f1ada6db7deccc5abcc2f3ca3

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109893 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[patch,avr,applied] Fix PR107201 -nodevicelib not working for all devices.

2024-01-12 Thread Georg-Johann Lay
Since the advent of devices AVR*, the spec pattern mmcu=avr* does no more work to discriminate between devices and cores like avr51. This means -nodevicelib no more works for AVR* devices because that option is removed for mmcu=avr* (which were only cores in the old days). Instead of that

[PATCH] c++, demangle: Implement https://github.com/itanium-cxx-abi/cxx-abi/issues/148 non-proposal

2024-01-12 Thread Jakub Jelinek
Hi! The following patch attempts to implement what apparently clang++ implemented for explicit object member function mangling, but nobody actually proposed in patch form in https://github.com/itanium-cxx-abi/cxx-abi/issues/148 Ok for trunk if it passes full bootstrap/regtest? So far just

[Bug target/113196] [14 Regression] Failure to use ushll{,2}

2024-01-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113196 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[pushed] aarch64: Rework uxtl->zip optimisation [PR113196]

2024-01-12 Thread Richard Sandiford
g:f26f92b534f9 implemented unsigned extensions using ZIPs rather than UXTL{,2}, since the former has a higher throughput than the latter on amny cores. The optimisation worked by lowering directly to ZIP during expand, so that the zero input could be hoisted and shared. However, changing to ZIP

[Bug target/113196] [14 Regression] Failure to use ushll{,2}

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113196 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:74e3e839ab2d368413207455af2fdaaacc73842b commit r14-7187-g74e3e839ab2d368413207455af2fdaaacc73842b Author: Richard Sandiford

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

Re: [patch,avr,applied] PR target/112952 Fix attribute "io" et al. handling.

2024-01-12 Thread Georg-Johann Lay
Am 12.01.24 um 04:37 schrieb Jan-Benedict Glaw: On Thu, 2024-01-04 17:28:02 +0100, Georg-Johann Lay wrote: This fixes the avr-specific attributes io, io_low and address, that are all basically the same except that io and io_low imply assertions on allowed addressing modes. ---

[PATCH 2/2] aarch64: Use a global map to detect duplicated overloads [PR112989]

2024-01-12 Thread Richard Sandiford
As explained in the covering note to the previous patch, the fact that aarch64-sve-* is now used for multiple header files means that function_builder::add_overloaded_function now needs to use a global map to detect duplicated overload functions, instead of the member variable that it used

[PATCH 1/2] aarch64: Use a separate group for SME builtins [PR112989]

2024-01-12 Thread Richard Sandiford
The PR shows that we were registering the same overloaded SVE builtins twice. This was supposed to be prevented by function_builder::add_overloaded_function, which uses a map to detect whether a function of the same name has already been registered. add_overloaded_function then had some asserts

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:d76651d9170099de4d3bc3cbc3811d499018910b commit r14-7184-gd76651d9170099de4d3bc3cbc3811d499018910b Author: Richard Sandiford

[Bug target/112989] [14 Regression] GC ICE with C++, `#include ` and `-fsanitize=address`

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112989 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:81d309168b2a058d4c8ad5430abb56cfe1f82188 commit r14-7185-g81d309168b2a058d4c8ad5430abb56cfe1f82188 Author: Richard Sandiford

[Bug middle-end/113354] New: Regression/14: unable to find a register to spill on mips

2024-01-12 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113354 Bug ID: 113354 Summary: Regression/14: unable to find a register to spill on mips Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[PATCHv3] aarch64/expr: Use ccmp when the outer expression is used twice [PR100942]

2024-01-12 Thread Richard Sandiford
Andrew Pinski writes: > Ccmp is not used if the result of the and/ior is used by both > a GIMPLE_COND and a GIMPLE_ASSIGN. This improves the code generation > here by using ccmp in this case. > Two changes is required, first we need to allow the outer statement's > result be used more than once.

[Bug tree-optimization/113281] [14 Regression] Wrong code due to vectorization of shift reduction and missing promotions

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113281 --- Comment #11 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:0acb63670bf1058fce00a75bd318c40be3bfa222 commit r14-7183-g0acb63670bf1058fce00a75bd318c40be3bfa222 Author: Juzhe-Zhong Date: Fri Jan

[Bug target/113296] [14 Regression] SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto

2024-01-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2024-01-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 113296, which changed state. Bug 113296 Summary: [14 Regression] SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 What

[Bug target/113353] New: Wrong rounding in std::nearbyint when vectorized with -funsafe-math-optimizations on PPC

2024-01-12 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113353 Bug ID: 113353 Summary: Wrong rounding in std::nearbyint when vectorized with -funsafe-math-optimizations on PPC Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c/109828] [13/14 Regression] static compound literal with flexible array in initializer leads to invalid size and ICE

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109828 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/109823] [11/12/13/14 Regression] ICE with trailing return of decltype of a fold expression in nested generic variadic lambda

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109823 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #24 from Richard Biener --- (In reply to Jakub Jelinek from comment #23) > Couldn't we conditionalize that > if (!opt_for_fn (node->decl, optimize) > /* With -Og we do not want to perform IPA inlining of small >

Re: [PATCH] varasm: Fix up process_pending_assemble_externals [PR113182]

2024-01-12 Thread Richard Biener
On Fri, 12 Jan 2024, Jakub Jelinek wrote: > Hi! > > John reported that on HP-UX we no longer emit needed external libcalls. > > The problem is that we didn't strip name encoding when looking up > the identifiers in assemble_external_libcall and > process_pending_assemble_externals, while >

Re: [PATCH v2 2/2] LoongArch: When the code model is extreme, the symbol address is obtained through macro instructions regardless of the value of -mexplicit-relocs.

2024-01-12 Thread Xi Ruoyao
在 2024-01-12星期五的 09:46 +0800,chenglulu写道: > > I found an issue bootstrapping GCC with -mcmodel=extreme in BOOT_CFLAGS: > > we need a target hook to tell the generic code > > UNSPEC_LA_PCREL_64_PART{1,2} are just a wrapper around symbols, or we'll > > see millions lines of messages like > > > >

[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #18 from Richard

[Bug ada/113352] New: error: invalid prefix in selected component with overloaded subprogram.

2024-01-12 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113352 Bug ID: 113352 Summary: error: invalid prefix in selected component with overloaded subprogram. Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

Re: GSoC: Application for Rust Front-End Project at GCC

2024-01-12 Thread Thomas Schwinge
Hi Arpit! On 2024-01-11T08:15:28+0530, CS21B062 ARPIT GUPTA wrote: > Thank you for your email. But is there anyway I can start contributing. I > have worked upon similar ground before, and as such I am looking for a > summer undergrad internship. I wanted to build my profile by doing open >

[Bug tree-optimization/113137] [14 regression] Failed bootstrap with -O3 -march=znver2

2024-01-12 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113137 --- Comment #15 from Tamar Christina --- (In reply to David Binderman from comment #14) > (In reply to Tamar Christina from comment #13) > > Patch submitted > > Two weeks have elapsed and the patch doesn't seem to appear in git. > > Is it

Re: lambda coding style

2024-01-12 Thread Martin Jambor
Hi, On Thu, Jan 11 2024, Jason Merrill wrote: > On 1/11/24 12:48, Martin Jambor wrote: >> On Wed, Jan 10 2024, Jason Merrill via Gcc wrote: >>> What formatting style do we want for non-trivial lambdas in GCC sources? >>>I'm thinking the most consistent choice would be >>> >>> auto l = [&]

Re: [PATCH] strub: Only unbias stack point for SPARC_STACK_BOUNDARY_HACK [PR113100]

2024-01-12 Thread Alexandre Oliva
On Jan 12, 2024, "Kewen.Lin" wrote: >>> By checking PR112917, IMHO we should keep this unbiasing >>> guarded under SPARC_STACK_BOUNDARY_HACK (TARGET_ARCH64 && >>> TARGET_STACK_BIAS), similar to some existing code special >>> treating SPARC stack bias. >> >> I'm afraid this change will most

[Bug c++/109781] [11/12/13/14 Regression] erroneous error "lambda-expression in template parameter type" for tparam lambda returning a lambda

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109781 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #6 from Richard Biener

[Bug testsuite/109596] [14 Regression] Lots of guality testcase fails on x86_64 after r14-162-gcda246f8b421ba

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109596 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

Re: [PATCH] rs6000: New pass for replacement of adjacent lxv with lxvp.

2024-01-12 Thread Surya Kumari Jangala
Hi Ajit, I have taken a quick look at the patch and my comments are inlined: On 09/01/24 4:44 pm, Ajit Agarwal wrote: > Hello All: > > This pass is registered before ira rtl pass. > Bootstrapped and regtested for powerpc64-linux-gnu. > > No regressions for spec 2017 benchmarks and improvements

[Bug ipa/109770] [11/12/13/14 Regression] wrong(?) devirtualization

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109770 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Ping [PATCH] testsuite: Reduce gcc.dg/torture/inline-mem-cpy-1.c by 11 for simulators

2024-01-12 Thread Hans-Peter Nilsson
Ping. (Don't miss the gcc.dg/torture/inline-mem-cpy-1.c part.) On Mon, 1 Jan 2024, Hans-Peter Nilsson wrote: > Tested mmix-knuth-mmixware (where all torture-variants of > gcc.dg/torture/inline-mem-cpy-1.c now pass) and native > x86_64-pc-linux-gnu. Also stepped through the test for native, >

Re: [PATCH] libstdc++: Implement P2255R2 dangling checks for std::tuple [PR108822]

2024-01-12 Thread Jonathan Wakely
On Thu, 11 Jan 2024 at 22:17, Jonathan Wakely wrote: > > I'd like to commit this to trunk for GCC 14. Please take a look. > > -- >8 -- > > This is the last part of PR libstdc++/108822 implementing P2255R2, which > makes it ill-formed to create a std::tuple that would bind a reference > to a

[Bug testsuite/109705] [14 regression] gcc.dg/vect/pr25413a.c fails after r14-333-g6d4b59a9356ac4

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109705 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug c++/109692] [12/13/14 Regression] ICE on concept as default template parameter to iife lambda in fold expression in static member template function since r12-8110-ge2c7070ac77405

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109692 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Keywords|

[Bug ada/113351] New: Primitive renaming, error: too many arguments in call.

2024-01-12 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113351 Bug ID: 113351 Summary: Primitive renaming, error: too many arguments in call. Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/113346] [14 Regression] epiphany-elf build failure

2024-01-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113346 --- Comment #5 from Andrew Pinski --- "Lie to reload and it will have its revenge." --RTH I think this is true here

[Bug c++/109677] [11/12/13/14 Regression] Access control bypass for function template default argument brace initialization of private default constructor

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109677 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/109621] [11/12/13/14 Regression] GCC accepts invalid program with multiple using declarations

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109621 Richard Biener changed: What|Removed |Added Priority|P3 |P2

Re: [PATCH V3] RISC-V: Adjust scalar_to_vec cost

2024-01-12 Thread juzhe.zhong
VLA is a known issue for a long time.GCC doesn't have too much cse optimization forVLA vectors. It should be a big work to investigate what's going on.I think most cse optimization for precomputed result are vls loop. So I think as long as we can do a good job on cost model which pick appropriate

[Bug middle-end/109559] [12/13/14 Regression] Unexpected -Wmaybe-uninitialized warning when inlining with system header

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109559 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Ever

[Bug tree-optimization/113334] wrong code with _BitInt() shift at -O0

2024-01-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113334 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/113330] ICE: verify_gimple failed: conversion of register to a different size in 'view_convert_expr' with -O -fstack-check=generic and _BitInt()

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

[Bug tree-optimization/113323] ICE: tree check: expected none of vector_type, have vector_type in bitint_precision_kind, at gimple-lower-bitint.cc:131 with _BitInt()

2024-01-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113323 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/113316] during GIMPLE pass: bitintlower ICE: SIGSEGV in var_to_partition (tree-ssa-live.h:163) at -O with uninitialized _BitInt() function argument

2024-01-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113316 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/113346] [14 Regression] epiphany-elf build failure

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

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2024-01-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #23 from Jakub Jelinek --- Couldn't we conditionalize that if (!opt_for_fn (node->decl, optimize) /* With -Og we do not want to perform IPA inlining of small functions since there are no scalar cleanups

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Richard Biener changed: What|Removed |Added Target|s390|s390*-*-* Last

[Bug tree-optimization/113334] wrong code with _BitInt() shift at -O0

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113334 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c75579169eba269a7c339d80b5ac0239f36a58b3 commit r14-7182-gc75579169eba269a7c339d80b5ac0239f36a58b3 Author: Jakub Jelinek Date:

[Bug ada/113350] New: Class wide renaming primitive.

2024-01-12 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113350 Bug ID: 113350 Summary: Class wide renaming primitive. Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug tree-optimization/113330] ICE: verify_gimple failed: conversion of register to a different size in 'view_convert_expr' with -O -fstack-check=generic and _BitInt()

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113330 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4c08f0dde4c2a48931a61b84a00d5c16f4b0e291 commit r14-7181-g4c08f0dde4c2a48931a61b84a00d5c16f4b0e291 Author: Jakub Jelinek Date:

[Bug target/109302] [12/13/14 Regression] ICE in emit_move_insn, at expr.cc:4225

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109302 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/109302] [12/13/14 Regression] ICE in emit_move_insn, at expr.cc:4225

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109302 Richard Biener changed: What|Removed |Added Keywords|ice-on-valid-code |accepts-invalid --- Comment #5 from

[Bug tree-optimization/113323] ICE: tree check: expected none of vector_type, have vector_type in bitint_precision_kind, at gimple-lower-bitint.cc:131 with _BitInt()

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113323 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a2d66158541c0923620b044098bf66a73b51c463 commit r14-7180-ga2d66158541c0923620b044098bf66a73b51c463 Author: Jakub Jelinek Date:

[Bug tree-optimization/113316] during GIMPLE pass: bitintlower ICE: SIGSEGV in var_to_partition (tree-ssa-live.h:163) at -O with uninitialized _BitInt() function argument

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113316 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c1680bd2df187e06089b06ffe211c4abe4c440b0 commit r14-7179-gc1680bd2df187e06089b06ffe211c4abe4c440b0 Author: Jakub Jelinek Date:

Re: The macro STACK_BOUNDARY may overflow

2024-01-12 Thread Paul Iannetta via Gcc
On Sat, Mar 25, 2023 at 10:28:02AM -0600, Jeff Law via Gcc wrote: > On 3/24/23 07:48, Paul Iannetta via Gcc wrote: > > Hi, > > > > Currently, the macro STACK_BOUNDARY is defined as > > > >Macro: STACK_BOUNDARY > > Define this macro to the minimum alignment enforced by hardware for > >

[Bug target/113346] [14 Regression] epiphany-elf build failure

2024-01-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113346 --- Comment #3 from Andrew Pinski --- Note this is mentioned in https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642328.html : So I consider this port dead as it semi-randomly fails in reload due to unrelated changes earlier in the

[Bug fortran/108382] [12/13/14 Regression] Incorrect parsing when acc and omp coexist and -fopenmp -fopenacc is used.

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108382 Richard Biener changed: What|Removed |Added Known to work||11.4.0 Priority|P3

Re: [PATCH] Add support for function attributes and variable attributes

2024-01-12 Thread Guillaume Gomez
> It sounds like the patch you have locally is ready, but it has some > nontrivial changes compared to the last version you posted to the list. > Please post your latest version to the list. Sure! This patch adds the support for attributes on functions and variables. It does so by adding the

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

Re: [PATCH V3] RISC-V: Adjust scalar_to_vec cost

2024-01-12 Thread Robin Dapp
> Tested on both RV32/RV64 no regression, Ok for trunk ? Yes, thanks! Btw out of curiosity, did you see why we actually fail to optimize away the VLA loop? We should open a bug for that I suppose. Regards Robin

[Bug target/113346] [14 Regression] epiphany-elf build failure

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

[Bug c++/107168] [11/12/13/14 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

Re: [PATCH 2/2] RISC-V/testsuite: Also verify if-conversion runs for pr105314.c

2024-01-12 Thread Andrew Pinski
On Thu, Jan 11, 2024 at 3:37 PM Maciej W. Rozycki wrote: > > Verify that if-conversion succeeded through noce_try_store_flag_mask, as > per PR rtl-optimization/105314, tightening the test case and making it > explicit. > > gcc/testsuite/ > * gcc.target/riscv/pr105314.c: Scan the

[PATCH] varasm: Fix up process_pending_assemble_externals [PR113182]

2024-01-12 Thread Jakub Jelinek
Hi! John reported that on HP-UX we no longer emit needed external libcalls. The problem is that we didn't strip name encoding when looking up the identifiers in assemble_external_libcall and process_pending_assemble_externals, while assemble_name_resolve does that: const char *real_name =

[Bug target/113070] [14 regression] [AArch64] [PGO/LTO] Miscompilation of go compiler

2024-01-12 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113070 --- Comment #5 from Alex Coplan --- (In reply to Alex Coplan from comment #4) > So debugging the PGO/LTO failure of cactuBSSN (from SPEC CPU 2017) shows > that we can miss updating uses immediately following an stp insn in the case > that we

[Bug testsuite/106879] [13 regression] new test case gcc.dg/vect/bb-slp-layout-19.c fails

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106879 Richard Biener changed: What|Removed |Added Summary|[13/14 regression] new test |[13 regression] new test

[Bug c++/106760] [12/13/14 Regression] ICE: tree check: expected function_decl, have template_decl in get_fndecl_argument_location, at cp/call.cc:7801

2024-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106760 Richard Biener changed: What|Removed |Added Priority|P3 |P4

Re: [PATCH] lower-bitint: Fix up handling of unsigned INTEGER_CSTs operands with lots of 1s in the upper bits [PR113334]

2024-01-12 Thread Richard Biener
On Fri, 12 Jan 2024, Jakub Jelinek wrote: > Hi! > > For INTEGER_CST operands, the code decides if it should emit the whole > INTEGER_CST into memory, or if there are enough upper bits either all 0s > or all 1s to warrant an optimization, where we use memory for lower limbs > or even just an

[PATCH] lower-bitint: Fix up handling of unsigned INTEGER_CSTs operands with lots of 1s in the upper bits [PR113334]

2024-01-12 Thread Jakub Jelinek
Hi! For INTEGER_CST operands, the code decides if it should emit the whole INTEGER_CST into memory, or if there are enough upper bits either all 0s or all 1s to warrant an optimization, where we use memory for lower limbs or even just an INTEGER_CST for least significant limb and fill in the rest

Re: [PATCH] Fortran: annotations for DO CONCURRENT loops [PR113305]

2024-01-12 Thread Bernhard Reutner-Fischer
On Wed, 10 Jan 2024 23:24:22 +0100 Harald Anlauf wrote: > diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h > index 82f388c05f8..88502c1e3f0 100644 > --- a/gcc/fortran/gfortran.h > +++ b/gcc/fortran/gfortran.h > @@ -2926,6 +2926,10 @@ gfc_dt; > typedef struct gfc_forall_iterator > {

Re: [PATCH 1/2] RISC-V/testsuite: Widen coverage for pr105314.c

2024-01-12 Thread Kito Cheng
LGTM On Fri, Jan 12, 2024 at 7:36 AM Maciej W. Rozycki wrote: > > The optimization levels pr105314.c is iterated over are needlessly > overridden with "-O2", limiting the coverage of the test case to that > level, perhaps with additional options the original optimization level > has been

Re: [PATCH 2/2] RISC-V/testsuite: Also verify if-conversion runs for pr105314.c

2024-01-12 Thread Kito Cheng
LGTM On Fri, Jan 12, 2024 at 7:37 AM Maciej W. Rozycki wrote: > > Verify that if-conversion succeeded through noce_try_store_flag_mask, as > per PR rtl-optimization/105314, tightening the test case and making it > explicit. > > gcc/testsuite/ > * gcc.target/riscv/pr105314.c: Scan

[Bug sanitizer/113284] [14 regression] many failures in asan after r14-6946-ge66dc37b299cac

2024-01-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113284 --- Comment #8 from GCC Commits --- The master branch has been updated by Ilya Leoshkevich : https://gcc.gnu.org/g:d8c1361220ba7617adf4ccc396499f6393ec223e commit r14-7176-gd8c1361220ba7617adf4ccc396499f6393ec223e Author: Ilya Leoshkevich

[committed] testsuite: Fix up preprocessor conditions in bitint-31.c test

2024-01-12 Thread Jakub Jelinek
Hi! Andre reported on IRC that this test has weird preprocessor conditions, obviously the intent was to test whether corresponding __*_MANT_DIG__ is equal to the expected value like earlier in the function definitions, but somehow I've ended up with a comma expression instead, which was always

<    1   2   3   4   >