[all-commits] [llvm/llvm-project] 22d972: [flang] do not finalize or initialize unused entry...
jeanPerier via All-commits
all-commits at lists.llvm.org
Mon Feb 3 09:09:22 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22d9726593ef3e1f137a4f88d284747d20ec6cd9
https://github.com/llvm/llvm-project/commit/22d9726593ef3e1f137a4f88d284747d20ec6cd9
Author: jeanPerier <jperier at nvidia.com>
Date: 2025-02-03 (Mon, 03 Feb 2025)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/entry-statement-init.f90
Log Message:
-----------
[flang] do not finalize or initialize unused entry dummy (#125482)
Dummy arguments from other entry statement that are not live in the current entry have no backing storage, user code referring to them is not allowed to be reached. The compiler was generating initialization/destruction code for them when INTENT(OUT), causing undefined behaviors.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list