Re: [PATCH] mips: Fix overaligned function arguments [PR109435]

2023-06-16 Thread YunQiang Su via Gcc-patches
om: Jovan Dmitrovic > Date: Fri, 19 May 2023 12:36:55 +0200 > Subject: [PATCH] mips: Fix overaligned function arguments [PR109435] > > This patch changes alignment for typedef types when passed as > arguments, making the alignment equal to the alignment of > original (aliase

Re: [PATCH] mips: Fix overaligned function arguments [PR109435]

2023-06-07 Thread Jovan Dmitrovic
ips: Fix overaligned function arguments [PR109435] This patch changes alignment for typedef types when passed as arguments, making the alignment equal to the alignment of original (aliased) types. This change makes it impossible for a typedef type to have alignment that is less than its size. Sig

Re: [PATCH] mips: Fix overaligned function arguments [PR109435]

2023-06-06 Thread YunQiang Su via Gcc-patches
gt; registers when invoking a function. I don't know whether > writing this testcase as an assembly check would make sense, > because that would make the testcase much less readable. I prefer an assembly check, because the test can be used even for cross building. It is not required, I guess. > __

Re: [PATCH] mips: Fix overaligned function arguments [PR109435]

2023-06-06 Thread Jovan Dmitrovic
er writing this testcase as an assembly check would make sense, because that would make the testcase much less readable. From: YunQiang Su Sent: Wednesday, May 31, 2023 12:05 PM To: Jovan Dmitrovic Cc: gcc-patches@gcc.gnu.org; Djordje Todorovic Subject: Re: [PATCH] mips:

Re: [PATCH] mips: Fix overaligned function arguments [PR109435]

2023-05-31 Thread YunQiang Su via Gcc-patches
Jovan Dmitrovic 于2023年5月29日周一 19:00写道: > > This patch changes alignment for typedef types when passed as > arguments, making the alignment equal to the alignment of > original (aliased) types. > > This change makes it impossible for a typedef type to have > alignment that is less than its size. >

[PATCH] mips: Fix overaligned function arguments [PR109435]

2023-05-29 Thread Jovan Dmitrovic
This patch changes alignment for typedef types when passed as arguments, making the alignment equal to the alignment of original (aliased) types. This change makes it impossible for a typedef type to have alignment that is less than its size. Signed-off-by: Jovan Dmitrovic gcc/ChangeLog: