[committed] hppa: Fix handling of large arguments passed by value

2023-04-15 Thread John David Anglin
This change revises pa_function_arg_size to return values that fit in an int. For a number of reasons, updating pa_function_arg, pa_arg_partial_bytes, etc, to handle handle HOST_WIDE_INT values didn't seem useful. Currently, gcc limits the size of arguments passed by value to 1 GB. The PA prolog

Re: [Ada] Fix PR bootstrap/109510

2023-04-15 Thread Eric Botcazou via Gcc-patches
> Tested on Aarch64/Linux by Richard S. (thanks!) and on x86-64/Linux by me, > and applied on the mainline. It turns out that it slightly broke the x86/Linux compiler, which is not yet an acceptable trade-off. Adjusted like this, tested on x86[_64]/Linux, this should not change anything for Aar

[pushed] c++: constexpr aggregate destruction [PR109357]

2023-04-15 Thread Jason Merrill via Gcc-patches
Tested x86_64-pc-linux-gnu, applying to trunk. -- 8< -- We were assuming that the result of evaluation of TARGET_EXPR_INITIAL would always be the new value of the temporary, but that's not necessarily true when the initializer is complex (i.e. target_expr_needs_replace). In that case evaluating

[PATCH] build: Use -nostdinc generating macro_list [PR109522]

2023-04-15 Thread Xi Ruoyao via Gcc-patches
This prevents a spurious message building a cross-compiler when target libc is not installed yet: cc1: error: no include path in which to search for stdc-predef.h As stdc-predef.h was added to define __STDC_* macros by libc, it's unlikely the header will ever contain some bad definitions w/o

[r13-7179 Regression] FAIL: gcc.dg/vect/vect-simd-clone-18f.c scan-tree-dump-times vect "[\\n\\r] [^\\n]* = foo\\.simdclone" 4 on Linux/x86_64

2023-04-15 Thread haochen.jiang via Gcc-patches
On Linux/x86_64, 040e64b09d4422c7d3c51bee098043782112b924 is the first bad commit commit 040e64b09d4422c7d3c51bee098043782112b924 Author: Richard Biener Date: Fri Apr 14 11:35:58 2023 +0200 Fix vect-simd-clone testcase dump scanning caused FAIL: gcc.dg/vect/vect-simd-clone-16f.c scan-tre

Re: [PATCH] if-conv: Small improvement for expansion of complex PHIs [PR109154]

2023-04-15 Thread Richard Biener via Gcc-patches
> Am 15.04.2023 um 10:30 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > The following patch is just a dumb improvement, gets rid of 2 unnecessary > instructions on both the PR's original testcase and on the two reduced ones, > both on -mcpu=neoverse-v1 and -mavx512f. > > The thing is

[PATCH] if-conv: Small improvement for expansion of complex PHIs [PR109154]

2023-04-15 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch is just a dumb improvement, gets rid of 2 unnecessary instructions on both the PR's original testcase and on the two reduced ones, both on -mcpu=neoverse-v1 and -mavx512f. The thing is, if we have args_len (args_len >= 2) unique PHI arguments, we need only args_len - 1 CON