Re: [PATCH] Fix ICE in warn_dealloc_offset

2020-12-24 Thread Martin Liška
On 12/23/20 6:18 PM, Martin Sebor wrote: Thanks for looking into it!  I'm actually just testing the very same fix.  It's taken me a while to come up with a non-LTO test case but below is what I've got. All right. You were faster, anyway thank you for the fix. Martin

Re: Patch RFA: Support non-ASCII file names in git-changelog

2020-12-24 Thread Joel Brobecker
> > I have no idea who that is (if it is a single user at all, > > if it isn't any user with git write permissions). > > CCing Joel, he should help us how to set a git config > that will be used by the server hooks. I am not sure that requiring both the server and the user to agree on a non-defau

[pushed] Darwin : Adjust handling of MACOSX_DEPLOYMENT_TARGET for macOS 11.

2020-12-24 Thread Iain Sandoe
(resending, this never seemed to make it to patches@) The shift to macOS version 11 also means that '11' without any following '.x' is accepted as a valid version number. This adjusts the validation code to accept this and map it to 11.0.0 which matches what the clang toolchain appears to do.

declare getpass in analyzer/sensitive-1.c test

2020-12-24 Thread Alexandre Oliva
The getpass function is not available on all systems; and not necessarily declared in unistd.h, as expected by the sensitive-1 analyzer test. Since this is a compile-only test, it doesn't really matter if the function is defined in the system libraries. All we need is a declaration, to avoid wa

use sigjmp_buf for analyzer sigsetjmp tests

2020-12-24 Thread Alexandre Oliva
The sigsetjmp analyzer tests use jmp_buf in sigsetjmp and siglongjmp calls. Not every system that supports sigsetjmp uses the same data structure for setjmp and sigsetjmp, which results in type mismatches. This patch changes the tests to use sigjmp_buf, that is the POSIX-specific type for use w

-mno-long-calls for expected regalloc in arm/fp16-aapcs-2.c test

2020-12-24 Thread Alexandre Oliva
The implicit -mlong-calls used in our arm-vxworks configurations changes the register allocation patterns in the arm/fp16-aapcs-2.c test: r3 ends up used in the long-call sequence, and we end up using ip as a temporary, which doesn't match the expected mov patterns. This patch adds an explicit -

-mno-long-calls for arm/headmerge tests

2020-12-24 Thread Alexandre Oliva
The headmerge tests pass a constant to conditional calls, so that the same constant is always passed to a function, though it's a different function depending on which path is taken. The test checks that the constant appears only once in the assembly output, as a means to verify that the insns s

-mno-long-calls for arm/no_unique_address tests

2020-12-24 Thread Alexandre Oliva
The implicit -mlong-calls from our vxworks configurations makes the tail-call instructions differ from those expected by the no_unique_address tests in gcc.target/arm. This patch adds -mno-long-calls to the compilation commands, so that we generate the expected sequences. Regstrapped on x86_64-

-mno-long-calls for mve_libcall tests

2020-12-24 Thread Alexandre Oliva
The implicit -mlong-calls used in our vxworks configurations changes the call sequences from those expected in the mve_libcall testcases. This patch brings the test output in line with the expectations, with an explicit -mno-long-calls. Regstrapped on x86_64-linux-gnu, also tested on arm-vxwork