[Bug fortran/67779] Strange ordering with strings in extended object
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 31 14:59:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67779
--- Comment #19 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 37198
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37198&action=edit
Patch to fix the problem
The attached fixes all versions of the problem and regtests OK on FC21/x86_64.
I would prefer to have cured the problem in gfc_conv_expr_descriptor but the
logic associated with setting the offset has become so convoluted that I kept
breaking things. I guess that it would be neater to have a specific gfc_se flag
and to put the patch in gfc_conv_expr_descriptor?
I'll come back to this in the next day or so.... the latter being more likely
:-)
Paul
More information about the Gcc-bugs
mailing list