[Bug libfortran/77828] [7 Regression] Linking gfortran-7 compiled program with libgfortran of 5.x allowed but crashes when containing write to string

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 3 17:02:00 GMT 2016


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2016-10-03
                 CC|                            |jvdelisle at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to vehre from comment #0)
> Created attachment 39737 [details]
> Standalone code as given in the description.
> 
> Compiling this example:
> 
> character(len=100) :: gr
> integer :: i, j
> 
> i =42
> j =43
> write (gr,"(2(a,i2))") "Greetings from i ",i," of ", j
> print *,gr
> 

I am pretty sure this is related to the dtio internal units patch. I think I
need to bump the symbol versions for the basic read and write statements, the
changes to internal units was fairly intrusive.

So this one is mine. Thanks for report.


More information about the Gcc-bugs mailing list