[Bug c/107285] Incorrect code generation when we use __builtin_constant_p built-in function.

2022-10-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107285 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org St

[Bug c/107285] Incorrect code generation when we use __builtin_constant_p built-in function.

2022-10-17 Thread alex.curiou at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107285 --- Comment #2 from Alexey --- Well, currently The code generation is just could be wrong. If we use the example provided: we have to see or 13 or 60 in both cases. We have to see same result from bar function and from the final result of the

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-10-17 Version|unknown

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #35 from Richard Biener --- *** Bug 107269 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/107269] wrong code at -O1 and above with "-fno-tree-ccp" on x86_64-linux-gnu

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107269 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug target/107271] [13 Regression] ICE: in expand_vec_perm_shufps_shufps, at config/i386/i386-expand.cc:19676 with __builtin_shuffle()

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107271 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #36 from Richard Biener --- *** Bug 107273 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/107273] wrong code at -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/107275] [13 Regression] Recent ifcvt changes resulting in references to SSA_NAME on free list

2022-10-17 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107275 avieira at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |avieira at gcc dot g

[Bug tree-optimization/107286] New: gcc/value-range.cc:4027: range_tests_floats: FAIL: ASSERT_TRUE ((real_isinf (&r0.lower_bound (), true)))

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107286 Bug ID: 107286 Summary: gcc/value-range.cc:4027: range_tests_floats: FAIL: ASSERT_TRUE ((real_isinf (&r0.lower_bound (), true))) Product: gcc Version: 13.0 Status: UNCON

[Bug tree-optimization/107274] Incorrect -Wuninitialized on indexed initialization

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107274 Richard Biener changed: What|Removed |Added Blocks||24639 Resolution|---

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 107274, which changed state. Bug 107274 Summary: Incorrect -Wuninitialized on indexed initialization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107274 What|Removed |Added -

[Bug tree-optimization/107286] gcc/value-range.cc:4027: range_tests_floats: FAIL: ASSERT_TRUE ((real_isinf (&r0.lower_bound (), true)))

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107286 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug tree-optimization/107275] [13 Regression] Recent ifcvt changes resulting in references to SSA_NAME on free list

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107275 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107279] __builtin_complex is not supported

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

[Bug target/107281] comparisations with u/int64_t constants not generate vector-result

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107281 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-10-17 Ever confirmed|0

[Bug c/107285] Incorrect code generation when we use __builtin_constant_p built-in function.

2022-10-17 Thread alex.curiou at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107285 --- Comment #3 from Alexey --- (In reply to Jakub Jelinek from comment #1) > That is just bogus expectation. > __builtin_constant_p works that it has a cut-off after certain optimizations > (for -O0 already very early), if optimizations before

[Bug target/107283] conversions u/int64_t to float64/32_t are not vectorized

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107283 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Component|tree-optimization

[Bug target/100799] Stackoverflow in optimized code on PPC

2022-10-17 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 --- Comment #17 from Surya Kumari Jangala --- I analysed the reduced test case specified in comment 15. In the .s file, the callee decrements r1 by 224, ie, callee’s frame size is 224. But there is an instruction in the callee that accesses into

[Bug c++/107287] New: -Wuninitialized false positive (in all GCC versions)

2022-10-17 Thread kim.walisch at gmail dot com via Gcc-bugs
4 gcc (trunk)" and "-O3 -Wall -Werror -pedantic" this produces the following warning (see https://godbolt.org/z/qv3W8j44b): In file included from /opt/compiler-explorer/gcc-trunk-20221017/include/c++/13.0.0/iostream:41, from :1: In member function 'std::ba

[Bug c++/107288] New: Double-free of temporaries created in statement following co_await

2022-10-17 Thread hodges.r at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288 Bug ID: 107288 Summary: Double-free of temporaries created in statement following co_await Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/107288] Double-free of temporaries created in statement following co_await

2022-10-17 Thread hodges.r at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288 --- Comment #1 from Richard Hodges --- Created attachment 53712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53712&action=edit .ii file as requested Intermediate source file as required by submission guidelines (g-zipped)

[Bug c/107285] Incorrect code generation when we use __builtin_constant_p built-in function.

2022-10-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107285 --- Comment #4 from Jakub Jelinek --- No, the generated code is just fine. At -O2, bar is inlined into main. So we have unsigned int a = __builtin_constant_p (3) ? 13 : 60; and 3 is constant. In the out of line copy of bar, value1 is a function

[Bug target/107283] conversions u/int64_t to float64/32_t are not vectorized

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

[Bug target/100799] Stackoverflow in optimized code on PPC

2022-10-17 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 --- Comment #18 from Surya Kumari Jangala --- I git cloned and built flexiblas to see what is the frame size and what is the assembly code generated for the flexiblas C wrapper routine for dgebal. The important assembly code snippets for dgebal

[Bug target/107283] conversions u/int64_t to float64/32_t are not vectorized

2022-10-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107283 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug analyzer/107289] New: - -Wanayzer-null-dereference false positive with f = *b

2022-10-17 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107289 Bug ID: 107289 Summary: - -Wanayzer-null-dereference false positive with f = *b Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/107290] New: False positive -Wuninitialized with Eigen

2022-10-17 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107290 Bug ID: 107290 Summary: False positive -Wuninitialized with Eigen Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/107257] Wrong code at -O2 on x86_64-linux-gnu

2022-10-17 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107257 Li Shaohua changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug tree-optimization/99394] s254 benchmark of TSVC is vectorized by clang and not by gcc

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99394 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:46a8e017d048ec3271bbb898942e3b166c4e8ff3 commit r13-3327-g46a8e017d048ec3271bbb898942e3b166c4e8ff3 Author: Richard Biener Date:

[Bug tree-optimization/99409] s252 benchmark of TSVC is vectorized by clang and not by gcc

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99409 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:46a8e017d048ec3271bbb898942e3b166c4e8ff3 commit r13-3327-g46a8e017d048ec3271bbb898942e3b166c4e8ff3 Author: Richard Biener Date:

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

2022-10-17 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 99394, which changed state. Bug 99394 Summary: s254 benchmark of TSVC is vectorized by clang and not by gcc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99394 What|Removed |Added ---

[Bug tree-optimization/99394] s254 benchmark of TSVC is vectorized by clang and not by gcc

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

[Bug tree-optimization/99409] s252 benchmark of TSVC is vectorized by clang and not by gcc

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

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

2022-10-17 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 99409, which changed state. Bug 99409 Summary: s252 benchmark of TSVC is vectorized by clang and not by gcc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99409 What|Removed |Added ---

[Bug tree-optimization/107275] [13 Regression] Recent ifcvt changes resulting in references to SSA_NAME on free list

2022-10-17 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107275 avieira at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/107257] [13 Regression] Wrong code at -O2 on x86_64-linux-gnu since r13-857-gf1652e3343b1ec47

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107257 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Component|c

[Bug target/107248] wrong scheduling of stack adjustment in leaf function at -O2

2022-10-17 Thread dennis.borde at ohb dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107248 --- Comment #10 from Dennis Borde --- Much more important: Thanks for fixing it :-)

[Bug target/107257] [13 Regression] Wrong code at -O2 on x86_64-linux-gnu since r13-857-gf1652e3343b1ec47

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107257 --- Comment #6 from Richard Biener --- With -fno-tree-slp-vectorize the failure goes away. diff in optimized: __attribute__((noipa, noinline, noclone, no_icf)) void q () { - [local count: 1073742492]: - MEM [(int *)&d] = 183800210910307

[Bug c++/107291] New: [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461

2022-10-17 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291 Bug ID: 107291 Summary: [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-inv

[Bug c++/107290] False positive -Wuninitialized with Eigen

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107290 Richard Biener changed: What|Removed |Added Blocks||24639 Keywords|

[Bug tree-optimization/105820] [13 Regression] ICE in invert, at value-range.cc:1971

2022-10-17 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105820 --- Comment #5 from Arseny Solokha --- I cannot reproduce this ICE w/ the current gcc 13.0.0 20221016 snapshot (g:6366e3e8847af98d4728d55951534769d034d02a).

[Bug target/107265] error: TARGET_VXWORKS7 was not declared in this scope; did you mean TARGET_VXWORKS

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107265 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug c++/107276] ICE Deducing return type from ill-formed structured binding name

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107276 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-10-17 Status|UNCONFIRME

[Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-10-17 Summary|ice in

[Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107287] -Wuninitialized false positive (in all GCC versions)

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107287 Richard Biener changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291 Richard Biener changed: What|Removed |Added Keywords||error-recovery Target Milestone|---

[Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 --- Comment #9 from Martin Liška --- More reduced test-case: template struct integral_constant { static constexpr int value = __v; }; template using __bool_constant = integral_constant<__v>; template struct __conditional { template usin

[Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Version|12.0

[Bug c++/107292] New: no warning for unused std::error_code

2022-10-17 Thread trass3r at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107292 Bug ID: 107292 Summary: no warning for unused std::error_code Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/107280] ICE: tree check: expected constructor, have view_convert_expr in cxx_eval_store_expression, at cp/constexpr.cc:5928

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107280 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-10-17 Target Milestone|---

[Bug c++/107282] ICE on valid code template + overloaded + visit

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107282 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug middle-end/107284] Option properties Mask infrastructure can be extended with wide_int_bitmask

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107284 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug target/107271] [13 Regression] ICE: in expand_vec_perm_shufps_shufps, at config/i386/i386-expand.cc:19676 with __builtin_shuffle() since r13-2843-g3db8e9c2422d924a

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107271 Martin Liška changed: What|Removed |Added Summary|[13 Regression] ICE: in |[13 Regression] ICE: in

[Bug c++/107288] Double-free of temporaries created in statement following co_await

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107288 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-10-17 CC|

[Bug c/107293] New: Wrong code at -Os on x86_64-linux-gnu

2022-10-17 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
algorithms: zlib gcc version 13.0.0 20221017 (experimental) (GCC) % % gcc-tk -w -O0 a.c && ./a.out 1 % gcc-tk -w -Os a.c && ./a.out 0 % cat a.c short a; int b[1]; int c(int p) { return (p < 0) ? 0 : 10 + ((p / 100 - 16) / 4); } void f(int n) { while (1) { int m = n; wh

[Bug c++/107282] ICE on valid code template + overloaded + visit

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107282 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a

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

[Bug tree-optimization/107293] Wrong code at -Os on x86_64-linux-gnu since r13-2876-g2460f7cdef7ef9c9

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107293 Martin Liška changed: What|Removed |Added Summary|Wrong code at -Os on|Wrong code at -Os on |

[Bug tree-optimization/105820] [13 Regression] ICE in invert, at value-range.cc:1971

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105820 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/107254] [11/12 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

2022-10-17 Thread bartoldeman at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 --- Comment #10 from bartoldeman at users dot sourceforge.net --- Thanks for the fix! I can confirm that, when applied to 11.3 (with files renamed from .cc to .c), it fixes the issue, and with it, thousands of test failures in the reference LAPAC

[Bug tree-optimization/106155] [12/13 Regression] spurious "may be used uninitialized" warning

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

[Bug tree-optimization/106119] [12/13 Regression] Bogus use-after-free warning triggered by optimizer

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106119 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc

[Bug tree-optimization/106722] bogus uninit warning in tree-vect-loop-manip.cc

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

[Bug tree-optimization/105820] [13 Regression] ICE in invert, at value-range.cc:1971

2022-10-17 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105820 --- Comment #7 from Arseny Solokha --- I believe it won't hurt to add a testcase to the test suite.

[Bug fortran/107294] New: Missed optimization: multiplying real with complex number in Fortran (only)

2022-10-17 Thread bartoldeman at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107294 Bug ID: 107294 Summary: Missed optimization: multiplying real with complex number in Fortran (only) Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/105820] [13 Regression] ICE in invert, at value-range.cc:1971

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105820 --- Comment #8 from Martin Liška --- (In reply to Arseny Solokha from comment #7) > I believe it won't hurt to add a testcase to the test suite. Sure, Aldy can you please do that?

[Bug tree-optimization/107293] Wrong code at -Os on x86_64-linux-gnu since r13-2876-g2460f7cdef7ef9c9

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107293 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug middle-end/107208] [aarch64] _complex integer return types could be improved

2022-10-17 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107208 --- Comment #4 from Richard Earnshaw --- (In reply to vfdff from comment #3) > it seems releted to targetm.calls.function_value called by assign_parms, who > return different behaviour for MODE_COMPLEX_FLOAT and MODE_COMPLEX_INT. With > the foll

[Bug fortran/107294] Missed optimization: multiplying real with complex number in Fortran (only)

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107294 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/107295] New: [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107295 Bug ID: 107295 Summary: [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/107295] [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107295 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/107294] Missed optimization: multiplying real with complex number in Fortran (only)

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107294 --- Comment #2 from Richard Biener --- Oh, and of course 0 * NaN also isn't 0.

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #28 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e8d5f3a1b5a5839cb1db57d6f6766469cc4f8747 commit r12-8835-ge8d5f3a1b5a5839cb1db57d6f6766469cc4f8747 Author: Richard Biene

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #29 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:641369e29f57c508e6316d5d221c1a92900163f9 commit r12-8836-g641369e29f57c508e6316d5d221c1a92900163f9 Author: Jakub Jelinek

[Bug target/107160] [12 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107160 --- Comment #19 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d282dd56275485a88e1fe9c4ae1939b62d23b20b commit r12-8839-gd282dd56275485a88e1fe9c4ae1939b62d23b20b Author: Richard Biene

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #30 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b9f58edfc2ccb0fb3840751a2fb4268ce5dd9b3d commit r12-8837-gb9f58edfc2ccb0fb3840751a2fb4268ce5dd9b3d Author: Richard Biene

[Bug tree-optimization/107254] [11/12 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:fe7d74313736b8e1c30812bc49419f419bdf1c53 commit r12-8841-gfe7d74313736b8e1c30812bc49419f419bdf1c53 Author: Richard Biene

[Bug tree-optimization/107212] [11/12 Regression] Wrong vectorizer code since r11-718-gc735929a2503a7d0

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107212 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d127348d7711e148e5ddd205a8c3409b37fae64c commit r12-8840-gd127348d7711e148e5ddd205a8c3409b37fae64c Author: Richard Biener

[Bug tree-optimization/107107] [10/11/12 Regression] Wrong codegen from TBAA when stores to distinct same-mode types are collapsed?

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107107 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ff0a274e5c3026b105c7f51126fa51f8178fa42c commit r12-8838-gff0a274e5c3026b105c7f51126fa51f8178fa42c Author: Richard Biene

[Bug target/107160] [12 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006

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

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

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 107160, which changed state. Bug 107160 Summary: [12 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107160 What|Removed

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 106922, which changed state. Bug 106922 Summary: [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 What|Removed

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

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

[Bug c++/107295] [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

2022-10-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107295 --- Comment #1 from Jakub Jelinek --- That is likely the "There is one exception, pr68180.C looks like a bug in the patch which is also present in the C FE (so I'd like to get it resolved incrementally in both). Reduced testcase: typedef float

[Bug c++/107295] [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

2022-10-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107295 --- Comment #2 from Jakub Jelinek --- Do you have a reproducer?

[Bug c++/107296] New: C++20 nested typename: non-template used as template, need typename

2022-10-17 Thread tomaqa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107296 Bug ID: 107296 Summary: C++20 nested typename: non-template used as template, need typename Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106189] [10/11 Regression] ICE: Floating point exception since r9-1948-gd893b683f40884cd

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106189 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9124675d2771aaf573bfbbe237ab28030bf3115d commit r11-10316-g9124675d2771aaf573bfbbe237ab28030bf3115d Author: Richard Biene

[Bug tree-optimization/106934] [10/11 Regression] ICE: verify_gimple failed since r9-5682-gef310a95a934d0f3

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106934 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2bb2560ae196df515cfea9161a27ee86a1594777 commit r11-10318-g2bb2560ae196df515cfea9161a27ee86a1594777 Author: Richard Biene

[Bug middle-end/106892] [11 Regression] Wrong code at -O3 on x86_64-linux-gnu since r11-963-g80d6f89e78fc3b77

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106892 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d4bcab0b622cf8f2b6aadd982155c7e2d37d5887 commit r11-10317-gd4bcab0b622cf8f2b6aadd982155c7e2d37d5887 Author: Richard Bien

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2022-10-17 Thread jmuizelaar at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 --- Comment #2 from Jeff Muizelaar --- Even for small arrays clang does a noticeably better job: https://gcc.godbolt.org/z/4d3TjGazY

[Bug tree-optimization/107286] gcc/value-range.cc:4027: range_tests_floats: FAIL: ASSERT_TRUE ((real_isinf (&r0.lower_bound (), true)))

2022-10-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107286 --- Comment #2 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:cb1edef9f4dadeffa15fdfd2fb206d78027b7b32 commit r13-3335-gcb1edef9f4dadeffa15fdfd2fb206d78027b7b32 Author: Aldy Hernandez Date:

[Bug middle-end/106892] [11 Regression] Wrong code at -O3 on x86_64-linux-gnu since r11-963-g80d6f89e78fc3b77

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106892 Richard Biener changed: What|Removed |Added Known to fail||11.3.0 Status|ASSIGNED

[Bug tree-optimization/107286] gcc/value-range.cc:4027: range_tests_floats: FAIL: ASSERT_TRUE ((real_isinf (&r0.lower_bound (), true)))

2022-10-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107286 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/107295] [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107295 --- Comment #3 from Martin Liška --- Sure, sorry, I forgot to send it: template struct VecHelper { typedef T __attribute__((vector_size(sizeof(int V; }; template using Vec = typename VecHelper::V; template using V = Vec<4, T>; using F

[Bug c++/107296] C++20 nested typename: non-template used as template, need typename

2022-10-17 Thread tomaqa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107296 --- Comment #1 from Tomáš K. --- Created attachment 53715 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53715&action=edit output Output of the gcc command mentioned above

[Bug other/107297] New: Support markdown in bugzilla comments

2022-10-17 Thread jmuizelaar at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107297 Bug ID: 107297 Summary: Support markdown in bugzilla comments Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug other/107297] Support markdown in bugzilla comments

2022-10-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107297 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >