Commit 18a2628
committed
Zero-initialize comm pack buffers to avoid undefined padding
When packing integer(FP_SIZE) arrays into real(FP_COMM) buffers, an
odd number of int32 values leaves padding bytes undefined in the last
double. This caused roundtrip test failures on gcc-13 where the
padding differed between pack cycles. Also fixes Intel 2025 segfault
in expand by using array(:) = transfer(..., size=size(array)) to
prevent allocatable reallocation.1 parent 1cac954 commit 18a2628
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18360 | 18360 | | |
18361 | 18361 | | |
18362 | 18362 | | |
| 18363 | + | |
| 18364 | + | |
18363 | 18365 | | |
18364 | 18366 | | |
18365 | 18367 | | |
| |||
18382 | 18384 | | |
18383 | 18385 | | |
18384 | 18386 | | |
| 18387 | + | |
| 18388 | + | |
18385 | 18389 | | |
18386 | 18390 | | |
18387 | 18391 | | |
| |||
18407 | 18411 | | |
18408 | 18412 | | |
18409 | 18413 | | |
| 18414 | + | |
| 18415 | + | |
18410 | 18416 | | |
18411 | 18417 | | |
18412 | 18418 | | |
| |||
18434 | 18440 | | |
18435 | 18441 | | |
18436 | 18442 | | |
| 18443 | + | |
| 18444 | + | |
| 18445 | + | |
18437 | 18446 | | |
18438 | 18447 | | |
18439 | 18448 | | |
| |||
0 commit comments