diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2025-01-29 19:43:15 +0200 |
---|---|---|
committer | Dimitar Dimitrov <dimitar@dinux.eu> | 2025-04-18 17:53:14 +0300 |
commit | 6b635f84c4e973c873cf49f99d87b0fe22d3f5f5 (patch) | |
tree | 4235b20667a0f2cfdf71e98e900278721e5d66d4 /libjava/gnu/java/security | |
parent | 1f7ac78efa622e19f38d6a45e857941b3dea1437 (diff) | |
download | gcc-6b635f84c4e973c873cf49f99d87b0fe22d3f5f5.zip gcc-6b635f84c4e973c873cf49f99d87b0fe22d3f5f5.tar.gz gcc-6b635f84c4e973c873cf49f99d87b0fe22d3f5f5.tar.bz2 |
testsuite: Use int size instead of alignment for pr116357.c
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 target.
gcc/testsuite/ChangeLog:
* gcc.dg/pr116357.c: Use sizeof(int) instead of alignof(int).
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'libjava/gnu/java/security')
0 files changed, 0 insertions, 0 deletions