[Bug tree-optimization/109304] [13 Regression] ICE in get_vrange, at value-range-storage.cc:87 when building Python 3.12.0_alpha6 since r13-6849-ged626f18b189920a

2023-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109304 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177 since r12-117-gb972e036f40c

2023-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109392 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c/109399] New: RISC-V: RVV VSETVL PASS backward demand fusiton bug

2023-04-04 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109399 Bug ID: 109399 Summary: RISC-V: RVV VSETVL PASS backward demand fusiton bug Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109304] [13 Regression] ICE in get_vrange, at value-range-storage.cc:87 when building Python 3.12.0_alpha6 since r13-6849-ged626f18b189920a

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109304 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:d0b961b802dd7d9d555ff4515835a479329326e9 commit r13-6995-gd0b961b802dd7d9d555ff4515835a479329326e9 Author: Richard Biener Date:

[Bug c/109398] New: libiberty/sha1.c:234:11: warning: defining a type within 'offsetof' is a Clang extension [-Wgnu-offsetof-extensions]

2023-04-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109398 Bug ID: 109398 Summary: libiberty/sha1.c:234:11: warning: defining a type within 'offsetof' is a Clang extension [-Wgnu-offsetof-extensions] Product: gcc

[Bug target/109406] Missing use of aarch64 SVE2 unpredicated integer multiply

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

[Bug fortran/109413] New: [OpenMP] ICE for 'OMP ERROR at(compilation)' when using a named constant/parameter

2023-04-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109413 Bug ID: 109413 Summary: [OpenMP] ICE for 'OMP ERROR at(compilation)' when using a named constant/parameter Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/109410] [13 Regression] ICE: verify_flow_info failed

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 --- Comment #2 from Andrew Pinski --- The broken IR has been there since at least 4.9.0: : _1 = x_4(D) > 41; baz (x_4(D), y_5(D)); goto ; : ABNORMAL_DISPATCHER (0); : _8 = y_5(D) != 0; _9 = x_4(D) == 42; _11 = x_4(D) > 42;

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-04 Thread damian--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 Damian changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #7 from Damian --- Hello

[Bug ipa/109408] [13 Regression] ICE in decide_about_value, at ipa-cp.cc:6154

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

[Bug tree-optimization/109410] [13 Regression] ICE: verify_flow_info failed

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #1 from

[Bug c++/109404] tree check: expected identifier_node, have template_id_expr in dump_decl, at cp/error.cc:1301

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109404 --- Comment #2 from Andrew Pinski --- The error that is being trying to print is: :8:27: error: 'constexpr' static data member 'is_iter< >' must have an initializer

[Bug tree-optimization/109410] [13 Regression] ICE: verify_flow_info failed

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Target

[Bug fortran/104349] ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104349 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c57a93f647511cf7a3005f1197a1da03b5e3a1b0 commit r13-7003-gc57a93f647511cf7a3005f1197a1da03b5e3a1b0 Author: Harald Anlauf Date:

[Bug ipa/109408] [13 Regression] ICE in decide_about_value, at ipa-cp.cc:6154

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

[Bug target/109040] [13 Regression] wrong code with v16hi compare & mask on riscv64 at -O2 since r13-4907-g2e886eef7f2b5a

2023-04-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109040 --- Comment #7 from Eric Botcazou --- WORD_REGISTER_OPERATIONS means that subword register operations in RTL are actually performed on the whole word register by the machine, e.g.. for (insn 47 35 39 2 (set (reg:HI 175) (subreg:HI

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-04 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #39 from qinzhao at gcc dot gnu.org --- (In reply to Martin Uecker from comment #38) > struct foo { >int n; >char (*buf)[.n]; > }; > > void store(struct foo* p, int a, int b) { (*p->buf)[a] = b; } > > int main() > { >

[Bug c/109409] [13 Regression] ICE in check_format_arg, at c-family/c-format.cc:1777

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109409 --- Comment #2 from Andrew Pinski --- /* Variable length arrays can't be initialized. */ gcc_assert (TREE_CODE (array_size) == INTEGER_CST);

[Bug fortran/104349] ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337

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

[Bug c/109412] [13 Regression] ICE in fold_convert_loc, at fold-const.cc:2627

2023-04-04 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109412 --- Comment #2 from joseph at codesourcery dot com --- May be related to bug 107682.

[Bug target/109402] v850: non-v850e version of __muldi3() in /libgcc/config/v850/lib1funcs.S operates sp in reversed direction

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109402 --- Comment #1 from Andrew Pinski --- r0-44780-g8376061dbecc aka https://inbox.sourceware.org/gcc-patches/m3wuqam1t4@north-pole.nickc.cambridge.redhat.com/ It has been broken for almost 21 years even.

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-04 Thread damian--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 --- Comment #6 from Damian --- Hello Jakub, many thanks for you help :-) Damian

[Bug c++/109356] Enhancement idea to provide clearer missing brace line number

2023-04-04 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109356 --- Comment #3 from Jonny Grant --- A different example where GCC does a good job of indicating the line number of a missing comma problem. https://godbolt.org/z/asGhE3W17 :6:5: error: expected '}' before '{' token 6 | {"G", "H"},

[Bug target/109414] RISC-V: unnecessary sext.w in rv64

2023-04-04 Thread sinan.lin at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109414 --- Comment #2 from Sinan --- commit 23d9f62c50d935462ecda5516746037a474c25cd looks like a solution for this. like adding a new pattern for `not` ``` (define_insn "*one_cmpl_subreg" [(set (match_operand:DI 0 "register_operand" "=r")

[Bug target/109137] [12 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-04-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 --- Comment #24 from Sam James --- As a heavy consumer of the branch for our distribution, I'd say it was a (nice) surprise, but then I wasn't expecting it to end up exposing a latent bug (or making it worse). At the end of the day, not much

[Bug target/109414] New: RISC-V: unnecessary sext.w in rv64

2023-04-04 Thread sinan.lin at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109414 Bug ID: 109414 Summary: RISC-V: unnecessary sext.w in rv64 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/109414] RISC-V: unnecessary sext.w in rv64

2023-04-04 Thread sinan.lin at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109414 --- Comment #4 from Sinan --- (In reply to Andrew Pinski from comment #1) > Actually this more related to WORD_REGISTER_OPERATIONS . > > (insn 7 4 8 2 (set (reg:SI 77) > (plus:SI (subreg/s/u:SI (reg/v:DI 74 [ x ]) 0) >

[Bug target/109399] RISC-V: RVV VSETVL PASS backward demand fusiton bug

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109399 --- Comment #1 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:fdc5abbdcfb65d415af6c40230f8f07872e51e49 commit r13-7008-gfdc5abbdcfb65d415af6c40230f8f07872e51e49 Author: Juzhe-Zhong Date: Tue Apr

[Bug target/109414] RISC-V: unnecessary sext.w in rv64

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

[Bug target/109415] No predefined macros to differentiate between ARM Cortex-M33 and Cortex-M55

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109415 --- Comment #1 from Andrew Pinski --- I don't see why there should be a define here? The command line will be different between the two so you could just stick a -DXYZ somewhere or handle it in a header file.

[Bug target/109414] RISC-V: unnecessary sext.w in rv64

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109414 --- Comment #3 from Andrew Pinski --- (In reply to Sinan from comment #2) > commit 23d9f62c50d935462ecda5516746037a474c25cd looks like a solution for > this. r13-4150-g23d9f62c50d935

[Bug preprocessor/109415] New: No predefined macros to differentiate between ARM Cortex-M33 and Cortex-M55

2023-04-04 Thread Vedant.VijayYevale at infineon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109415 Bug ID: 109415 Summary: No predefined macros to differentiate between ARM Cortex-M33 and Cortex-M55 Product: gcc Version: 11.3.1 Status: UNCONFIRMED Severity:

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:840354060e23ff28d325af2b8422233ce14f40f8 commit r13-6997-g840354060e23ff28d325af2b8422233ce14f40f8 Author: Jakub Jelinek Date:

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/107674] [11/12/13 Regressions] arm: MVE codegen regressions on VCTP and vector LDR/STR instructions

2023-04-04 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107674 --- Comment #3 from Stam Markianos-Wright --- Thank you, Andre for fixing the Part 1 in this ticket :) The part 2 we've found to be a regression since r13-416-g485a0ae0982abe and is also the reason why the mve_*_memory_nodes tests are

[Bug tree-optimization/109401] New: Optimise max (a, b) + min (a, b) into a + b

2023-04-04 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109401 Bug ID: 109401 Summary: Optimise max (a, b) + min (a, b) into a + b Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/109401] Optimise max (a, b) + min (a, b) into a + b

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109401 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > (In reply to Andrew Pinski from comment #2) > > Something like this: > > (for op (somebinarops) > > (simplify > > (op:c (min:c @0 @1) (max:c @0 @1)) > >

[Bug libstdc++/109400] New: Missing 'advance' optimizations for std::istreambuf_iterator

2023-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109400 Bug ID: 109400 Summary: Missing 'advance' optimizations for std::istreambuf_iterator Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/109400] Missing 'advance' optimizations for std::istreambuf_iterator

2023-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109400 --- Comment #2 from Jonathan Wakely --- For ranges::advance we could do something like this, but it feels like there should be a better way to customize ranges::advance for your own iterators: --- a/libstdc++-v3/include/bits/ranges_base.h +++

[Bug tree-optimization/109401] Optimise max (a, b) + min (a, b) into a + b

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

[Bug libstdc++/14493] std::bad_alloc::what() does not explain what happened

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14493 --- Comment #30 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:688d126b69215db29774c249b052e52d765782b3 commit r13-6999-g688d126b69215db29774c249b052e52d765782b3 Author: Jonathan Wakely

[Bug tree-optimization/109401] Optimise max (a, b) + min (a, b) into a + b

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

[Bug tree-optimization/109401] Optimise max (a, b) + min (a, b) into a + b

2023-04-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109401 --- Comment #3 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #1) > Guess it applies to other commutative expressions, like &, | or ^. yes and == and != too.

[Bug libstdc++/109400] Missing 'advance' optimizations for std::istreambuf_iterator

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

[Bug target/109402] New: v850: non-v850e version of __muldi3() in /libgcc/config/v850/lib1funcs.S operates sp in reversed direction

2023-04-04 Thread t-hoshino--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109402 Bug ID: 109402 Summary: v850: non-v850e version of __muldi3() in /libgcc/config/v850/lib1funcs.S operates sp in reversed direction Product: gcc Version: 11.2.0

[Bug ipa/109403] New: Alignment of common blocks not reported correctly

2023-04-04 Thread jahns at dkrz dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109403 Bug ID: 109403 Summary: Alignment of common blocks not reported correctly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109401] Optimise max (a, b) + min (a, b) into a + b

2023-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109401 --- Comment #4 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #2) > Something like this: > (for op (somebinarops) > (simplify > (op:c (min:c @0 @1) (max:c @0 @1)) > (if (!FLOAT_TYPE_P(type)) Why? Commutative ops don't care

[Bug c++/109404] New: tree check: expected identifier_node, have template_id_expr in dump_decl, at cp/error.cc:1301

2023-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109404 Bug ID: 109404 Summary: tree check: expected identifier_node, have template_id_expr in dump_decl, at cp/error.cc:1301 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177 since r12-117-gb972e036f40c

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

[Bug target/109040] [13 Regression] wrong code with v16hi compare & mask on riscv64 at -O2 since r13-4907-g2e886eef7f2b5a

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

[Bug sanitizer/109107] [10/11/12/13 Regression] UBsan since GCC-8 misses an integer-overflow

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109107 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c1aca26b707471ce8051bd03b3fb2217bcdf2df0 commit r13-7001-gc1aca26b707471ce8051bd03b3fb2217bcdf2df0 Author: Marek Polacek Date:

[Bug sanitizer/109107] [10/11/12/13 Regression] UBsan since GCC-8 misses an integer-overflow

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109107 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/109404] tree check: expected identifier_node, have template_id_expr in dump_decl, at cp/error.cc:1301

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109404 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/109405] Should class final decoration result in larger unique_ptr with deleter ?

2023-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109405 Jonathan Wakely changed: What|Removed |Added Keywords||ABI --- Comment #1 from Jonathan

[Bug libstdc++/109400] Missing 'advance' optimizations for std::istreambuf_iterator

2023-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109400 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > Additionally, std::ranges::advance is not specialized for > std::istreambuf_iterator so just increments character by character. The > ranges::advance(i, n)

[Bug c++/109405] New: Should class final decoration result in larger unique_ptr with deleter ?

2023-04-04 Thread gcc at hazlewoods dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109405 Bug ID: 109405 Summary: Should class final decoration result in larger unique_ptr with deleter ? Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/109040] [13 Regression] wrong code with v16hi compare & mask on riscv64 at -O2 since r13-4907-g2e886eef7f2b5a

2023-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109040 --- Comment #5 from Jakub Jelinek --- The insn with HImode subreg comes from RTL DSE, before DSE we have: (insn 36 35 39 2 (set (mem/c:SI (plus:SI (reg/f:SI 65 frame) (const_int -64 [0xffc0])) [2 S4 A128])

[Bug tree-optimization/109393] Very trivial address calculation does not fold

2023-04-04 Thread manolis.tsamis at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109393 --- Comment #2 from manolis.tsamis at vrull dot eu --- (In reply to Andrew Pinski from comment #1) > Note sometimes -fwrapv will optimize things because it can assume that > overflow is defined as wrapping and this is one case that is true. Yes

[Bug c++/109405] Should class final decoration result in larger unique_ptr with deleter ?

2023-04-04 Thread gcc at hazlewoods dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109405 --- Comment #2 from Richard Hazlewood --- Ah, ok. Thanks for quick response.

[Bug target/109040] [13 Regression] wrong code with v16hi compare & mask on riscv64 at -O2 since r13-4907-g2e886eef7f2b5a

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

[Bug tree-optimization/109386] [13 Regression] Frange value relation related miscompilation

2023-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109386 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ce243c9eefc2728cb8743ebbcb84c3e08236f06a commit r13-7002-gce243c9eefc2728cb8743ebbcb84c3e08236f06a Author: Jakub Jelinek Date:

[Bug tree-optimization/109407] New: instruction cmpxchgl run error when using with g++ -O

2023-04-04 Thread johgjc at yeah dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109407 Bug ID: 109407 Summary: instruction cmpxchgl run error when using with g++ -O Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/109396] Winit-self doesn't warn when std::move()-d

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109396 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/109407] instruction cmpxchgl run error when using with g++ -O

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

[Bug c/109408] New: [13 Regression] ICE in decide_about_value, at ipa-cp.cc:6154

2023-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109408 Bug ID: 109408 Summary: [13 Regression] ICE in decide_about_value, at ipa-cp.cc:6154 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/109409] New: [13 Regression] ICE in check_format_arg, at c-family/c-format.cc:1777

2023-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109409 Bug ID: 109409 Summary: [13 Regression] ICE in check_format_arg, at c-family/c-format.cc:1777 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/109410] New: [13 Regression] ICE: verify_flow_info failed

2023-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 Bug ID: 109410 Summary: [13 Regression] ICE: verify_flow_info failed Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/109412] New: [13 Regression] ICE in fold_convert_loc, at fold-const.cc:2627

2023-04-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109412 Bug ID: 109412 Summary: [13 Regression] ICE in fold_convert_loc, at fold-const.cc:2627 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug debug/109411] New: missing debug information with statement frontiers

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109411 Bug ID: 109411 Summary: missing debug information with statement frontiers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug debug/109411] missing debug information with statement frontiers

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109411 Marek Polacek changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c/109409] [13 Regression] ICE in check_format_arg, at c-family/c-format.cc:1777

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109409 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Priority|P3

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-04 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #38 from Martin Uecker --- Am Dienstag, dem 04.04.2023 um 15:07 + schrieb qinzhao at gcc dot gnu.org: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 > > --- Comment #37 from qinzhao at gcc dot gnu.org --- > (In reply to

[Bug c/109412] [13 Regression] ICE in fold_convert_loc, at fold-const.cc:2627

2023-04-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109412 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/109386] [13 Regression] Frange value relation related miscompilation

2023-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109386 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/109406] New: Missing use of aarch64 SVE2 unpredicated integer multiply

2023-04-04 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109406 Bug ID: 109406 Summary: Missing use of aarch64 SVE2 unpredicated integer multiply Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug target/109406] Missing use of aarch64 SVE2 unpredicated integer multiply

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

[Bug target/109040] [13 Regression] wrong code with v16hi compare & mask on riscv64 at -O2 since r13-4907-g2e886eef7f2b5a

2023-04-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109040 --- Comment #6 from Jakub Jelinek --- Created attachment 54809 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54809=edit gcc13-pr109040.patch The following patch seems to fix it at least when eyeballing the testcase in a cross-compiler,

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-04 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #37 from qinzhao at gcc dot gnu.org --- (In reply to Martin Uecker from comment #36) > > I considered pointers to arrays: > > struct P { > int n; > char (*buf)[.n]; > }; > Okay. Then for the field "buf", it has a pointer