Re: [PATCH] testsuite: Use int size instead of alignment for pr116357.c

2025-04-18 Thread Jeff Law
On 1/29/25 11:35 AM, Dimitar Dimitrov wrote: The test case assumes that alignof(int)=sizeof(int). But for some targets this is not valid. For example, for PRU target, alignof(int)=1 but sizeof(int)=4. Fix the test case to align to twice the size of int, as the expected dg-error messages sug

[PATCH] testsuite: Use int size instead of alignment for pr116357.c

2025-01-29 Thread Dimitar Dimitrov
The test case assumes that alignof(int)=sizeof(int). But for some targets this is not valid. For example, for PRU target, alignof(int)=1 but sizeof(int)=4. Fix the test case to align to twice the size of int, as the expected dg-error messages suggest. This patch fixes the test failures for PRU