Re: [PATCH] libstdc++-v3: Check for TLS support on mingw

2021-08-31 Thread Jonathan Yong via Gcc-patches
On 8/31/21 9:02 AM, Jonathan Wakely wrote: It looks like my questions about this patch never got an answer, and it never got applied. Could somebody say whether TLS is enabled for native *-*-mingw* builds? If it is, then we definitely need to add GCC_CHECK_TLS to the cross-compiler config too.

[PATCH] warn for more impossible null pointer tests

2021-08-31 Thread Martin Sebor via Gcc-patches
A Coverity run recently uncovered a latent bug in GCC that GCC should be able to detect itself: comparing the address of a declared object for equality to null, similar to: int f (void) { int a[2][2]; return &a == 0; } GCC issues -Waddress for this code, but the bug Coverity found

Re: [PATCH] Set bound/cmp/control for until wrap loop.

2021-08-31 Thread Jiufu Guo via Gcc-patches
Richard Biener writes: On Tue, 31 Aug 2021, guojiufu wrote: On 2021-08-30 20:02, Richard Biener wrote: > On Mon, 30 Aug 2021, guojiufu wrote: > >> On 2021-08-30 14:15, Jiufu Guo wrote: >> > Hi, >> > >> > In patch r12-3136, niter->control, niter->bound and >> > niter->cmp are >> > derived f

Re: [PATCH] Fix arm target build with inhibit_libc

2021-08-31 Thread Sebastian Huber
On 30/08/2021 14:01, Sebastian Huber wrote: Do not declare abort in "libgcc/unwind-arm-common.inc" since it is already provided by "tsystem.h". It fixes the following build error: In file included from libgcc/config/arm/unwind-arm.c:144: libgcc/unwind-arm-common.inc:55:24: error: macro "abort"

Re: [PATCH] Set bound/cmp/control for until wrap loop.

2021-08-31 Thread Jiufu Guo via Gcc-patches
在 2021/9/1 上午11:30, Jiufu Guo via Gcc-patches 写道: Richard Biener writes: On Tue, 31 Aug 2021, guojiufu wrote: On 2021-08-30 20:02, Richard Biener wrote: > On Mon, 30 Aug 2021, guojiufu wrote: > >> On 2021-08-30 14:15, Jiufu Guo wrote: >> > Hi, >> > >> > In patch r12-3136, niter->control, n

Re: [PATCH] Check the type of mask while generating cond_op in gimple simplication.

2021-08-31 Thread Hongtao Liu via Gcc-patches
On Tue, Aug 31, 2021 at 7:56 PM Richard Biener wrote: > > On Tue, Aug 31, 2021 at 12:18 PM Hongtao Liu wrote: > > > > On Mon, Aug 30, 2021 at 8:25 PM Richard Biener via Gcc-patches > > wrote: > > > > > > On Fri, Aug 27, 2021 at 8:53 AM liuhongt wrote: > > > > > > > > When gimple simplifcation

Re: [Committed] Fix subreg_promoted_mode breakage on various platforms

2021-08-31 Thread Christophe LYON via Gcc-patches
On 31/08/2021 18:33, Roger Sayle wrote: My apologies for the inconvenience. My recent patch to preserve SUBREG_PROMOTED_VAR_P on (extend:HI (subreg/s:QI (reg:SI))), and other places in the middle-end, has broken the build on several targets. The change to convert_modes inadvertently used the

[PATCH] rs6000: Fix some issues in rs6000_can_inline_p [PR102059]

2021-08-31 Thread Kewen.Lin via Gcc-patches
Hi! This patch is to fix the inconsistent behaviors for non-LTO mode and LTO mode. As Martin pointed out, currently the function rs6000_can_inline_p simply makes it inlinable if callee_tree is NULL, but it's wrong, we should use the command line options from target_option_default_node as default.

[PATCH] rs6000: Remove useless toc-fusion option

2021-08-31 Thread Kewen.Lin via Gcc-patches
Hi! Option toc-fusion was intended for Power9 toc fusion previously, but Power9 doesn't support fusion at all eventually, this patch is to remove this useless option. Is it ok for trunk? BR, Kewen - gcc/ChangeLog: * config/rs6000/rs6000.opt (-mtoc-fusion): Remove. --- gcc/config/rs

<    1   2