https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121506

--- Comment #8 from Martin Uecker <uecker at tugraz dot at> ---
But wouldn't it also set DECL_ORIGINAL_TYPE? 

This would work in C as well. And both c_simulate_record_decl and
cxx_simulate_record_decl would call set_underlying_type which seems to set it
up in this way.

Reply via email to