This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/58754] [4.8/4.9/5 Regression] ICE on allocating character array with source


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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 35301
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35301&action=edit
A preliminary patch

This fixes the problem. However, it will produce multiple evaluations of
function results and expressions. I will introduce a temporary to cover those
cases.

Paul

PS It's a pity I did not clock this before the RC!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]