[Bug c++/61105] [constexpr] accepts-invalid with new-expression in constant expression

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61105 --- Comment #8 from Andrew Pinski --- (In reply to Martin Sebor from comment #6) > $ cat xx.cpp && /build/gcc-60760/gcc/xgcc -B /build/gcc-60760/gcc -S -Wall > -Wextra -Wpedantic -o/dev/null xx.cpp > constexpr void *operator new (__SIZE_TYPE__,

[Bug target/57601] Vector lowering could use larger modes

2021-08-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57601 H.J. Lu changed: What|Removed |Added Target Milestone|--- |10.0 Status|UNCONFIRMED

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2021-08-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 57601, which changed state. Bug 57601 Summary: Vector lowering could use larger modes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57601 What|Removed |Added -

[Bug debug/101987] gcc 10.3.1 fails to generate debugging information for aarch64 .S files

2021-08-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101987 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug target/101849] MMA built-in dies with a verify_gimple failed error

2021-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101849 --- Comment #6 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:b0963c4379becafaebd8e52b0b42698ff151c293 commit r12-3034-gb0963c4379becafaebd8e52b0b42698ff151c293 Author: Peter Bergner Date: T

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

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

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #2 from Andrew Pinski --- I also noticed, GCC accepts while clang rejects: template struct A { A(T); }; auto p = new A[]{A(1),A(1)}; While changing it to [2], both GCC and clang accepts it.

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I also noticed, GCC accepts while clang rejects: > template struct A { A(T); }; > auto p = new A[]{A(1),A(1)}; > > While changing it to [2], both GCC and clang

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #4 from Andrew Pinski --- Maybe related to PR 82110 but there has been other CTAD changes in GCC 12 too.

[Bug tree-optimization/96481] SLP fail to vectorize VEC_COND_EXPR pattern.

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96481 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2020-08-0

[Bug tree-optimization/96563] Failure to optimize loop with condition to simple arithmetic

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96563 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-08-11 00:00:00 |2021-8-19 --- Comment #2 from Andrew Pin

[Bug tree-optimization/96234] Sub-optimal register allocation with a signed integer literal.

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96234 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew P

[Bug tree-optimization/90774] avoid doing vector splat arithmetic where possible

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90774 --- Comment #5 from Andrew Pinski --- testcase: typedef int v4si __attribute__ ((vector_size (16))); v4si square(v4si num, int y, int x, int h, int k, int w, int p, int j, int u) { return num + 1 + k / 2 + p * 6234 + 75 * h + j / 3452 + 53 *

[Bug debug/101987] gcc 10.3.1 fails to generate debugging information for aarch64 .S files

2021-08-19 Thread dcmay at copper dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101987 --- Comment #5 from Dietmar May --- I've confirmed that the issue is present in binutils 2.36.1, but not 2.35.1 ARM / Linaro's aarch64 10.2.1 toolchain uses binutils 2.35.1 Their 10.3.1 toolchain uses binutils 2.36.1 By copying the 'as' binary

[Bug tree-optimization/90774] avoid doing vector splat arithmetic where possible

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90774 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-06-07 00:00:00 |2021-8-19 Blocks|

[Bug target/91796] Sub-optimal YMM register allocation.

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91796 --- Comment #9 from Andrew Pinski --- In GCC 5-8 we produced: vpcmpeqd%ymm2, %ymm2, %ymm2 vpsllq $63, %ymm2, %ymm2 vandnpd %ymm1, %ymm2, %ymm1 vandpd %ymm2, %ymm0, %ymm0 vorpd %ymm1, %ymm0, %ymm

[Bug target/91796] Sub-optimal YMM register allocation.

2021-08-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91796 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #10

[Bug tree-optimization/94945] Missed optimization: Carry chain not recognized in manually unrolled loop

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94945 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/101989] New: Fail to optimize (a & b) | (c & ~b) to vpternlog instruction.

2021-08-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101989 Bug ID: 101989 Summary: Fail to optimize (a & b) | (c & ~b) to vpternlog instruction. Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimizat

[Bug target/101989] Fail to optimize (a & b) | (c & ~b) to vpternlog instruction.

2021-08-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101989 --- Comment #1 from Hongtao.liu --- Another testcase is from pr91796 __m256d copysign2_pd(__m256d from, __m256d to) { auto a = _mm256_castpd_si256(from); auto avx_signbit = _mm256_castsi256_pd(_mm256_slli_epi64(_mm256_cmpeq_

[Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87

2021-08-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990 Bug ID: 101990 Summary: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 Product: gcc Ve

[Bug target/101989] Fail to optimize (a & b) | (c & ~b) to vpternlog instruction.

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101989 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-20 Status|UNCONFIRM

[Bug c++/101990] [12 Regression] ICE after parse error with concepts

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Summary|ICE: tree check

[Bug c++/101990] [12 Regression] ICE after parse error with concepts

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-20 Status|UNCONFIRM

[Bug c++/84322] -fstrong-eval-order violated on assignment with function call

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84322 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-02-14 00:00:00 |2021-8-19 --- Comment #3 from Andrew Pin

[Bug tree-optimization/101991] New: bit_and or bit_ior with an invariant inside loop is not pulled out of the loop

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101991 Bug ID: 101991 Summary: bit_and or bit_ior with an invariant inside loop is not pulled out of the loop Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/101992] New: new object was created erroneously when co_await on function call that return lvalue reference

2021-08-19 Thread lbqq0000 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101992 Bug ID: 101992 Summary: new object was created erroneously when co_await on function call that return lvalue reference Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug tree-optimization/101993] New: Potential vectorization opportunity when condition checks array address

2021-08-19 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 Bug ID: 101993 Summary: Potential vectorization opportunity when condition checks array address Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/95566] x86 instruction selection --- some REX prefixes unnecessary

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95566 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-20 Severity|normal

[Bug tree-optimization/95752] Failure to optimize complicated usage of __builtin_ctz with conditionals properly

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

[Bug tree-optimization/66675] Could improve vector lane folding style operations.

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66675 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-06-25 00:00:00 |2021-8-19 --- Comment #6 from Andrew Pin

<    1   2