[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/32213] New: Integral union fields are not being written
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug default/32213] New: Integral union fields are not being written |
Date: |
Thu, 26 Sep 2024 08:55:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32213
Bug ID: 32213
Summary: Integral union fields are not being written
Product: poke
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: default
Assignee: unassigned at sourceware dot org
Reporter: jose.marchesi at oracle dot com
CC: poke-devel at gnu dot org
Target Milestone: ---
type Foo = union int<32> { int a; };
type Bar = union int<32> { Foo i; };
var b = Bar[2] @ 0x10#B;
b[1].i.a = 3;
The above write doesn't materialize in the IO space if Bar is integral. The
problem is that the mapper uses field_extractor for struct fields in integral
structs, and that results in non-mapped sub-structs!
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug default/32213] New: Integral union fields are not being written,
jose.marchesi at oracle dot com <=