https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118909
--- Comment #1 from LXYan ---
output with address sanitizer:
```
……
test: 0x7f61e971f800
frame address: 0x7f61f8700dd0
test: 0x7f61f7f04820
frame address: 0x7ffdff0f7020
test: 0x7ffdfe8faa60
Allocated 1046695 doubles
test: 0x7f61f4709800
Addr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118909
Bug ID: 118909
Summary: OpenMP reduction array is always allocated on stack,
cause stack overflow with large array reduction.
Product: gcc
Version: 14.2.1
Status: UNCONF
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118730
Bug ID: 118730
Summary: Final subroutine of derived type variable that is
declared but not used is not called
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED