[Bug c/112449] Arithmetic operations can produce signaling NaNs

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112449 --- Comment #11 from Richard Biener --- (In reply to post+gcc from comment #10) > The standard says > > > This annex does not require the full support for signaling NaNs specified > > in IEC 60559. This > annex uses the term NaN, unless explic

[Bug ada/112461] [14 regression] Simple return inside extended return loses updates to return object value

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

[Bug tree-optimization/112464] [14 Regression] ICE avx512 with -ftrapv since r14-5076

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112464 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

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

[Bug tree-optimization/112464] [14 Regression] ICE avx512 with -ftrapv since r14-5076

2023-11-10 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112464 --- Comment #4 from Robin Dapp --- Is there another way to make it more robust? Or does the existing void vect_finish_replace_stmt (vec_info *vinfo, stmt_vec_info stmt_info, gimple *vec_stmt) { gimple *scalar_stmt =

[Bug tree-optimization/112468] [14 Regression] Missed phi-opt after recent change

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112468 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/112469] [14 Regression] ICE: eliminate_stmt, at tree-ssa-sccvn.cc:6944

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

[Bug tree-optimization/112469] [14 Regression] ICE: eliminate_stmt, at tree-ssa-sccvn.cc:6944

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112469 --- Comment #6 from JuzheZhong --- Thanks Richard. I tried your patch. It does fix this issue. But I wonder whether we should also adjust the following COND_LEN_UNARY too ? Like this: diff --git a/gcc/match.pd b/gcc/match.pd index f559bfa4f2

[Bug tree-optimization/112469] [14 Regression] ICE: eliminate_stmt, at tree-ssa-sccvn.cc:6944

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112469 --- Comment #7 from Richard Biener --- Yes, I'm testing a more complete patch right now.

[Bug tree-optimization/112464] [14 Regression] ICE avx512 with -ftrapv since r14-5076

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112464 --- Comment #5 from Richard Biener --- (In reply to Robin Dapp from comment #4) > Is there another way to make it more robust? > > Or does the existing > > void > vect_finish_replace_stmt (vec_info *vinfo, > stmt_vec_in

[Bug c/112463] ternary operator / -Wsign-compare inconsistency

2023-11-10 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112463 --- Comment #3 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #2) > One problem with -Wsign-conversion is that it is not enabled with > -Wextra/-Wall . However, I don't understand why -Wsign-compare is enabled by -Wextra but n

[Bug ada/112446] Switch -gnatyz included in -gnatyg

2023-11-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112446 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

[Bug ada/112461] [14 regression] premature finalization with nested return inside extended one

2023-11-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112461 Eric Botcazou changed: What|Removed |Added Summary|[14 regression] Simple |[14 regression] premature

[Bug ada/112461] [14 regression] premature finalization with nested return inside extended one

2023-11-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112461 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/112112] Improper Arithmetic Type Conversion in s390x-linux-gnu-gcc

2023-11-10 Thread 22s302h0659 at sonline20 dot sen.go.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112112 --- Comment #9 from 김대영 <22s302h0659 at sonline20 dot sen.go.kr> --- ``` #include #define M_1 0xad5d6da /* 1010110101011101011011011010 */ char g_1 = -1; short g_2 = -1; char v1 = -1; short v2 = 1; int main(){ char l_1 = -1;

[Bug rtl-optimization/112474] New: MIPS: missed optimization for assigning HI reg to zero

2023-11-10 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112474 Bug ID: 112474 Summary: MIPS: missed optimization for assigning HI reg to zero Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c/112449] Arithmetic operations can produce signaling NaNs

2023-11-10 Thread post+gcc at ralfj dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112449 --- Comment #12 from post+gcc at ralfj dot de --- > GCC will not create an sNaN out of nowhere. That's the part I was hoping for. :) I just don't think it obviously follows from any docs (the C standard or GCC docs).

[Bug rtl-optimization/112474] MIPS: missed optimization for assigning HI reg to zero

2023-11-10 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112474 --- Comment #1 from Siarhei Volkau --- Minimal example for showcase the issue: #include uint64_t mthi_example(uint32_t a, uint32_t b, uint32_t c, uint32_t d) { uint64_t ret; ret = (uint64_t)a * b + (uint64_t)c * d + 1u; return ret

[Bug target/112313] [14 Regression] GCN target 'gcc.dg/pr111082.c' ICE, 'during RTL pass: vregs': 'error: unrecognizable insn'

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112313 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug target/112313] [14 Regression] GCN target 'gcc.dg/pr111082.c' ICE, 'during RTL pass: vregs': 'error: unrecognizable insn'

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

[Bug tree-optimization/112469] [14 Regression] ICE: eliminate_stmt, at tree-ssa-sccvn.cc:6944

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112469 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:20aa06490ab57da7729a24bae7c4ec2f5918ec91 commit r14-5317-g20aa06490ab57da7729a24bae7c4ec2f5918ec91 Author: Richard Biener Date:

[Bug tree-optimization/112469] [14 Regression] ICE: eliminate_stmt, at tree-ssa-sccvn.cc:6944

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112469 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/112475] New: [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 Bug ID: 112475 Summary: [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/112308] [14 Regression] GCN: 'error: literal operands are not supported' for 'v_add_co_u32'

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112308 --- Comment #1 from CVS Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:e24b0fed9234716c146aaf6f8c1b39170e43a6f3 commit r14-5318-ge24b0fed9234716c146aaf6f8c1b39170e43a6f3 Author: Andrew Stubbs Date: F

[Bug target/112308] [14 Regression] GCN: 'error: literal operands are not supported' for 'v_add_co_u32'

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

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #1 from Tobias Burnus --- Reduced testcase: #pragma omp declare target struct Surface { virtual double sag(); }; #pragma omp end declare target Surface main_devPtr; main() { #pragma omp target main_devPtr.sag(); } Printing in 'o

[Bug rtl-optimization/112476] New: [14 Regression] unrecognizable insn with -O2 -march=la464 on loongarch64

2023-11-10 Thread xen0n at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112476 Bug ID: 112476 Summary: [14 Regression] unrecognizable insn with -O2 -march=la464 on loongarch64 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #15 from JuzheZhong --- Hi,Richard. Confirmed Robin's patch doesn't help with this issue. The root cause of this issue is failed to recognize it as possible vectorization of conditional reduction which means is_cond_scalar_reduction

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 --- Comment #2 from Jonathan Wakely --- Ah it changed in C++20, previously it said "T shall be an integral type" so was just UB.

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 --- Comment #3 from Jonathan Wakely --- Although you couldn't use std::pair as a NTTP until C++20 anyway.

[Bug tree-optimization/112430] [14 Regression] ICE: verify_ssa failed, missing definition since r14-1837-g43a3252c42af12

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112430 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #16 from Richard Biener --- it's not exactly clear what the transform is you propose. it looks like a re-association but SSA names do not match up but the transform only replaces a single op with 0!?

[Bug c++/112477] New: Assignment of value-initialized iterators differs from value-initialization

2023-11-10 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Bug ID: 112477 Summary: Assignment of value-initialized iterators differs from value-initialization Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity:

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e5f1956498251a4973d52c8aad3faf34d0443169 commit r14-5320-ge5f1956498251a4973d52c8aad3faf34d0443169 Author: Richard Biener Date:

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 110221, which changed state. Bug 110221 Summary: With AVX512 fully masking gfortran.dg/pr68146.f ICEs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 What|Removed |Added

[Bug rtl-optimization/112476] Unrecognizable insn with -O2 -march=la464 on loongarch64

2023-11-10 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112476 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Keyword

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #17 from JuzheZhong --- Sorry for confusing and not enough information. I am trying to transform: + reduc_1 = PHI <..., reduc_2> + ... + if (...) + tmp1 = reduc_1 + rhs1; + tmp2 = tmp1 +

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #2 from Jakub Jelinek --- Slightly further cleaned up: #pragma omp declare target struct S { virtual double foo (); }; #pragma omp end declare target S s; int main () { #pragma omp target s.foo (); } The problem is that ubsan_ex

[Bug tree-optimization/112464] [14 Regression] ICE avx512 with -ftrapv since r14-5076

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112464 --- Comment #6 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:d7b971cf61ae0091dbc777c9aa056e6f1293da2f commit r14-5322-gd7b971cf61ae0091dbc777c9aa056e6f1293da2f Author: Robin Dapp Date: Fri Nov

[Bug middle-end/111253] [11/12/13 Regression] Dodgy pointer name (*_42 = PHI ...) in -Wfree-nonheap-object diagnostic

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111253 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f1e717bd8b043e07e74accff3235d04e6eb719cc commit r13-8036-gf1e717bd8b043e07e74accff3235d04e6eb719cc Author: Richard Biener

[Bug tree-optimization/111489] [12/13 Regression] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:06ee3438a4fcf98031fccda8ea8ff592a41cf218 commit r13-8039-g06ee3438a4fcf98031fccda8ea8ff592a41cf218 Author: Richard Biener

[Bug tree-optimization/111397] [12/13 Regression] Spurious warning "'({anonymous})' is used uninitialized" when calling a __returns_twice__ function (-Wuninitialized -O2)

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111397 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:049ec9b981d1f4f97736061d5cf7d0ae990b57d7 commit r13-8037-g049ec9b981d1f4f97736061d5cf7d0ae990b57d7 Author: Richard Biener

[Bug tree-optimization/111489] [12/13 Regression] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111489 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5ee6e01fba873580f0ee6c88a3f733e79af2e8a3 commit r13-8040-g5ee6e01fba873580f0ee6c88a3f733e79af2e8a3 Author: Richard Biener

[Bug tree-optimization/111614] [11/12/13 Regression] ICE at -O2: verify_gimple failed since r14-2282-gf703d2fd3f0

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111614 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8e8599fc8079cdc2a9ef934c765613e2f0a4cdf9 commit r13-8042-g8e8599fc8079cdc2a9ef934c765613e2f0a4cdf9 Author: Richard Biener

[Bug tree-optimization/111583] [13 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b28be88c311f1bc4c62309906177ab3d97800deb commit r13-8041-gb28be88c311f1bc4c62309906177ab3d97800deb Author: Richard Biener

[Bug middle-end/111818] [11/12/13 Regression] ICE with __builtin_memcpy with volatile and constants

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111818 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ffb0615cf1aa628ca8aa10bda31fe1bc554eccf3 commit r13-8044-gffb0615cf1aa628ca8aa10bda31fe1bc554eccf3 Author: Richard Biener

[Bug tree-optimization/111764] [11/12/13 Regression] Wrong code at -O3 on x86_64-linux-gnu

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111764 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:db010f96743a4f289975a0432209c38ec34635e9 commit r13-8043-gdb010f96743a4f289975a0432209c38ec34635e9 Author: Richard Biener

[Bug tree-optimization/111445] [12/13 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111445 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bd7800a3a73fa07b4688c75edcaaaf923802f020 commit r13-8038-gbd7800a3a73fa07b4688c75edcaaaf923802f020 Author: Richard Biener

[Bug tree-optimization/111917] [11/12/13 Regression] ICE in as_a, at is-a.h:255 since GCC-7

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:28d9e033a8e95c024e27cb495db610aac37a0f88 commit r13-8045-g28d9e033a8e95c024e27cb495db610aac37a0f88 Author: Richard Biener

[Bug tree-optimization/111583] [13 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3281-g6cc3394507

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111583 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/112438] RISC-V: Wrong auto-vectorization on induction variable of RVV

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

[Bug libstdc++/112477] Assignment of value-initialized iterators differs from value-initialization

2023-11-10 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Giuseppe D'Angelo changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Giuse

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX when building ncnn (Error: unsupported instruction `vblendps') since r14-96-gc2dac2e5fbbcdd

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/112438] RISC-V: Wrong auto-vectorization on induction variable of RVV

2023-11-10 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 JuzheZhong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/111967] [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all since r12-4694

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111967 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] |[12/13/14 Regression]

[Bug c/112478] New: riscv: asm clobbers not honored

2023-11-10 Thread Michael at MichaelKloos dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112478 Bug ID: 112478 Summary: riscv: asm clobbers not honored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug target/112478] riscv: asm clobbers not honored

2023-11-10 Thread Michael at MichaelKloos dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112478 --- Comment #1 from Michael T. Kloos --- Added Andrew Waterman to CC list

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #3 from Tobias Burnus --- > I admit I haven't paid much attention what the latest OpenMP standard > currently requires for virtual method calls. OpenMP 5.0 "2.12.5 target Construct" [175:25-26] has: "The effect of invoking a virtu

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:705ab7927c81b77503d229513fac991106617766 commit r14-5330-g705ab7927c81b77503d229513fac991106617766 Author: Patrick Palka Date: Fr

[Bug c++/79378] lambda init-capture adds const

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79378 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:705ab7927c81b77503d229513fac991106617766 commit r14-5330-g705ab7927c81b77503d229513fac991106617766 Author: Patrick Palka Date: Fr

[Bug c++/79620] decltype() inside a lambda capturing-by-value

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0410b754e56c0868203c2412e0585ba070ea938d commit r14-5331-g0410b754e56c0868203c2412e0585ba070ea938d Author: Patrick Palka Date: Fr

[Bug c++/79378] lambda init-capture adds const

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79378 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Assignee|unassigned at gc

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/54366] [meta-bug] decltype issues

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54366 Bug 54366 depends on bug 96917, which changed state. Bug 96917 Summary: decltype(auto) variable initialized with lambda by-reference capture has incorrect type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 What|Removed

[Bug c++/54367] [meta-bug] lambda expressions

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 96917, which changed state. Bug 96917 Summary: decltype(auto) variable initialized with lambda by-reference capture has incorrect type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 What|Removed

[Bug c++/79620] decltype() inside a lambda capturing-by-value

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Assi

[Bug c++/54367] [meta-bug] lambda expressions

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79620, which changed state. Bug 79620 Summary: decltype() inside a lambda capturing-by-value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 What|Removed |Added --

[Bug jit/111396] Segfault when using -flto with libgccjit

2023-11-10 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111396 --- Comment #2 from Antoni --- Created attachment 56554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56554&action=edit Patch fixing the issue

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/79620] decltype() inside a lambda capturing-by-value

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=63

[Bug c++/54367] [meta-bug] lambda expressions

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 63192, which changed state. Bug 63192 Summary: non-mutable lambda capture by value on reference does not apply const https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 What|Removed |Add

[Bug c++/110752] decltype in lambda loses const qualifier unless lambda is mutable

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110752 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/86697] decltype for lambda capture gives wrong type

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86697 Patrick Palka changed: What|Removed |Added CC||jzwinck at gmail dot com --- Comment #3

[Bug tree-optimization/111967] [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all since r12-4694

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111967 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/112475] [UBSAN][OpenMP] ICE during GIMPLE pass: sanopt in output_operand: invalid expression as operand

2023-11-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112475 --- Comment #4 from Jakub Jelinek --- • The run-time type information (RTTI) of an object can only be accessed from the device on which it was constructed. is weird, because RTTI can be queried not just on objects, but on types, and there doesn'

[Bug c++/92101] Class template partial specializations with class NTTP does not work

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92101 Patrick Palka changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug c++/93083] [C++20] copy deduction rejected when doing CTAD for NTTP

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 --- Comment #11 from Patrick Palka --- *** Bug 92101 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/111792] [14 Regression] wrong code at -O3 on x86_64-linux-gnu since r14-3414-g0cfc9c953d0221

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

[Bug c++/96917] decltype(auto) variable initialized with lambda by-reference capture has incorrect type

2023-11-10 Thread andrey.vihrov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96917 --- Comment #5 from Andrey Vihrov --- Thanks!

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 --- Comment #9 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:df66fa08578a28b3acc8bdb6257b68c245a6a0fa commit r14-5333-gdf66fa08578a28b3acc8bdb6257b68c245a6a0fa Author: Vladimir N. Makarov

[Bug target/112478] riscv: asm clobbers not honored

2023-11-10 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112478 --- Comment #2 from Andrew Waterman --- Although I sketched the first draft of this patch, it’s Jeff Law who brought it to fruition. He is more suited to help than I am.

[Bug rtl-optimization/111702] [14 Regression] ICE: in insert_regs, at cse.cc:1114 with -O2 -fstack-protector-all -frounding-math

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

[Bug rtl-optimization/111702] [14 Regression] ICE: in insert_regs, at cse.cc:1114 with -O2 -fstack-protector-all -frounding-math

2023-11-10 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111702 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- HI, sorry for the breakage, will take a look. Thanks, Prathamesh

[Bug target/82242] IRA spills allocno in loop body if it crosses throwing call outside the loop

2023-11-10 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82242 --- Comment #5 from Alexander Monakov --- The small testcase from comment 3 is now improved on trunk, possibly thanks to work in PR 110215.

[Bug c/112479] New: Missing -Woverflow warnings with bit fields with assignment of a constant

2023-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112479 Bug ID: 112479 Summary: Missing -Woverflow warnings with bit fields with assignment of a constant Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diag

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX when building ncnn (Error: unsupported instruction `vblendps') since r14-96-gc2dac2e5fbbcdd

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #14 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #13) > Created attachment 56553 [details] > gcc14-pr112435.patch > > Untested fix. https://gcc.gnu.org/pipermail/gcc-patches/2023-November/635760.html ? But I thin

[Bug libstdc++/112480] New: optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread gnu at kosak dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 Bug ID: 112480 Summary: optional::reset emits inefficient code when T is trivially-destructible Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: norm

[Bug c++/109122] std::ranges::find segfaults with gcc (trunk but not 12.2) on godbolt

2023-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109122 --- Comment #4 from Andrew Pinski --- Created attachment 56557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56557&action=edit reduction but not best though

[Bug modula2/110779] SysClock can not read the clock

2023-11-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779 --- Comment #20 from Gaius Mulley --- Created attachment 56558 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56558&action=edit Proposed fix (libgm2/acinclude.m4 and libgm2/configure.host) Here is a proposed patch for a new file libgm2/ac

[Bug modula2/110779] SysClock can not read the clock

2023-11-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779 --- Comment #21 from Gaius Mulley --- I've just noticed that the patch doesn't address the issue of GLIBCXX_IS_NATIVE.

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

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

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-11-10 Status|UNCONFI

[Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement

2023-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug c++/109122] std::ranges::find segfaults with gcc (trunk but not 12.2) on godbolt

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109122 Patrick Palka changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug rtl-optimization/110307] ICE in move_insn, at haifa-sched.cc:5473 when building Ruby on alpha with -fPIC -O2 (or -fpeephole2 -fschedule-insns2)

2023-11-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110307 --- Comment #14 from Sam James --- (In reply to Alexander Monakov from comment #13) > Note to self: check how control_flow_insn_p relates. Did you have a chance to look at this bit? matoro asked me to cherry-pick it downstream but it's in gener

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

2023-11-10 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112481 Bug ID: 112481 Summary: [14 Regression] RISCV: ICE: Segmentation fault when compiling pr110817-3.c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: nor

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

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

  1   2   >