[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug Compiler/27488] New: ICE in division where array is bound by size
From: |
morten at linderud dot pw |
Subject: |
[Bug Compiler/27488] New: ICE in division where array is bound by size |
Date: |
Sun, 28 Feb 2021 21:14:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27488
Bug ID: 27488
Summary: ICE in division where array is bound by size
Product: poke
Version: unspecified
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: Compiler
Assignee: unassigned at sourceware dot org
Reporter: morten at linderud dot pw
CC: poke-devel at gnu dot org
Target Milestone: ---
Created attachment 13271
--> https://sourceware.org/bugzilla/attachment.cgi?id=13271&action=edit
Compiler error
Plain text struct failing:
type EFI_SIGNATURE_LIST =
struct {
EFI_GUID SignatureType;
uint32 SignatureListSize;
uint32 SignatureHeaderSize;
offset<uint32,B> SignatureSize;
uint8[SignatureHeaderSize] SignatureHeader;
type Signature =
struct {
EFI_GUID SignatureOwner;
uint8[SignatureSize - SignatureOwner'size] SignatureData;
};
Signature[SignatureListSize/SignatureSize] Signatures;
};
Signature[SignatureListSize/SignatureSize] Signatures; <- this part fails
because SignatureListSize is not set as offset<uint32,B>.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug Compiler/27488] New: ICE in division where array is bound by size,
morten at linderud dot pw <=