[PATCH v2] [FYI] Deduplicate explicitly-sized types (was: Re: [FYI] map packed field type to unpacked for debug info)

2024-07-03 Thread Alexandre Oliva
On Jun 13, 2024, Alexandre Oliva wrote: > I'll be back with an improved version. When make_type_from_size is called with a biased type, for an entity that isn't explicitly biased, we may refrain from reusing the given type because it doesn't seem to match, and then proceed to create an exact cop

Re: [FYI] map packed field type to unpacked for debug info

2024-06-13 Thread Alexandre Oliva
On Jun 11, 2024, Alexandre Oliva wrote: > Regstrapped on x86_64-linux-gnu. Pre-approved by Eric. I'm checking it > in. ... I've just reverted it. It turned out to be too easy to be good :-( There were various regressions, including infinite loops in the compiler to GDB regressions yet to be i

[FYI] map packed field type to unpacked for debug info

2024-06-11 Thread Alexandre Oliva
We create a distinct type for each field in a packed record with a gnu_size, but there is no distinct debug information for them. Use the same unpacked type for debug information. Regstrapped on x86_64-linux-gnu. Pre-approved by Eric. I'm checking it in. for gcc/ada/ChangeLog * gc