Re: [PATCH] Take register pressure into account for vec_construct/scalar_to_vec when the components are not loaded from memory.

2023-12-03 Thread Uros Bizjak
On Mon, Dec 4, 2023 at 8:11 AM Hongtao Liu wrote: > > On Fri, Dec 1, 2023 at 10:26 PM Richard Biener > wrote: > > > > On Fri, Dec 1, 2023 at 3:39 AM liuhongt wrote: > > > > > > > Hmm, I would suggest you put reg_needed into the class and accumulate > > > > over all vec_construct, with your

Re: [PATCH] i386: Fix rtl checking ICE in ix86_elim_entry_set_got [PR112837]

2023-12-03 Thread Uros Bizjak
On Mon, Dec 4, 2023 at 8:41 AM Jakub Jelinek wrote: > > Hi! > > The following testcase ICEs with RTL checking, because it sets if > XINT (SET_SRC (set), 1) is UNSPEC_SET_GOT without checking if SET_SRC (set) > is actually an UNSPEC, so any time we see any other insn with PARALLEL > and a SET in

Re: [PATCH] i386: Fix up signbit2 expander [PR112816]

2023-12-03 Thread Uros Bizjak
On Mon, Dec 4, 2023 at 8:35 AM Jakub Jelinek wrote: > > Hi! > > The following testcase ICEs, because the signbit2 expander uses an > explicit SUBREG in the pattern around match_operand with register_operand > predicate. If we are unlucky enough that expansion tries to expand it > with some

[PATCH] RISC-V: Check if zcd conflicts with zcmt and zcmp

2023-12-03 Thread Kito Cheng
gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_subset_list::check_conflict_ext): Check zcd conflicts with zcmt and zcmp. gcc/testsuite/ChangeLog: * gcc.target/riscv/arch-29.c: New test. * gcc.target/riscv/arch-30.c: New test. ---

Re: [PATCH 2/6] c: Turn int-conversion warnings into permerrors

2023-12-03 Thread Kito Cheng
RISC-V newlib patch send, one for libgloss and another one for libm, the libm issue is because we don't have right long double support, however newlib has supported that few months ago, and porting effort is minor, so I just port that to fix the issue :)

[PATCH] i386: Fix rtl checking ICE in ix86_elim_entry_set_got [PR112837]

2023-12-03 Thread Jakub Jelinek
Hi! The following testcase ICEs with RTL checking, because it sets if XINT (SET_SRC (set), 1) is UNSPEC_SET_GOT without checking if SET_SRC (set) is actually an UNSPEC, so any time we see any other insn with PARALLEL and a SET in it which is not an UNSPEC we ICE during RTL checking or access

[PATCH] extend.texi: Mark builtin arguments with @var{...}

2023-12-03 Thread Jakub Jelinek
On Fri, Dec 01, 2023 at 10:43:57AM -0700, Sandra Loosemore wrote: > On 12/1/23 10:33, Jakub Jelinek wrote: > > Shall we tweak that somehow? If the argument names are unimportant, perhaps > > it is fine to leave that out, but shouldn't we always use @var{...} around > > the parameter names when

[PATCH] i386: Fix up signbit2 expander [PR112816]

2023-12-03 Thread Jakub Jelinek
Hi! The following testcase ICEs, because the signbit2 expander uses an explicit SUBREG in the pattern around match_operand with register_operand predicate. If we are unlucky enough that expansion tries to expand it with some SUBREG as operands[1], we have two nested SUBREGs in the IL, which is

Re: Re: [PATCH v2] RISC-V: Update crypto vector ISA info with latest spec

2023-12-03 Thread Fei Gao
Committed! Thanks Kito. BR,  Fei On 2023-12-04 15:01  Kito Cheng wrote: > >LGTM again :) > >On Mon, Dec 4, 2023 at 2:44 PM Feng Wang wrote: >> >> Rebase and resend this patch due to it was not added into patchwork >> before. Kito had already reviewed it. Please refer to >>

Re: [PATCH] Take register pressure into account for vec_construct/scalar_to_vec when the components are not loaded from memory.

2023-12-03 Thread Hongtao Liu
On Fri, Dec 1, 2023 at 10:26 PM Richard Biener wrote: > > On Fri, Dec 1, 2023 at 3:39 AM liuhongt wrote: > > > > > Hmm, I would suggest you put reg_needed into the class and accumulate > > > over all vec_construct, with your patch you pessimize a single v32qi > > > over two separate v16qi for

[Bug middle-end/112830] internal compiler error: in convert_memory_address_addr_space_1, at explow.cc:302

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112830 --- Comment #3 from Richard Biener --- I think the assert can be relaxed to make truncation OK.

[Bug web/108473] bugzilla see also should support gitlab.com URLs

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

[Bug tree-optimization/112827] [14 Regression] ICE on valid code at -O1 on x86_64-linux-gnu: Segmentation fault

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

[Bug tree-optimization/112818] [14 regression] ICE when building accel-ppp (error: conversion of register to a different size in ‘view_convert_expr’, verify_gimple failed)

2023-12-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112818 --- Comment #5 from Sam James --- that's in my bisect range, yeah, got a few steps to go..

[PATCH] Support udot_prodv*qi with emulation sdot_prodv*hi

2023-12-03 Thread liuhongt
Like r14-5990-gb4a7c1c8c59d19, but the patch optimized for udot_prod. Since (zero_extend) (unsigned char)-> int is equal to (zero_extend)(unsigned char) -> short + (sign_extend) (short) -> int Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. Ready push to trunk. It should be safe to

Re: [PATCH v2] RISC-V: Update crypto vector ISA info with latest spec

2023-12-03 Thread Kito Cheng
LGTM again :) On Mon, Dec 4, 2023 at 2:44 PM Feng Wang wrote: > > Rebase and resend this patch due to it was not added into patchwork > before. Kito had already reviewed it. Please refer to > https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg327499.html > > This patch add the Zvkb subset

Re: Re: [PATCH 1/4] [RISC-V] prefer Zicond primitive semantics to SFB

2023-12-03 Thread Fei Gao
Committed.  Thanks Kito and Jeff. BR Fei On 2023-11-28 13:03  Jeff Law wrote: > > > >On 11/27/23 20:09, Kito Cheng wrote: >> Personally I don't like to play with the pattern order to tweak the >> code gen since it kinda introduces implicit relation/rule here, but I >> guess the only way to

[Bug middle-end/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/112820] vtable not emitted correctly from module when compiling with -g

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112820 Richard Biener changed: What|Removed |Added Keywords||documentation, |

[Bug tree-optimization/112819] rearrange branches to improve code generation

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112819 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/112818] [14 regression] ICE when building accel-ppp (error: conversion of register to a different size in ‘view_convert_expr’, verify_gimple failed)

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112818 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug other/112836] gcc fails when job control is used

2023-12-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112836 --- Comment #2 from Sam James --- Thanks for chasing this down. This has been driving me nuts for a while but I hadn't dug into it yet.

[Bug c/112841] typeof_unqual is not removing qualifiers from the element type of array types

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112841 --- Comment #2 from Andrew Pinski --- Note clang also gets this "wrong". You can see that from: ``` const char* const animals[] = { "aardvark", "bluejay", "catte", }; int main (int argc, char* argv[]) { const char* animals2_array1[3];

[Bug tree-optimization/112814] `Plus , PHI>` is not optimized to just PLUS

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112814 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/112813] [14 Regression] RISCV ICE: vsetvl pass: in merge at config/riscv/riscv-vsetvl.cc:1968 on rv32gcv_zvl256b

2023-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112813 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[PATCH v2] RISC-V: Update crypto vector ISA info with latest spec

2023-12-03 Thread Feng Wang
Rebase and resend this patch due to it was not added into patchwork before. Kito had already reviewed it. Please refer to https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg327499.html This patch add the Zvkb subset of crypto vector extension. The corresponding test cases have aslo been

[Bug c/112841] typeof_unqual is not removing qualifiers from the element type of array types

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

[committed] RISC-V: Add sifive-x280 to -mcpu

2023-12-03 Thread Kito Cheng
x280 is one of SiFive core, and it release for a while, also upstream LLVM already support that. [1] https://www.sifive.com/cores/intelligence-x280 gcc/ChangeLog: * config/riscv/riscv-cores.def: Add sifive-x280. * doc/invoke.texi (RISC-V Options): Add sifive-x280

[committed] RISC-V: Refactor riscv_implied_info_t to make it able to handle conditional implication [NFC]

2023-12-03 Thread Kito Cheng
RISC-V ISA implication rules become little bit complicated than before, it may come with condition, so this commit extend the capability of riscv_implied_info_t, also make it more...C++ize. gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_implied_predicator_t): New.

[committed] RISC-V: Refine riscv_subset_list::parse [NFC]

2023-12-03 Thread Kito Cheng
Extract the logic of checking conflict extensions to a standard alone function, prepare to add more checking logic. gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_subset_list::check_conflict_ext): New. (riscv_subset_list::parse): Move checking conflict ext.

回复: [PATCH 2/7] RISC-V: Add intrinsic functions for crypto vector Zvbc extension

2023-12-03 Thread Feng Wang
2023-12-04 11:37 juzhe.zhong wrote: Will split again as you mentioned. Thanks. Feng Wang >Hi, eswin. > >Thanks for contributing vector crypto support. > >It seems patches mess up. Could you rebase your patch to the trunk GCC cleanly >and send it again. > >The patches look

[PATCH] Don't vectorize when vector stmts are only vec_contruct and stores

2023-12-03 Thread liuhongt
.i.e. for below cases. a[0] = b1; a[1] = b2; .. a[n] = bn; There're extra dependences when contructing the vector, but not for scalar store. According to experiments, it's generally worse. The patch adds an cut-off heuristic when vec_stmt is just vec_construct and vector store. It

[Bug c/112841] New: typeof_unqual is not removing qualifiers from array types

2023-12-03 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112841 Bug ID: 112841 Summary: typeof_unqual is not removing qualifiers from array types Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[PATCH] RISC-V: Fix overlap group incorrect overlap on v0

2023-12-03 Thread Juzhe-Zhong
In serious high register pressure case (appended in this patch): We see vluxei8.v v0,(s1),v1,v0.t which is not allowed. Since according to RVV ISA: +;; The destination vector register group for a masked vector instruction cannot overlap the source mask register (v0), +;; unless the

[Bug target/112816] [11/12/13/14 Regression] ICE unrecognizable_insn with __builtin_signbit and returning struct with int[4]

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

[Bug target/101017] ICE: Segmentation fault, convert_memory_address_addr_space_1 with vector_size(32) and target_clone arch=core-avx2/default

2023-12-03 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101017 liuhongt at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/112583] RISC-V regression testsuite errors with rv64gcv_zvl128b

2023-12-03 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583 --- Comment #9 from JuzheZhong --- === gfortran: Unexpected fails for rv64gcv lp64d medany === FAIL: gfortran.dg/dollar_edit_descriptor_3.f -O0 output pattern test FAIL: gfortran.dg/dollar_edit_descriptor_3.f -O1 output

Re: [PATCH] c++: #pragma GCC unroll C++ fixes [PR112795]

2023-12-03 Thread Jason Merrill
On 12/2/23 05:51, Jakub Jelinek wrote: Hi! foo in the unroll-5.C testcase ICEs because cp_parser_pragma_unroll during parsing calls maybe_constant_value unconditionally, which is fine if !processing_template_decl, but can ICE otherwise. While just calling fold_non_dependent_expr there instead

Re: [PATCH] c++: decltype of (non-captured variable) [PR83167]

2023-12-03 Thread Jason Merrill
On 12/1/23 17:42, Patrick Palka wrote: On Fri, 1 Dec 2023, Jason Merrill wrote: On 12/1/23 12:32, Patrick Palka wrote: On Tue, 14 Nov 2023, Jason Merrill wrote: On 11/14/23 11:10, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 --

Re: [PATCH] RISC-V: Document optimization parameter riscv-strcmp-inline-limit

2023-12-03 Thread Kito Cheng
Wait, I got this on my machine? ../../../../riscv-gnu-toolchain-trunk/gcc/gcc/doc/invoke.texi:29774: misplaced } ../../../../riscv-gnu-toolchain-trunk/gcc/gcc/doc/invoke.texi:29786: misplaced } On Mon, Dec 4, 2023 at 10:43 AM Kito Cheng wrote: > > LGTM > > On Sun, Dec 3, 2023 at 5:16 AM

[Bug middle-end/112824] Stack spills and vector splitting with vector builtins

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

[PATCH 2/7] RISC-V: Add intrinsic functions for crypto vector Zvbc extension

2023-12-03 Thread juzhe.zh...@rivai.ai
Hi, eswin. Thanks for contributing vector crypto support. It seems patches mess up. Could you rebase your patch to the trunk GCC cleanly and send it again. The patches look odd to me, for example: // ZVBB -DEF_VECTOR_CRYPTO_FUNCTION (vandn, zvbb, full_preds, u_vvv_ops, zvkb_or_zvbb)

[Bug middle-end/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 --- Comment #3 from Peter Bergner --- Created attachment 56784 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56784=edit creduce minimized test case Attached creduce minimized test case. Use -O3 -mcpu=power10 to recreate.

[Bug target/59390] presence of __attribute__((target("fma"))) declaration breaks __builtin_fma

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59390 Andrew Pinski changed: What|Removed |Added CC||d.g.gorbachev at gmail dot com ---

[Bug target/56536] GCC with LTO and `-march=pentium3' tries to generate SSE2 code

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56536 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #3 from Andrew

[Bug target/56536] GCC with LTO and `-march=pentium3' tries to generate SSE2 code

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

[Bug target/112813] [14 Regression] RISCV ICE: vsetvl pass: in merge at config/riscv/riscv-vsetvl.cc:1968 on rv32gcv_zvl256b

2023-12-03 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112813 --- Comment #2 from JuzheZhong --- https://godbolt.org/z/8bovzxYox Confirm it has been fixed now. Could you send a patch with test pr112813.c ? To avoid future regression. Thanks.

[PATCH 7/7] RISC-V: Add intrinsic functions for crypto vector Zvksh extension

2023-12-03 Thread Feng Wang
This patch add the intrinsic functions(according to https://github.com/ riscv-non-isa/rvv-intrinsic-doc/blob/eopc/vector-crypto/auto-generated/ vector-crypto/intrinsic_funcs.md) for crypto vector Zvksh extension. And all the test cases are added for api-testing. Co-Authored by: Songhe Zhu

[PATCH 5/7] RISC-V: Add intrinsic functions for crypto vector Zvknh[ab] extension

2023-12-03 Thread Feng Wang
This patch add the intrinsic functions(according to https://github.com/ riscv-non-isa/rvv-intrinsic-doc/blob/eopc/vector-crypto/auto-generated/ vector-crypto/intrinsic_funcs.md) for crypto vector Zvknh[ab] extension. And all the test cases are added for api-testing. Co-Authored by: Songhe Zhu

[PATCH 6/7] RISC-V: Add intrinsic functions for crypto vector Zvksed extension.

2023-12-03 Thread Feng Wang
This patch add the intrinsic functions(according to https://github.com/ riscv-non-isa/rvv-intrinsic-doc/blob/eopc/vector-crypto/auto-generated/ vector-crypto/intrinsic_funcs.md) for crypto vector Zvksed extension. And all the test cases are added for api-testing. gcc/ChangeLog: *

[PATCH 4/7] RISC-V: Add intrinsic functions for crypto vector Zvkned extension

2023-12-03 Thread Feng Wang
This patch add the intrinsic functions(according to https://github.com/ riscv-non-isa/rvv-intrinsic-doc/blob/eopc/vector-crypto/auto-generated/ vector-crypto/intrinsic_funcs.md) for crypto vector Zvkned extension. And all the test cases are added for api-testing. gcc/ChangeLog: *

[PATCH 3/7] RISC-V: Add intrinsic functions for crypto vector Zvkg extension

2023-12-03 Thread Feng Wang
This patch add the intrinsic functions(according to https://github.com/ riscv-non-isa/rvv-intrinsic-doc/blob/eopc/vector-crypto/auto-generated/ vector-crypto/intrinsic_funcs.md) for crypto vector Zvkg extension. And all the test cases are added for api-testing. Co-Authored by: Songhe Zhu

[PATCH 2/7] RISC-V: Add intrinsic functions for crypto vector Zvbc extension

2023-12-03 Thread Feng Wang
This patch add the intrinsic functions(according to https://github.com/ riscv-non-isa/rvv-intrinsic-doc/blob/eopc/vector-crypto/auto-generated/ vector-crypto/intrinsic_funcs.md) for crypto vector Zvbc extension. And all the test cases are added for api-testing. Co-Authored by: Songhe Zhu

Re: [PATCH] pro_and_epilogue: Call df_note_add_problem () if SHRINK_WRAPPING_ENABLED [PR112760]

2023-12-03 Thread Andrew Pinski
On Sat, Dec 2, 2023 at 3:04 AM Richard Sandiford wrote: > > Jakub Jelinek writes: > > Hi! > > > > The following testcase ICEs on x86_64-linux since df_note_add_problem () > > call has been added to mode switching. > > The problem is that the pro_and_epilogue pass in > > prepare_shrink_wrap ->

[Bug middle-end/112572] [14 regression] LLVM miscompiled since r14-5355-g3cd3a09b3f91a1

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

Re: [PATCH] RISC-V: Document optimization parameter riscv-strcmp-inline-limit

2023-12-03 Thread Kito Cheng
LGTM On Sun, Dec 3, 2023 at 5:16 AM Christoph Müllner < christoph.muell...@vrull.eu> wrote: > This patch documents the optimization parameter > riscv-strcmp-inline-limit, which can be used to tweak the behaviour > of -minline-strcmp and -minline-strncmp. > > gcc/ChangeLog: > > PR

[Bug gcov-profile/112829] Dump PGO profiles to a memory buffer

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

Re: [PATCH v2] rs6000: Add new pass for replacement of contiguous addresses vector load lxv with lxvp

2023-12-03 Thread Kewen.Lin
Hi Ajit, on 2023/12/1 17:10, Ajit Agarwal wrote: > Hello Kewen: > > On 24/11/23 3:01 pm, Kewen.Lin wrote: >> Hi Ajit, >> >> Don't forget to CC David (CC-ed) :), some comments are inlined below. >> >> on 2023/10/8 03:04, Ajit Agarwal wrote: >>> Hello All: >>> >>> This patch add new pass to

[Bug tree-optimization/112788] [14 regression] ICEs in fold_range, at range-op.cc:206 after r14-5972-gea19de921b01a6

2023-12-03 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112788 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug modula2/112825] Modula 2 builds target objects as part of all-gcc

2023-12-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/112825] Modula 2 builds target objects as part of all-gcc

2023-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 --- Comment #5 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:4e5f5a8ae82c5f4f714102d2437175ec366f644c commit r14-6100-g4e5f5a8ae82c5f4f714102d2437175ec366f644c Author: Gaius Mulley Date:

[Bug gcov-profile/112829] Dump PGO profiles to a memory buffer

2023-12-03 Thread zamazan4ik at tut dot by via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112829 --- Comment #2 from Alexander Zaitsev --- Am I right that right now in GCC there are no ready-to-use alternatives to "int __llvm_profile_write_buffer(char *Buffer)" from LLVM and it should be implemented somehow manually (as you described)?

[Bug gcov-profile/112829] Dump PGO profiles to a memory buffer

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112829 --- Comment #1 from Andrew Pinski --- One way is to simple replace all of the functions in gcov-io.c and implement them, gcov_open, etc.

[Bug web/108473] bugzilla see also should support gitlab.com URLs

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108473 --- Comment #8 from Andrew Pinski --- gitlab works but savannah URLs still do not. (the URL I tested is in bug 107333 ).

[Bug web/108473] bugzilla see also should support gitlab.com URLs

2023-12-03 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108473 Mark Wielaard changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from Mark

[PATCH] Workaround array_slice constructor portability issues (with older g++).

2023-12-03 Thread Roger Sayle
The recent change to represent language and target attribute tables using vec.h's array_slice template class triggers an issue/bug in older g++ compilers, specifically the g++ 4.8.5 system compiler of older RedHat distributions. This exhibits as the following compilation errors during bootstrap:

[Bug web/108473] bugzilla see also should support gitlab.com URLs

2023-12-03 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108473 --- Comment #6 from Mark Wielaard --- Also looking at f944c5b2a894f866fc50e06ba90fb5dbd902ba36 "Bug 1167919: See Also: support debbugs.gnu.org tracker"

[Bug modula2/112825] Modula 2 builds target objects as part of all-gcc

2023-12-03 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org ---

[Committed] RISC-V: Robostify the W43, W86, W87 constraint enabled attribute

2023-12-03 Thread Juzhe-Zhong
Committed as it is obvious fix. gcc/ChangeLog: * config/riscv/riscv.md: Rostify the constraints. --- gcc/config/riscv/riscv.md | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index

gcc-14-20231203 is now available

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

[Bug target/112837] [12/13/14 Regression] ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx plus) in ix86_elim_entry_set_got, at config/i386/i386.cc:8612 with -fcompare-elim -fpie -fprofil

2023-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112837 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug modula2/112825] Modula 2 builds target objects as part of all-gcc

2023-12-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #3

[Bug modula2/112825] Modula 2 builds target objects as part of all-gcc

2023-12-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825 --- Comment #2 from Gaius Mulley --- Following up on commit: 301dec8533460152c4dd61f46c8e9276e169c49a. Indeed m2 shouldn't attempt to generate target libraries when performing make all-gcc. Currently it generates

[Bug middle-end/112830] internal compiler error: in convert_memory_address_addr_space_1, at explow.cc:302

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

[Bug target/112837] [12/13/14 Regression] ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx plus) in ix86_elim_entry_set_got, at config/i386/i386.cc:8612 with -fcompare-elim -fpie -fprofil

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

[Bug target/101017] ICE: Segmentation fault, convert_memory_address_addr_space_1 with vector_size(32) and target_clone arch=core-avx2/default

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101017 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-12-19 00:00:00 |2023-12-3 --- Comment #4 from Andrew

[Bug fortran/100988] Missed optimization: RESTRICT missing for optional arguments

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

[Bug middle-end/91354] verify_gimple triggers ICE after reporting 'invalid types in nop conversion' error for avr target

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91354 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug middle-end/89270] [11/12/13/14 regression] AVR ICE: verify_gimple failed

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89270 Andrew Pinski changed: What|Removed |Added CC||saaadhu at gcc dot gnu.org --- Comment

[Bug c/112840] feature request: warn on incorrect tagged union value access

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112840 --- Comment #1 from Andrew Pinski --- This seems more like something for analyzier rather than a generic warning due to it requires keeping track of the path where the access is located.

[Bug c/112840] feature request: warn on incorrect tagged union value access

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

[Bug c/112840] New: feature request: warn on incorrect tagged union value access

2023-12-03 Thread matheus.a.m.moreira at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112840 Bug ID: 112840 Summary: feature request: warn on incorrect tagged union value access Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/112831] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in type_has_mode_precision_p, at tree.h:6767

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

[Bug tree-optimization/112831] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in type_has_mode_precision_p, at tree.h:6767

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

[Bug c++/102199] is_default_constructible incorrect for an inner type with NSDMI

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102199 Andrew Pinski changed: What|Removed |Added CC||luigighiron at gmail dot com ---

[Bug c++/112839] Unable to default initialize member variable in specific circumstances

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112839 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

Re: [committed] Fix gnu23-builtins-no-dfp

2023-12-03 Thread Jeff Law
On 12/3/23 05:23, Thomas Schwinge wrote: Hi! On 2023-12-03T08:41:59+0100, Florian Weimer wrote: * Jeff Law: Anyway, this test was the one I was most concerned about. Basically we're testing that on a !dfp target that the builtins are not available. It expects a warning, but gets an

[Bug c++/112839] New: Unable to default initialize member variable in specific circumstances

2023-12-03 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112839 Bug ID: 112839 Summary: Unable to default initialize member variable in specific circumstances Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112838] Compiler is unable to show the exact error location when calling copy ctor for a non-copyable object

2023-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112838 --- Comment #3 from Andrew Pinski --- (In reply to Ahmad Nour from comment #2) > > Thanks for confirmation. > I tried with clang-12 -Wall -Wextra main.cpp, but I didn't get that > hint/note. Am I missing something? Oh I tried with -std=c++20

[Bug fortran/112828] Abort with malloc(): corrupted top size

2023-12-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112828 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/112838] Compiler is unable to show the exact error location when calling copy ctor for a non-copyable object

2023-12-03 Thread eng.ahmad.nour at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112838 --- Comment #2 from Ahmad Nour --- (In reply to Andrew Pinski from comment #1) > Confirmed, I thought I had saw an issue filed that is very smilar to this. > > > Note clang provides the context: > > :5:7: note: in instantiation of member

[Bug middle-end/112835] inverting the result of memcmp() produces inefficient code

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

[Bug c++/112838] Compiler is unable to show the exact error location when calling copy ctor for a non-copyable object

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

[Bug c++/112838] New: Compiler is unable to show the exact error location when calling copy ctor for a non-copyable object

2023-12-03 Thread eng.ahmad.nour at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112838 Bug ID: 112838 Summary: Compiler is unable to show the exact error location when calling copy ctor for a non-copyable object Product: gcc Version: 10.5.0 Status:

[Bug target/112837] New: [12/13/14 Regression] ICE: RTL check: expected elt 1 type 'i' or 'n', have 'e' (rtx plus) in ix86_elim_entry_set_got, at config/i386/i386.cc:8612 with -fcompare-elim -fpie -fp

2023-12-03 Thread zsojka at seznam dot cz via Gcc-bugs
203175403-geef6aea3052-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231203 (experimental) (GCC)

[Bug driver/112836] gcc fails when job control is used

2023-12-03 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112836 --- Comment #1 from Bruno Haible --- Created attachment 56779 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56779=edit proposed fix Although the error is not easily reproducible, it is easy to analyze and fix: The piece of error

[Bug driver/112836] New: gcc fails when job control is used

2023-12-03 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112836 Bug ID: 112836 Summary: gcc fails when job control is used Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

Re: GNAT on GCC 10.x has build problems

2023-12-03 Thread Dave Blanchard
Did you know it's possible to read my post and ruminate upon its meaning without responding this way? I bet you didn't know that. I'm not asking for any of your 'help', in case it wasn't obvious. I'm quite used to solving the GCC project's problems myself by now, since the GCC project seems

Re: GNAT on GCC 10.x has build problems

2023-12-03 Thread Jonathan Wakely via Gcc
On Sun, 3 Dec 2023, 18:19 Dave Blanchard, wrote: > Hello all, while bootstrapping GNAT onto my cross compiled system with GCC > 10.x I found that the make script leaves something to be desired. > > First off it doesn't add the host prefix to the cross compiler binaries; > it calls gnatmake,

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

2023-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 --- Comment #25 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4c0dc30099d39ef6d1b6c8c81418c726aa660768 commit r14-6096-g4c0dc30099d39ef6d1b6c8c81418c726aa660768 Author: Jakub Jelinek Date:

  1   2   >