diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-08-25 13:31:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-08-25 13:31:38 +0200 |
| commit | df51f9c4ee0ee4ac22206513bcd60e6928b7eaeb (patch) | |
| tree | 3dcb6d17869e56dfb5ca33027b904d9ee72e6263 /gcc | |
| parent | 7d0d0eb69589ab8e0c8b036a3b642593a372b041 (diff) | |
| download | elna-df51f9c4ee0ee4ac22206513bcd60e6928b7eaeb.tar.gz | |
Fix compatible procedure cast
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/gcc/elna-generic.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc/elna-generic.cc b/gcc/gcc/elna-generic.cc index b657e92..659a8c1 100644 --- a/gcc/gcc/elna-generic.cc +++ b/gcc/gcc/elna-generic.cc @@ -130,6 +130,7 @@ namespace elna::gcc tree cast_target = get_inner_alias(expression->type_decoration, this->symbols); expression->value().accept(this); + this->current_expression = prepare_rvalue(this->current_expression); const location_t cast_location = get_location(&expression->position()); auto source_slice = resolve_underlying_type(expression->value().type_decoration) .get<boot::slice_type>(); |
