This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/58754] [4.8/4.9/5 Regression] ICE on allocating character array with source
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 11 Apr 2015 21:50:48 +0000
- Subject: [Bug fortran/58754] [4.8/4.9/5 Regression] ICE on allocating character array with source
- Auto-submitted: auto-generated
- References: <bug-58754-4 at http dot gcc dot gnu dot org/bugzilla/>
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!