http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51007
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |jakub at redhat dot com --- Comment #6 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-07 12:42:26 UTC --- (In reply to comment #4) > So the mixture of different sized types in union is leading to this behavior. > You can see that result becomes ok, if you are specifying to union/struct the > attribute gcc_struct. Indeed, I confirm that your patch fixes the issue (and the original Fortran testcase reported on comp.lang.fortran now works fine). Both Tobias and Jakub (Cc'ed) are libquadmath maintainers and can approve it.