[all-commits] [llvm/llvm-project] 89e4d9: [Flang] Fix crash with parametrized derived types ...
Carlos Seo via All-commits
all-commits at lists.llvm.org
Fri Aug 1 07:20:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89e4d9f905f7abbf5803c011ab6fba26796ced30
https://github.com/llvm/llvm-project/commit/89e4d9f905f7abbf5803c011ab6fba26796ced30
Author: Carlos Seo <carlos.seo at linaro.org>
Date: 2025-08-01 (Fri, 01 Aug 2025)
Changed paths:
M flang/lib/Lower/Mangler.cpp
A flang/test/Lower/parametrized-derived-types.f90
Log Message:
-----------
[Flang] Fix crash with parametrized derived types usage (#150289)
The current mangleName implementation doesn't take a FoldingContext,
which prevents the proper evaluation of expressions containing parameter
references to an integer constant. Since parametrized derived types are
not yet implemented, the compiler will crash there in some cases (see
example in issue #127424).
This is a workaround so that doesn't happen until the feature is
properly implemented.
Fixes #127424
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