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

--- Comment #9 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 63876
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63876&action=edit
Proposed patch: fix mixed ENTRY union ABI under -ff2c

Under -ff2c, default REAL entries return C double but the mixed ENTRY master
union was built from the Fortran result symbol type (real kind=4), causing a
GIMPLE verifier failure. This patch builds the union fields from the ABI return
type instead. Regtested on x86_64-pc-linux-gnu.

Reply via email to