This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47592] Multiple function invocation with ALLOCATE (SOURCE=REPEAT('x',bar()))
- 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: Thu, 3 Feb 2011 21:09:57 +0000
- Subject: [Bug fortran/47592] Multiple function invocation with ALLOCATE (SOURCE=REPEAT('x',bar()))
- Auto-submitted: auto-generated
- References: <bug-47592-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47592
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.02.03 21:09:44
AssignedTo|unassigned at gcc dot |pault at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-03 21:09:44 UTC ---
Created attachment 23240
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23240
A mostly cooked patch
Thanks for posting this, Thomas.
The attached fixes the problem and regtests OK. However, it uncovers some
oddities in gfc_trans_allocate that I want to take a look at before submitting
the patch.... just to be sure.
Paul