[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 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/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:

[Fortran] OG11 backports

2021-08-19 Thread Sandra Loosemore
I've backported several patches having to do with Fortran/C interoperability from mainline to the OG11 branch. See attached log for details. -Sandra commit d554155c07771935778f557e9ef649cc3624d1ce Author: Sandra Loosemore Date: Wed Aug 11 19:24:17 2021 -0700 Fortran: Fix c_float128

[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/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

[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

[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

[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

[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

[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

[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 =

[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:

Re: [PATCH] more warning code refactoring

2021-08-19 Thread Kewen.Lin via Gcc-patches
Hi Martin, on 2021/8/20 上午12:30, Martin Sebor wrote: > On 8/19/21 9:03 AM, Martin Sebor wrote: >> On 8/18/21 11:56 PM, Kewen.Lin wrote: >>> Hi David, >>> >>> on 2021/8/19 上午11:26, David Edelsohn via Gcc-patches wrote: Hi, Martin A few PowerPC-specific testcases started failing

[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/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 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,

[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 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'

[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 *

Re: [PATCH] PR fortran/100950 - ICE in output_constructor_regular_field, at varasm.c:5514

2021-08-19 Thread H.J. Lu via Gcc-patches
On Thu, Aug 19, 2021 at 12:12 PM Harald Anlauf via Gcc-patches wrote: > > Hi Tobias, > > > I am inclined to say that the Intel compiler has a bug by not > > accepting it – but as written before, I regard sub-string length > > (esp. with const expr) inquiries as an odd corner case which > > is

[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

Re: [PATCH] Simplify (truncate:QI (subreg:SI (reg:QI x))) to (reg:QI x)

2021-08-19 Thread Andrew Pinski via Gcc-patches
On Thu, Aug 19, 2021 at 4:18 PM Roger Sayle wrote: > > > Whilst working on a backend patch, I noticed that the middle-end's > RTL optimizers weren't simplifying a truncation of a paradoxical > subreg extension, though it does transform closely related (more > complex) expressions. The main

Re: [PATCH] rs6000: Fix ICE expanding lxvp and stxvp gimple built-ins [PR101849]

2021-08-19 Thread Peter Bergner via Gcc-patches
On 8/13/21 12:15 PM, Bill Schmidt wrote: > Honestly, I don't see how it matters. So far as I can tell, all you've done > here is hand-inlined what build_simple_mem_ref would do. So I guess I have > a slight preference for your original patch (but with the new test case, > of course). Ok, I

[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

[PATCH] Simplify (truncate:QI (subreg:SI (reg:QI x))) to (reg:QI x)

2021-08-19 Thread Roger Sayle
Whilst working on a backend patch, I noticed that the middle-end's RTL optimizers weren't simplifying a truncation of a paradoxical subreg extension, though it does transform closely related (more complex) expressions. The main (first) part of this patch implements this simplification, reusing

[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

[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.

[PATCH] enable ranger and caching in pass_waccess

2021-08-19 Thread Martin Sebor via Gcc-patches
The attached patch changes the new access warning pass to use the per-function ranger instance. To do that it makes a number of the global static functions members of the pass (that involved moving one to a later point in the file, increasing the diff; the body of the function hasn't changed

[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 #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.

[PATCH] nvptx: Add a __PTX_ISA__ predefined macro based on target ISA.

2021-08-19 Thread Roger Sayle
This patch adds a __PTX_ISA__ predefined macro to the nvptx backend that allows code to check the compute model being targeted by the compiler. This is equivalent to the __CUDA_ARCH__ macro defined by CUDA's nvcc compiler, but to avoid causing problems for source code that checks for that

[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|

gcc-9-20210819 is now available

2021-08-19 Thread GCC Administrator via Gcc
Snapshot gcc-9-20210819 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20210819/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[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:

Re: [committed] Drop stabs support from h8300 and v850 ports

2021-08-19 Thread Jeff Law via Gcc-patches
On 8/19/2021 12:24 PM, Gerald Pfeifer wrote: On Thu, 19 Aug 2021, Jeff Law via Gcc-patches wrote: Whee, two more ports dropping stabs. Committed to the trunk. Are you saying you're on a mission to stab wodden stakes into stabs? Seems that way  :-)    I hadn't really set out to do that, but

[Patch][doc][PR101843]clarification on building gcc and binutils together

2021-08-19 Thread Qing Zhao via Gcc-patches
Hi, This patch is on behalf of John Henning, who opened PR 101843: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101843 He proposed the following doc change, please take a look and let me know whether this is Okay for commit? Thanks. Qing >From

Re: [PATCH] Move xx* builtins to vsx.md.

2021-08-19 Thread Segher Boessenkool
On Thu, Aug 19, 2021 at 06:10:46PM -0400, Michael Meissner wrote: > On Wed, Aug 18, 2021 at 06:11:03PM -0500, Segher Boessenkool wrote: > > I think the current vector.md / altivec.md / vsx.md / rs6000.md > > division is artificial at best. Most of the basic (movement etc.) > > things are in

Re: [PATCH] Move xx* builtins to vsx.md.

2021-08-19 Thread Michael Meissner via Gcc-patches
On Wed, Aug 18, 2021 at 06:11:03PM -0500, Segher Boessenkool wrote: > On Wed, Aug 18, 2021 at 04:42:42PM -0400, David Edelsohn wrote: > > I wanted to give Segher a chance to comment on the structure. > > I think the current vector.md / altivec.md / vsx.md / rs6000.md > division is artificial at

[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 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 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 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 c++/86440] -Wignored-qualifiers diagnostic highlights wrong token with pointer

2021-08-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86440 --- Comment #2 from nightstrike --- gcc 11.2 changes it somewhat: a.c:1:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1 | int const f() { return 0; } | ^ a.c:3:13: warning: type qualifiers

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

2021-08-19 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Bug ID: 101988 Summary: Accepts invalid new-expression of array of deduced class template Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[PATCH v2] rs6000: Avoid buffer overruns

2021-08-19 Thread Bill Schmidt via Gcc-patches
Hi, I totally biffed the previous version of this patch, as it was built against an experimental tree instead of trunk. Trying again... Although safe_inc_pos avoids buffer overruns in rs6000-gen-builtins.c, there are some other routines where we fail to detect the possibility. Clean those up!

[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 Dietmar May changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #4 from Dietmar May

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-19 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #23 from xaizek --- > it should be fixed in the updated version of the patch. Yes, it is. > Right now, one can easily detect JSON format with > `gcov --help | grep json-format`, am I right? What type of capability would > you

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

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

[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 #2 from Dietmar May --- $ /opt/linaro/10.3.1/bin/aarch64-none-elf-gcc -v -g src/boot.S -c Using built-in specs. COLLECT_GCC=/opt/linaro/10.3.1/bin/aarch64-none-elf-gcc Target: aarch64-none-elf Configured with:

[Bug tree-optimization/101977] [12 Regression] array subscript 0 is outside array bounds

2021-08-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101977 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Assignee|unassigned at

[Bug tree-optimization/101977] array subscript 0 is outside array bounds

2021-08-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101977 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

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

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

[Bug debug/101987] New: 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 Bug ID: 101987 Summary: gcc 10.3.1 fails to generate debugging information for aarch64 .S files Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity:

[Bug target/101916] SH4 ICE: Segmentation fault signal terminated program cc1

2021-08-19 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101916 Thomas Petazzoni changed: What|Removed |Added CC||thomas.petazzoni@free-elect

[Bug target/101915] Microblaze ICE: in extract_insn, at recog.c:2770

2021-08-19 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915 Thomas Petazzoni changed: What|Removed |Added CC||thomas.petazzoni@free-elect

[Bug target/25671] test_bit() compilation does not expand to "bt" instruction

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25671 --- Comment #10 from Andrew Pinski --- With the fixed testcase we get: movq%rsi, %rax movq%rsi, %rcx shrq$6, %rax andl$63, %ecx movq(%rdi,%rax,8), %rax shrq%cl, %rax

[Bug target/25671] test_bit() compilation does not expand to "bt" instruction

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25671 --- Comment #9 from Andrew Pinski --- Note there is a bug in the original testcase. It should be: int test_bit(unsigned long *words, int bit) { int wsize = (sizeof *words) * 8; return (words[bit / wsize] & (1ul << (bit % wsize))) != 0;

[Bug target/89360] GCC doesn't emit cmovcc instruction in some cases

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89360 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target --- Comment #2 from Andrew

[Bug target/101952] SH4 ICE: Error: unaligned opcodes detected in executable segment

2021-08-19 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101952 Thomas Petazzoni changed: What|Removed |Added CC||thomas.petazzoni@free-elect

[Bug tree-optimization/89360] GCC doesn't emit cmovcc instruction in some cases

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

[Bug middle-end/89081] [x86] suboptimal code generated for condition expression returning negation

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89081 Andrew Pinski changed: What|Removed |Added Component|target |middle-end Severity|normal

Re: [ping] Re-unify 'omp_build_component_ref' and 'oacc_build_component_ref'

2021-08-19 Thread Thomas Schwinge
Hi! Richard, maybe you have an opinion here, in particular about my "SLP vectorizer" comment below? Please see <87r1f2puss.fsf@euler.schwinge.homeip.net">http://mid.mail-archive.com/87r1f2puss.fsf@euler.schwinge.homeip.net> for the full context. On 2021-08-16T10:21:04+0200, Jakub Jelinek

[Bug target/79709] Subobtimal code with -mavx and explicit vector

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

[Bug go/101986] New: go, sparc64: Segmentation violation during kubernetes build

2021-08-19 Thread ulrich.teichert at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101986 Bug ID: 101986 Summary: go, sparc64: Segmentation violation during kubernetes build Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

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

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57601 --- Comment #3 from Andrew Pinski --- This is fixed in GCC 10+ with the patches do do 64bit vector support in SSE.

[Bug target/86541] Use SSE to emulate __attribute__((vector_size(8)))

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86541 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #3 from

[PATCH] libgfortran : Use the libtool macro to determine libm availability.

2021-08-19 Thread Iain Sandoe
Hi, A while ago had a report of build failure against a Darwin branch on the latest OS release. This was because (temporarily) the symlink from libm.dylib => libSystem.dylib had been removed/omitted. libm is not needed on Darwin, and should not be added unconditionally even if that is (mostly)

[Bug rtl-optimization/48037] Missed optimization: unnecessary register moves

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[PATCH] testsuite, Darwin : Do not claim 'GAS' for cctools assembler.

2021-08-19 Thread Iain Sandoe
Hi, Although the cctools assembler is based of GNU GAS, it is from a very old version (1.38) which does not support many of the features that the target supports test is expecting***. tested on i686 and x86_64 darwin versions using the cctools as. OK for master? thanks Iain *** I guess we

Re: [PATCH] more warning code refactoring

2021-08-19 Thread Segher Boessenkool
On Thu, Aug 19, 2021 at 12:53:16PM -0600, Martin Sebor wrote: > That said, I introduced > the variable in r243470 to begin with and I consider its removal > a trivially correct and appropriate part of refactoring. It is not a refactoring. It changes behaviour. Segher

[Bug c++/101982] [7.5]function parameter should not accept auto as placeholder-type-specifier

2021-08-19 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101982 --- Comment #3 from qingzhe huang --- Thank you for clarifications!

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

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 53101, which changed state. Bug 53101 Summary: Recognize casts to sub-vectors https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53101 What|Removed |Added

[Bug target/53101] Recognize casts to sub-vectors

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

Re: [PATCH 1/6] rs6000: Support SSE4.1 "round" intrinsics

2021-08-19 Thread Segher Boessenkool
Hi! On Thu, Aug 19, 2021 at 01:16:16PM -0500, Paul A. Clarke wrote: > On Wed, Aug 18, 2021 at 05:46:58PM -0500, Segher Boessenkool wrote: > > There are __builtin_set_fpscr_rn and friends, please use those, those > > are optimised for any platform. > > I do. (Unless I missed an opportunity

[Bug go/101246] gccgo cross-compiler targeting arm fails to build with gcc 11. Missing structs in runtime.inc. Using uclibc-ng

2021-08-19 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101246 --- Comment #6 from Lance Fredrickson --- So I compared runtime.inc in gcc 10.3 and gcc 11.1, and they have quite a bit different. I tried using the runtime.inc file from 10.3 in 11.1, and it does allow it to finish compiling, and I appear to

[Bug go/95389] Kubernetes build fails because of mangled PkgPath

2021-08-19 Thread ulrich.teichert at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95389 --- Comment #6 from Ulrich Teichert --- After running out of disk space during stage2 of the gcc build, I now have a gcc 11.2.0 compiled for sparc64: ristkon:~> gcc -v Using built-in specs. COLLECT_GCC=gcc

[Bug tree-optimization/64322] More optimize opportunity for constant folding

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

[Bug tree-optimization/86723] not optimizing with bswap, that casts to int aftwards

2021-08-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86723 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug target/87627] GCC generates rube-goldberg machine for trivial tail call on 32-bit x86

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

Re: [PATCH] PR fortran/100950 - ICE in output_constructor_regular_field, at varasm.c:5514

2021-08-19 Thread Harald Anlauf via Gcc-patches
Hi Tobias, > I am inclined to say that the Intel compiler has a bug by not > accepting it – but as written before, I regard sub-string length > (esp. with const expr) inquiries as an odd corner case which > is unlikely to occur in real-world code. ok. > Still does not work – or rather:

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

2021-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 --- Comment #12 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d881460deb1f0bdfc3e8fa2d391a03a9763cbff4 commit r12-3033-gd881460deb1f0bdfc3e8fa2d391a03a9763cbff4 Author: Harald Anlauf Date:

[PATCH] Jit, testsuite: Amend expect processing to tolerate more platforms.

2021-08-19 Thread Iain Sandoe
Hi, Preface: this is the last patch for now in my series - with this applied Darwin reports the same results as Linux (at least, for modern x86_64 platform versions). Note a) that the expect expression in {fixed}host_execute seems to depend on the assumption that the dejagnu.h output is used

Re: [PATCH] more warning code refactoring

2021-08-19 Thread Martin Sebor via Gcc-patches
On 8/19/21 9:36 AM, Segher Boessenkool wrote: On Thu, Aug 19, 2021 at 09:03:44AM -0600, Martin Sebor via Gcc-patches wrote: On 8/18/21 11:56 PM, Kewen.Lin wrote: To get rid of GTY variable alloc_object_size_limit looks suspicious, maybe tree objects returned by alloc_max_size after the change

[PATCH] configure: Allow a host makefile fragment to override PIE flag settings.

2021-08-19 Thread Iain Sandoe
Hi, This concerns the settings of flags (using the host makefile fragment) for tools that will run on the host. At present the (no)PIE flags are computed in gcc/configure but it is not possible to override them (either from higher level Makefile or from the command line). Secondly the ordering

[Bug other/101984] [12 Regression] gimple-ssa-warn-access memory leak

2021-08-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101984 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[committed] release ranger instance in pass_waccess (PR 101984)

2021-08-19 Thread Martin Sebor via Gcc-patches
The changes in last night's patch to the new access warning pass (somewhat prematurely) included a call to enable_ranger() with no matching call to disable_ranger(). The two calls must be paired in order for the latter to release resources allocated by the former, otherwise the resources leak

[Bug other/101984] [12 Regression] gimple-ssa-warn-access memory leak

2021-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101984 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:81501087758cb0c32e555858cf367e449a09246e commit r12-3031-g81501087758cb0c32e555858cf367e449a09246e Author: Martin Sebor Date:

[Bug tree-optimization/86723] not optimizing with bswap, that casts to int aftwards

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

[pushed] Objective-C, NeXT runtime: Correct the default for fobjc-nilcheck.

2021-08-19 Thread Iain Sandoe
Hi, It is intended that the default for the NeXT runtime at ABI 2 is to check for nil message receivers. This updates this to match the documented behaviour and to match the behaviour of the system tools. tested on x86_64, i686-darwin, x86_64-linux, pushed to master, thanks Iain Signed-off-by:

[Bug tree-optimization/13563] if-conversion not agressive enough

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13563 Andrew Pinski changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment #9

[Bug tree-optimization/85971] Really Simple "If" with one function call inside is not optimized efficiently

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

[Bug tree-optimization/85987] cstore does not work with a store in one of the branches

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85987 --- Comment #2 from Andrew Pinski --- We are now able to handle the testcase in comment #0.

[Bug c/101985] New: vec_cpsgn parameter order

2021-08-19 Thread simb611alt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101985 Bug ID: 101985 Summary: vec_cpsgn parameter order Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

Re: [committed] Drop stabs support from h8300 and v850 ports

2021-08-19 Thread Gerald Pfeifer
On Thu, 19 Aug 2021, Jeff Law via Gcc-patches wrote: > Whee, two more ports dropping stabs. Committed to the trunk. Are you saying you're on a mission to stab wodden stakes into stabs? SCNR :-) Gerald

Re: [PATCH] aix: handle 64bit inodes for include directories

2021-08-19 Thread Jeff Law via Gcc-patches
On 6/28/2021 1:16 AM, CHIGOT, CLEMENT wrote: On 6/23/2021 12:53 AM, CHIGOT, CLEMENT via Gcc-patches wrote: Hi David, Did you have a chance to take look at this patch ? Thanks, Clément +DavidMalcolm Can you review this patch when you have a moment? Thanks, David On Mon, May 17, 2021

[Bug target/82582] not quite optimal code for -2*x*y - 3*z: could use one less LEA for smaller code without increasing critical path latency for any input

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

[Bug target/82582] not quite optimal code for -2*x*y - 3*z: could use one less LEA for smaller code without increasing critical path latency for any input

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

[committed] Drop stabs support from h8300 and v850 ports

2021-08-19 Thread Jeff Law via Gcc-patches
Whee, two more ports dropping stabs. Committed to the trunk. Jeff commit 18e9e7db7afb8635316414b560c10852db13c4c1 Author: Jeff Law Date: Thu Aug 19 14:15:03 2021 -0400 Drop stabs from h8/300 and v850 ports gcc/ * config.gcc (h8300-*-elf*): Do not include dbxelf.h.

Re: [PATCH 1/6] rs6000: Support SSE4.1 "round" intrinsics

2021-08-19 Thread Paul A. Clarke via Gcc-patches
On Wed, Aug 18, 2021 at 05:46:58PM -0500, Segher Boessenkool wrote: > On Mon, Aug 09, 2021 at 03:23:50PM -0500, Paul A. Clarke wrote: > > Suppress exceptions (when specified), by saving, manipulating, and > > restoring the FPSCR. Similarly, save, set, and restore the floating-point > > rounding

  1   2   3   >