https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52658
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Summary|RECORD_TYPE in generic tree |struct/union types don't
|dump file with non-complete |print out all of the field
|FIELD_DECL tree node |with
| |-fdump-tree-original-raw
Last reconfirmed| |2024-03-17
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Simplified testcase:
```
struct a
{ int field1;int field2;};
int f(struct a b)
{
return b.field1;
}
```
Only the first field1 shows up in the dump even though `struct a` contains
field2 too.