[Bug fortran/34640] ICE when assigning item of a derived-component to a pointer

chester.gingrich at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 24 21:05:00 GMT 2016


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

--- Comment #27 from chester.gingrich at gmail dot com ---
Created attachment 38089
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38089&action=edit
workaround (of sorts)

This is how I get around this issue.

Note that I don't usually have to explicitly provide the dimensions
in my application.  The workaround is shown applied to the demo case.

I simply wrote a "do nothing" function, "remap" that does the pointer
assignment.

I hope someone can make use of this workaround to figure out a real solution!


More information about the Gcc-bugs mailing list