Re: [PATCH] IPA: MODREF should skip EAF_* flags for indirect calls

2021-08-21 Thread Martin Jambor
Hi, On Fri, Aug 20 2021, Martin Liška wrote: > Hello. > > As showed in the PR, returning (EAF_NOCLOBBER | EAF_NOESCAPE) for an argument > that is a function pointer is problematic. Doing such a function call is a > clobber. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests

[r12-3052 Regression] FAIL: gcc.dg/analyzer/malloc-callbacks.c (test for excess errors) on Linux/x86_64

2021-08-21 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, e92d0ff6b5e6d4b95c04fc3e326d40efeb136086 is the first bad commit commit e92d0ff6b5e6d4b95c04fc3e326d40efeb136086 Author: Ankur Saini Date: Thu Aug 19 19:54:56 2021 +0530 analyzer: Fix PR analyzer/101980 caused FAIL: gcc.dg/analyzer/malloc-callbacks.c (test for excess err

[committed] hppa: Don't warn when alignment of global common data exceeds maximum alignment

2021-08-21 Thread John David Anglin
On 32-bit hppa*-hpux*, global common data is used for one-only support. The warning in pa_asm_output_aligned_common() causes numerous tests in the libstdc++-v3 to fail due to excess errors. The only code that requires more alignment is the ldcw semaphore instruction, so I believe we don't need

RE: [PATCH][MIPS] Remove TARGET_ASM_FUNCTION_RODATA_SECTION

2021-08-21 Thread Dragan Mladjenovic via Gcc-patches
From: Jeff Law [mailto:jeffreya...@gmail.com] Sent: 19 August 2021 18:03 To: Dragan Mladjenovic ; gcc-patches@gcc.gnu.org Cc: Andrew Pinski Subject: Re: [PATCH][MIPS] Remove TARGET_ASM_FUNCTION_RODATA_SECTION > On 8/19/2021 6:11 AM, Dragan Mladjenovic wrote: > > Since 'Remove obsolete IRIX 6

[committed] hppa: Don't build libgcc_stub.a on hppa[12]*-*-hpux11*

2021-08-21 Thread John David Anglin
libgcc_stub.a is not needed on hppa[12]*-*-hpux11*, so don't build it. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk. Dave --- Don't build libgcc_stub.a on hppa[12]*-*-hpux11*. 2021-08-21 John David Anglin libgcc/ChangeLog: * config.host: Remove extra_parts from hppa[12]*-*-h

[COMMITTED] MAINTAINERS: Add myself for write after approval

2021-08-21 Thread Dragan Mladjenovic via Gcc-patches
2021-08-21 Dragan Mladjenovic ChangeLog: * MAINTAINERS: Add myself for write after approval. --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7b03fc25f4d..b8d5f16f85f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -531,6 +531,7 @@ Bing

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

2021-08-21 Thread Eric Gallager via Gcc-patches
On Fri, Aug 20, 2021 at 3:53 AM Tobias Burnus wrote: > > On 20.08.21 09:34, Richard Biener via Fortran wrote: > > > On Thu, Aug 19, 2021 at 10:10 PM Iain Sandoe wrote: > >> libm is not needed on Darwin, and should not be added unconditionally > >> even if that is (mostly) harmless since it is a s

[Patch] gcc.c-torture/execute: Fix tmpnam issue on Windows

2021-08-21 Thread Jonathan Yong via Gcc-patches
Attached patch OK? 2021-08-22 Jonathan Yong <10wa...@gmail.com> gcc/testsuite/ChangLog: * gcc.c-torture/execute/gcc_tmpnam.h: Fix tmpnam case on Windows where it can return a filename with "\" to indicate current directory. * gcc.c-torture/execute/fprintf-2.c:

[PATCH v2] Allow explicitly specifying the thread model for runtime libs

2021-08-21 Thread John Ericson
Previously, they always scraped the thread mode from `$CC -v', now, that is the default but one may pass `--with-threads=MODEL` to be explicit instead. One use-case is bootstraping with a shorter critical path. The traditionally route was to build an entire "static stage" GCC, build libc, and then