Re: [PATCH] or1k: Fix struct return test

2025-06-02 Thread Stafford Horne
On Sun, Jun 01, 2025 at 09:17:45PM -0600, Jeff Law wrote: > > > On 5/31/25 12:03 AM, Stafford Horne wrote: > > In or1k structs are returned from functions using the memory address > > passed in r3. In the current version of GCC the struct stores changed > > from r11 (the return value) to r3 the

Re: [PATCH] or1k: Fix struct return test

2025-06-01 Thread Jeff Law
On 5/31/25 12:03 AM, Stafford Horne wrote: In or1k structs are returned from functions using the memory address passed in r3. In the current version of GCC the struct stores changed from r11 (the return value) to r3 the incoming memory address. Both of are valid. Adjust the test to match wh

[PATCH] or1k: Fix struct return test

2025-05-30 Thread Stafford Horne
In or1k structs are returned from functions using the memory address passed in r3. In the current version of GCC the struct stores changed from r11 (the return value) to r3 the incoming memory address. Both of are valid. Adjust the test to match what GCC is producing now. gcc/testsuite/ChangeLo