[Bug target/112532] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn: vec_duplicate:V4HI) with -O -msse4 since r14-5388-g2794d510b979be

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112532 Sam James changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/112532] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn: vec_duplicate:V4HI) with -O -msse4 since r14-5388-g2794d510b979be

2023-11-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112532 --- Comment #3 from Hongtao.liu --- mine.

[Bug c/107557] [12/13/14 Regression] ICE -fsanitize=undefined and VLA as argument type to a function

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

[Bug target/112535] [14 regression] RISC-V ICE: error: unable to find a register to spill during RTL pass: reload

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112535 --- Comment #1 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:d85161a73b9bdd382e62ca1ba3f9f962971a9695 commit r14-5479-gd85161a73b9bdd382e62ca1ba3f9f962971a9695 Author: Juzhe-Zhong Date: Wed Nov

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #11 from Kito Cheng --- It's not scope of auto vectorization, so I would suggest add something like `-mstringop-strategy=*` or `-mmemcpy-strategy=*` (from x86) or `-param=riscv-mops-memcpy-size-threshold=` (from aarch64).

[Bug target/112532] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn: vec_duplicate:V4HI) with -O -msse4 since r14-5388-g2794d510b979be

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

[Bug c/107557] [12/13/14 Regression] ICE -fsanitize=undefined and VLA as argument type to a function

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

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #10 from JuzheZhong --- This following patch: diff --git a/gcc/config/riscv/riscv-string.cc b/gcc/config/riscv/riscv-string.cc index 57e8ad698d7..c135d4efdb2 100644 --- a/gcc/config/riscv/riscv-string.cc +++

[Bug c/112539] a struct with an array of unknown size at the end allows writing past end of the struct

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112539 --- Comment #2 from Sam James --- https://people.kernel.org/kees/bounded-flexible-arrays-in-c and https://developers.redhat.com/articles/2022/09/29/benefits-limitations-flexible-array-members are good reads too

[Bug c/112539] a struct with an array of unknown size at the end allows writing past end of the struct

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

[Bug c/112539] New: a struct with an array of unknown size at the end allows writing past end of the struct

2023-11-14 Thread pgmer6809 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112539 Bug ID: 112539 Summary: a struct with an array of unknown size at the end allows writing past end of the struct Product: gcc Version: 11.4.0 Status: UNCONFIRMED

[Bug target/111170] [13/14 regression] Malformed manifest does not allow to run gcc on Windows XP (Accessing a corrupted shared library) since r13-6552-gd11e088210a551

2023-11-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70 --- Comment #3 from LIU Hao --- Costas, would you like to provide a configure option to exclude that manifest?

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #9 from JuzheZhong --- I think we can use -fno-tree-vectorize or --param=riscv-autovec-preference=none to disable it.

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #8 from Kito Cheng --- That remind me we may need one option like something -mgeneral-regs-only in aarch64 and also for target attribute. BTW, clang has an generic option called -mno-implicit-float can did similar thing

[Bug target/112532] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn: vec_duplicate:V4HI) with -O -msse4

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

[Bug tree-optimization/112496] [13/14 Regression] ICE: in vectorizable_nonlinear_induction, at tree-vect-loop.cc with bit fields

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

[Bug c++/106849] internal compiler error: tree check: expected none of template_decl, have template_decl in do_nonmember_using_decl, at cp/name-lookup.cc:4841

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 Sam James changed: What|Removed |Added Keywords||ice-checking Ever confirmed|0

[Bug rtl-optimization/110390] [13/14 regression] ICE on valid code on x86_64-linux-gnu with sel-scheduling: in av_set_could_be_blocked_by_bookkeeping_p, at sel-sched.cc:3609 since r13-3596-ge7310e24b1

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110390 Sam James changed: What|Removed |Added Keywords||needs-reduction Summary|ICE on

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 Sam James changed: What|Removed |Added Summary|[14 Regression] |[14 Regression] Failed

[Bug target/112538] [RISC-V] Failed to disable V-ext autovectorization using the '--param riscv-autovec-preference=none'

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

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 Andrew Pinski changed: What|Removed |Added CC||mumuxi_ll at outlook dot com ---

[Bug target/112538] [RISC-V] Failed to disable V-ext autovectorization using the '--param riscv-autovec-preference=none'

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112538 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment

[Bug bootstrap/54696] Makefile doesn't propagate CPPFLAGS to host libraries

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

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #6 from JuzheZhong --- We can add if (!flag_tree_vectorize) return false; in riscv_vector::expand_block_move But I am not sure whether other RISC-V folks is happy with that. CCing other folks to see whether they allow it.

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #5 from Huaqi --- (In reply to JuzheZhong from comment #4) > You mean you want to disable it when disabling auto-vectorization ? Yes, I think this could be better, so we can control whether vector instruction should be generated,

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #4 from JuzheZhong --- You mean you want to disable it when disabling auto-vectorization ?

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #3 from Huaqi --- Hi Juzhe, thanks for the help, could it be controlled by --param=riscv-autovec-preference= option, so if I want to enable cpymem optimization, I can enable it by auto vectorzation. Thanks

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #2 from JuzheZhong --- Currently, we don't have a compile option to disable cpymem by RVV. I can tell how to disable it: in riscv.md: (define_expand "cpymem" [(parallel [(set (match_operand:BLK 0 "general_operand")

[Bug target/112538] New: [RISC-V] Failed to disable V-ext autovectorization using the '--param riscv-autovec-preference=none'

2023-11-14 Thread mumuxi_ll at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112538 Bug ID: 112538 Summary: [RISC-V] Failed to disable V-ext autovectorization using the '--param riscv-autovec-preference=none' Product: gcc Version: 14.0 Status:

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 --- Comment #7 from Sam James --- Here's the zstd testcase with clz instead too: ``` unsigned a, b, minTableLog_srcSize; unsigned FSE_minTableLog_srcSize(unsigned maxSymbolValue) { minTableLog_srcSize = __builtin_clz(a); b =

[Bug target/112519] [14 Regression] wrong code with __builtin_sub_overflow_p() on x86_64-pc-linux-gnu

2023-11-14 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112519 --- Comment #4 from Zdenek Sojka --- I can no longer reproduce the failure on neither the original or reduced testcase, on neither r14-5443 , r14-5456 nor r14-5476

[Bug target/112518] [14 Regression] wrong code with __builtin_mul_overflow_p() and int128_t on x86_64-pc-linux-gnu

2023-11-14 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112518 --- Comment #4 from Zdenek Sojka --- (In reply to Andrew Pinski from comment #3) > I cannot reproduce it with r14-5450-g4db820928065ec or > r14-5427-gd22b87864e5d47 . Thank you for the investigation! Either the flags have changed, or I did

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 Andrew Pinski changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

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

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 --- Comment #4 from Sam James --- Reduced: ``` typedef struct { int green, blue; } rgb; struct { rgb offset; } xf86SetWeight_scrp; rgb xf86SetWeight_mask; int ffs(int color); void xf86SetWeight() { xf86SetWeight_scrp.offset.green =

[Bug target/112537] Is there a way to disable cpymem pass for rvv

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 --- Comment #1 from Andrew Pinski --- >since if vector load and store for smaller structure assign is costable and >harmfull to cpu pipeline. This depends on the Pipeline. Seems like there is a missing cost model for your cpu somewhere.

[Bug c/112537] New: Is there a way to disable cpymem pass for rvv

2023-11-14 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112537 Bug ID: 112537 Summary: Is there a way to disable cpymem pass for rvv Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #20 from JuzheZhong --- This is the reason of this patch: The whole analysis is correct.But we made a mistake on inserting vsetvls. This is the story. We have 2 types of global vsetvls insertion. One is earliest fusion of each

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 --- Comment #3 from Andrew Pinski --- Worked at r14-5115-g6e9ee44d96e5bda8808dd9d8ccf58d2525383f6b .

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #19 from JuzheZhong --- Created attachment 56589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56589=edit bug fix patch Hi,Vineet. The attachment is the bug fix patch. I have tested on both RV32 and RV64 C/C++. No

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

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

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #18 from JuzheZhong --- I know how to fix it. Testing a candidate patch.

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 --- Comment #2 from Sam James --- I'm going to kick off cvise for this. I've also had probably a dupe with zstd but I may reduce that too given both projects are C so it should be quick.

[Bug tree-optimization/112536] [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 --- Comment #1 from Sam James --- Created attachment 56588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56588=edit xf86Helper.c.i

[Bug tree-optimization/112536] New: [14 regression] ICE when buliding xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378)

2023-11-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
--disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 202311

[Bug target/112535] New: [14] RISC-V ICE: error: unable to find a register to spill during RTL pass: reload

2023-11-14 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112535 Bug ID: 112535 Summary: [14] RISC-V ICE: error: unable to find a register to spill during RTL pass: reload Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/112525] fail to eliminate unused store

2023-11-14 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112525 --- Comment #6 from Jiu Fu Guo --- (In reply to Jiu Fu Guo from comment #3) > One possible method is fixing DSE to let is able to remove those 'store's. > (but need to take care of the case that is using 'arg_pointer' to pass > parameters.) >

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-11-14 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #38 from LIU Hao --- (In reply to Andrew Pinski from comment #35) > (In reply to peter0x44 from comment #34) > > Unfortunately, this option breaks GCC running under Windows XP. > > XP has not been supported by mingw for a long time

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #17 from JuzheZhong --- The incorrect elimination happens on pre_global_vsetvl_info You can try simple hack like this: diff --git a/gcc/config/riscv/riscv-vsetvl.cc b/gcc/config/riscv/riscv-vsetvl.cc index 8466b5d019e..65dcf931808

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #16 from JuzheZhong --- The victim should be these 2 pieces of codes: .L20: lbu a1,0(a3) li t1,97 bne a1,t1,.L21 lbu t1,1(a3) bne t1,a1,.L21 lbu a1,2(a3)

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-11-14 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 --- Comment #3 from Bruno Haible --- (In reply to Andrew Pinski from comment #1) > Hmm. similar issue happen with gdb 5 years ago: > https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00151.html Thanks; this is helpful. In this thread we

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-11-14 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 Bruno Haible changed: What|Removed |Added CC||bruno at clisp dot org --- Comment #2

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-11-14 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #37 from peter0x44 at disroot dot org --- Sorry, comment got sent by accident, before I was done typing. And you replied before I finished, too. Thanks for pointing me in the correct direction. === IRRELEVANT Executables with this

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #36 from Andrew Pinski --- (In reply to Andrew Pinski from comment #35) > (In reply to peter0x44 from comment #34) > > Unfortunately, this option breaks GCC running under Windows XP. > > XP has not been supported by mingw for a

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #35 from Andrew Pinski --- (In reply to peter0x44 from comment #34) > Unfortunately, this option breaks GCC running under Windows XP. XP has not been supported by mingw for a long time so I have no idea how you have been building

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

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

[Bug tree-optimization/112104] loop of ^1 should just be reduced to ^(n&1)

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

[Bug tree-optimization/112104] loop of ^1 should just be reduced to ^(n&1)

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

[Bug tree-optimization/112104] loop of ^1 should just be reduced to ^(n&1)

2023-11-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112104 --- Comment #5 from Hongtao.liu --- (In reply to Andrew Pinski from comment #4) > Fixed via r14-5428-gfd1596f9962569afff6c9298a7c79686c6950bef . Note, my patch only handles constant tripcount for XOR, but not do the transformation when

[Bug tree-optimization/112496] [13/14 Regression] ICE: in vectorizable_nonlinear_induction, at tree-vect-loop.cc with bit fields

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112496 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:ed73ad337739a4244e8040d19b6e567c4101b58a commit r13-8068-ged73ad337739a4244e8040d19b6e567c4101b58a Author: liuhongt Date:

[Bug tree-optimization/111439] some boolean related transformation to `~(a)`

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

[Bug target/112518] [14 Regression] wrong code with __builtin_mul_overflow_p() and int128_t on x86_64-pc-linux-gnu

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112518 --- Comment #3 from Andrew Pinski --- I cannot reproduce it with r14-5450-g4db820928065ec or r14-5427-gd22b87864e5d47 .

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #15 from Vineet Gupta --- (In reply to JuzheZhong from comment #14) > Let me give you some guide which helps you to dig into the problem. > > First, reduce the case as follows: Did your msg get truncated or pressed send too soon ?

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #14 from JuzheZhong --- Let me give you some guide which helps you to dig into the problem. First, reduce the case as follows: #include void abort (void); void exit (int); #ifndef MAX_OFFSET #define MAX_OFFSET (sizeof (long

[Bug bootstrap/112534] [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 --- Comment #1 from Andrew Pinski --- Hmm. similar issue happen with gdb 5 years ago: https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00151.html Looks like this is huge gnulib mess at that.

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #13 from Vineet Gupta --- Then I don't know where the problem actually is ?

[Bug bootstrap/112534] New: [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5

2023-11-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534 Bug ID: 112534 Summary: [14 regression] build failure after r14-5424-gdb50aea6259545 using gcc 4.8.5 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/112491] std::deque::size xmethod output is wrong

2023-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112491 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/112491] std::deque::size xmethod output is wrong

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112491 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:57727d36e0a3d69dbd6b2221cde0624dbb9dfc95 commit r11-11098-g57727d36e0a3d69dbd6b2221cde0624dbb9dfc95 Author: Jonathan

[Bug pch/47857] Pragma once warning when compiling PCH

2023-11-14 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47857 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org

[Bug pch/9471] #pragma system_header vs. precompiled headers

2023-11-14 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9471 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org

[Bug pch/9471] #pragma system_header vs. precompiled headers

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9471 --- Comment #5 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:9938645fcf914ec2a3fa8137cf1456ad4af5f77c commit r14-5471-g9938645fcf914ec2a3fa8137cf1456ad4af5f77c Author: Lewis Hyatt Date: Fri

[Bug pch/47857] Pragma once warning when compiling PCH

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47857 --- Comment #10 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:9938645fcf914ec2a3fa8137cf1456ad4af5f77c commit r14-5471-g9938645fcf914ec2a3fa8137cf1456ad4af5f77c Author: Lewis Hyatt Date: Fri

[Bug libstdc++/112348] [C++23] defect in struct hash>

2023-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112348 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/112348] [C++23] defect in struct hash>

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112348 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a97c08ea530dadf366022b5c3e5aab21d34a61bd commit r12-9978-ga97c08ea530dadf366022b5c3e5aab21d34a61bd Author: Jonathan

[Bug libstdc++/112491] std::deque::size xmethod output is wrong

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112491 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:99f992a275c30bc8db2e6352e98ab81c89b5b7ed commit r12-9977-g99f992a275c30bc8db2e6352e98ab81c89b5b7ed Author: Jonathan

[Bug libstdc++/112348] [C++23] defect in struct hash>

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112348 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:16635b89f36c07b9e06c48a93d1bfafa93178328 commit r13-8067-g16635b89f36c07b9e06c48a93d1bfafa93178328 Author: Jonathan

[Bug libstdc++/112491] std::deque::size xmethod output is wrong

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112491 --- Comment #3 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5cb055e99d2026c734602ffdc28cb8b357a7b28e commit r13-8066-g5cb055e99d2026c734602ffdc28cb8b357a7b28e Author: Jonathan

[Bug libstdc++/112348] [C++23] defect in struct hash>

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112348 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6f2fc42d9e52e8322e718e0154cd235d00906f99 commit r14-5465-g6f2fc42d9e52e8322e718e0154cd235d00906f99 Author: Jonathan Wakely

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #12 from JuzheZhong --- The merge is correct here. vmv.x.s demand SEW = 32 wheras vle/vse demand RATIO = 16 (e8mf2) So, to make vsetvl valid for both of them, the vtype should be sew = 32 and lmul = M2 (32 / 16 = 2).

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

2023-11-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112531 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment

[Bug libstdc++/112348] [C++23] defect in struct hash>

2023-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112348 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.4 Status|NEW

[Bug modula2/111871] invoking gm2 with -pipe and -v does not work

2023-11-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111871 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug modula2/111627] modula2: Excess test fails with a case-preserving-case-insensitive source tree.

2023-11-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111627 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2023-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #5) > We need to detect and diagnose violations of the above. Example: program main implicit none type t integer :: i end type t type(t),

[Bug analyzer/103533] Enable "taint" state machine with -fanalyzer without requiring -fanalyzer-checker=taint

2023-11-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103533 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-14 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 Edwin Lu changed: What|Removed |Added CC||ewlu at rivosinc dot com --- Comment #17

[Bug analyzer/103533] Enable "taint" state machine with -fanalyzer without requiring -fanalyzer-checker=taint

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103533 --- Comment #8 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:cfaaa8b11b8429eed5ec44426fc6a20ad5d53d30 commit r14-5464-gcfaaa8b11b8429eed5ec44426fc6a20ad5d53d30 Author: David Malcolm Date:

[Bug tree-optimization/112533] missed optimization (~A & C) == (~B & C) => (A & C) == (B & C)

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

[Bug tree-optimization/112533] New: missed optimization (~A & C) == (~B & C) => (A & C) == (B & C)

2023-11-14 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112533 Bug ID: 112533 Summary: missed optimization (~A & C) == (~B & C) => (A & C) == (B & C) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112532] New: [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn: vec_duplicate:V4HI) with -O -msse4

2023-11-14 Thread zsojka at seznam dot cz via Gcc-bugs
x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-5443-20231114122339-gb9fd8399ec0-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 202

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-14 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #11 from Vineet Gupta --- As a hack I commented out set_delete() to see what the extraneous vsetvli would have been. ``` .L36: # bb 3: start of outer loop: off 0 vsetvli zero,zero,e8,mf2,ta,ma # insn 2915

[Bug c++/103499] C++20 modules error: invalid use of non-static member function

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103499 --- Comment #7 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:14979dd31c887ba5ba573f2cdb0647b37e09641a commit r14-5461-g14979dd31c887ba5ba573f2cdb0647b37e09641a Author: Nathaniel Shead Date:

[Bug c++/106849] internal compiler error: tree check: expected none of template_decl, have template_decl in do_nonmember_using_decl, at cp/name-lookup.cc:4841

2023-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- Comment #4 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:5b9ecce87e8f315e2681743d75401991cdfefa71 commit r14-5460-g5b9ecce87e8f315e2681743d75401991cdfefa71 Author: Nathaniel Shead Date:

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

2023-11-14 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112531 Bug ID: 112531 Summary: [14] RISC-V: gcc.dg/unroll-8.c rtl-dump scan errors with --param=riscv-autovec-preference=scalable Product: gcc Version: 14.0 Status:

[Bug tree-optimization/112530] [14 Regression] New ICE in gimple->rtl expansion after recent change

2023-11-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112530 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/112481] [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c

2023-11-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 --- Comment #14 from Jeffrey A. Law --- *** Bug 112530 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/112530] [14 Regression] New ICE in gimple->rtl expansion after recent change

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112530 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Does r14-5453-g948b8b6e0e50958ecf56d4d9fb7ac16f245d9cc3 fix this too? The RISCV backtrace and the alpha backtrace is the same for the same testcase too which

[Bug tree-optimization/112530] [14 Regression] New ICE in gimple->rtl expansion after recent change

2023-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112530 --- Comment #1 from Andrew Pinski --- Does r14-5453-g948b8b6e0e50958ecf56d4d9fb7ac16f245d9cc3 fix this too?

[Bug tree-optimization/112530] New: [14 Regression] New ICE in gimple->rtl expansion after recent change

2023-11-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112530 Bug ID: 112530 Summary: [14 Regression] New ICE in gimple->rtl expansion after recent change Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

  1   2   3   >